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.0008085/0.0008085, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007316/0.007316, allocations: 172 kB / 16.26 MB, free: 6.613 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.828/1.828, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05739/0.05739, allocations: 10.75 MB / 281.5 MB, free: 10.68 MB / 238.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.0009517/0.0009518, allocations: 12.22 kB / 342.2 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1479, allocations: 50 MB / 392.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003258/0.1512, allocations: 1.577 MB / 393.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1531, allocations: 0.7106 MB / 394.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.1533, allocations: 7.938 kB / 394.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1535, allocations: 19.8 kB / 394.6 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1538, allocations: 35.72 kB / 394.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.1545, allocations: 123.8 kB / 394.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.155, allocations: 271.2 kB / 395 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.1553, allocations: 52.95 kB / 395 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1556, allocations: 107.4 kB / 395.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1559, allocations: 115.4 kB / 395.2 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.156, allocations: 8 kB / 395.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.1561, allocations: 8 kB / 395.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.1562, allocations: 39.83 kB / 395.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.1564, allocations: 129 kB / 395.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.1568, allocations: 203.4 kB / 395.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1568, allocations: 0 / 395.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.1568, allocations: 0 / 395.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.1568, allocations: 3.938 kB / 395.6 MB, free: 2.031 MB / 286.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.001698/0.1585, allocations: 0.5818 MB / 396.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.1586, allocations: 12.03 kB / 396.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1588, allocations: 24.66 kB / 396.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.1594, allocations: 306.4 kB / 396.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.1596, allocations: 105.3 kB / 396.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.1597, allocations: 16 kB / 396.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.1603, allocations: 223.6 kB / 396.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1603, allocations: 0 / 396.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1604, allocations: 8 kB / 396.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1604, allocations: 4 kB / 396.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.161, allocations: 196.4 kB / 397.1 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1628, allocations: 0.7342 MB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.1634, allocations: 198.4 kB / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.1637, allocations: 112.7 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1638, allocations: 0 / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.1643, allocations: 187.4 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.1643, allocations: 0 / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001207/0.1655, allocations: 377 kB / 398.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.1656, allocations: 51.41 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.1659, allocations: 228.9 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.166, allocations: 29.7 kB / 399 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1661, allocations: 152.3 kB / 399.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.1662, allocations: 55.27 kB / 399.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.1662, allocations: 29.7 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1664, allocations: 342.8 kB / 399.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.1668, allocations: 99.94 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.1672, allocations: 143.3 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.1679, allocations: 261 kB / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1679, allocations: 0 / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008247/0.1687, allocations: 338.8 kB / 400.4 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.1688, allocations: 48.8 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1688, allocations: 0 / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1688, allocations: 3.984 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.1703, allocations: 127.9 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.1728, allocations: 2.697 MB / 403.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1731, allocations: 43.94 kB / 403.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.1732, allocations: 8 kB / 403.3 MB, free: 9.801 MB / 302.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.0001724/0.1734, allocations: 129.8 kB / 403.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.1734, allocations: 23.66 kB / 403.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.1743, allocations: 311.5 kB / 403.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1743, allocations: 0 / 403.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1743, allocations: 0 / 403.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.1743, allocations: 7.984 kB / 403.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1757, allocations: 0.6775 MB / 404.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1757, allocations: 0 / 404.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.1769, allocations: 115.9 kB / 404.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.177, allocations: 0 / 404.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.177, allocations: 12 kB / 404.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.177, allocations: 0 / 404.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.177, allocations: 0 / 404.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1782, allocations: 0.4977 MB / 405.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.1783, allocations: 96.83 kB / 405.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.1783, allocations: 4 kB / 405.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1786, allocations: 36.02 kB / 405.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1787, allocations: 27.95 kB / 405.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1787, allocations: 4 kB / 405.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1789, allocations: 160.5 kB / 405.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1789, allocations: 0 / 405.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1792, allocations: 51.84 kB / 405.4 MB, free: 7.566 MB / 302.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.0001836/0.1794, allocations: 95.25 kB / 405.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1806, allocations: 335.2 kB / 405.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1806, allocations: 3.938 kB / 405.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.1809, allocations: 124 kB / 406 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1813, allocations: 28.42 kB / 406 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1824, allocations: 0.5305 MB / 406.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1828, allocations: 0.7482 MB / 407.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.1829, allocations: 25.94 kB / 407.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.183, allocations: 23.44 kB / 407.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1831, allocations: 0 / 407.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Templates: time 0.006885/0.1899, allocations: 2.268 MB / 409.6 MB, free: 3.328 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: