Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05633/0.05633, allocations: 10.74 MB / 281.3 MB, free: 1.293 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 70.91 kB / 391.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.08366, allocations: 49.02 MB / 440.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002506/0.08621, allocations: 1.872 MB / 442.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.08722, allocations: 0.7261 MB / 443.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.08735, allocations: 15.88 kB / 443.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.08748, allocations: 31.61 kB / 443.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/0.08759, allocations: 39.59 kB / 443.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.08798, allocations: 135.6 kB / 443.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.08824, allocations: 295.2 kB / 443.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.0884, allocations: 60.89 kB / 443.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.08853, allocations: 131.5 kB / 443.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.08867, allocations: 119.4 kB / 443.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.08872, allocations: 20 kB / 444 MB, free: 392 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.099e-05/0.08875, allocations: 31.94 kB / 444 MB, free: 360 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.08882, allocations: 51.83 kB / 444 MB, free: 308 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.0889, allocations: 103.4 kB / 444.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.08912, allocations: 231.1 kB / 444.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.08914, allocations: 0 / 444.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.08914, allocations: 0 / 444.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.08916, allocations: 0 / 444.4 MB, free: 15.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001175/0.09034, allocations: 0.6055 MB / 445 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.09038, allocations: 15.89 kB / 445 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.09046, allocations: 28.66 kB / 445 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.09088, allocations: 314.5 kB / 445.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/0.09099, allocations: 109.3 kB / 445.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.09104, allocations: 15.91 kB / 445.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.09155, allocations: 211.8 kB / 445.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.09157, allocations: 0 / 445.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.0916, allocations: 4 kB / 445.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.09161, allocations: 7.938 kB / 445.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.09216, allocations: 172.2 kB / 445.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.09352, allocations: 0.7068 MB / 446.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.09406, allocations: 174.4 kB / 446.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.09435, allocations: 96.78 kB / 446.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.09438, allocations: 3.938 kB / 446.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.09482, allocations: 175.2 kB / 447 MB, free: 13.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.09484, allocations: 0 / 447 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00101/0.09585, allocations: 328.4 kB / 447.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.09591, allocations: 51.41 kB / 447.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.09613, allocations: 240.8 kB / 447.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.09616, allocations: 33.7 kB / 447.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.09627, allocations: 144.4 kB / 447.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.09634, allocations: 51.25 kB / 447.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.09643, allocations: 49.7 kB / 447.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.09657, allocations: 338.7 kB / 448.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.0969, allocations: 95.92 kB / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.09722, allocations: 131.2 kB / 448.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.0978, allocations: 230.1 kB / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.09781, allocations: 0 / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007223/0.09854, allocations: 313.8 kB / 448.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.09859, allocations: 35.73 kB / 449 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.0986, allocations: 4 kB / 449 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.09862, allocations: 0 / 449 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.1, allocations: 123.9 kB / 449.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.1024, allocations: 2.878 MB / 452 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.1027, allocations: 35.83 kB / 452 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1027, allocations: 15.94 kB / 452 MB, free: 7.734 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1028, allocations: 133.8 kB / 452.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1029, allocations: 27.7 kB / 452.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007114/0.1036, allocations: 275.7 kB / 452.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1036, allocations: 4 kB / 452.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.1036, allocations: 0 / 452.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1036, allocations: 7.984 kB / 452.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.1047, allocations: 0.6436 MB / 453.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1048, allocations: 0 / 453.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.1061, allocations: 111.8 kB / 453.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1061, allocations: 0 / 453.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1061, allocations: 8 kB / 453.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1061, allocations: 0 / 453.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1061, allocations: 3.938 kB / 453.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1071, allocations: 458.1 kB / 453.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1072, allocations: 96.83 kB / 453.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.1072, allocations: 4 kB / 453.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1075, allocations: 31.95 kB / 453.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.1076, allocations: 23.97 kB / 453.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1076, allocations: 11.92 kB / 453.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1078, allocations: 164.5 kB / 454 MB, free: 5.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1078, allocations: 0 / 454 MB, free: 5.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1081, allocations: 47.84 kB / 454.1 MB, free: 5.602 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.1082, allocations: 99.25 kB / 454.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.1092, allocations: 298.4 kB / 454.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1092, allocations: 0 / 454.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.1095, allocations: 116 kB / 454.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1099, allocations: 28.36 kB / 454.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.111, allocations: 483.3 kB / 455.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1114, allocations: 0.7518 MB / 455.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.1115, allocations: 23.44 kB / 455.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1115, allocations: 0 / 455.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of Templates: time 0.005976/0.1175, allocations: 3.824 MB / 459.7 MB, free: 15.93 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)