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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.007424/0.007424, allocations: 170.9 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06151/0.06151, allocations: 10.74 MB / 26.59 MB, free: 2.23 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 235.2 MB, free: 192 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 83.33 kB / 285.9 MB, free: 10.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 346.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 50 MB / 396.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/0.4456, allocations: 78.9 MB / 475.3 MB, free: 16.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4459, allocations: 79.59 kB / 475.4 MB, free: 16.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.459, allocations: 4.49 MB / 479.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.459, allocations: 0 / 479.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4591, allocations: 10.44 kB / 479.9 MB, free: 13.56 MB / 346.7 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.0009777/0.4601, allocations: 0.6101 MB / 480.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4601, allocations: 12.02 kB / 480.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.4602, allocations: 39.25 kB / 480.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.4606, allocations: 330.1 kB / 480.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.4607, allocations: 96.27 kB / 481 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.4608, allocations: 15.5 kB / 481 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.4612, allocations: 262.8 kB / 481.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4613, allocations: 0 / 481.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4613, allocations: 3.562 kB / 481.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4613, allocations: 4 kB / 481.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.4618, allocations: 193.7 kB / 481.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.463, allocations: 0.7121 MB / 482.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.4635, allocations: 183.3 kB / 482.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4635, allocations: 4.25 kB / 482.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.4639, allocations: 176.7 kB / 482.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.4639, allocations: 0 / 482.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008806/0.4648, allocations: 359.9 kB / 482.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.4649, allocations: 55.41 kB / 482.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.465, allocations: 201.3 kB / 483.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4651, allocations: 28.77 kB / 483.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.4652, allocations: 150.3 kB / 483.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.4652, allocations: 50.48 kB / 483.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.4653, allocations: 3.812 kB / 483.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.4653, allocations: 337.8 kB / 483.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.4657, allocations: 105.2 kB / 483.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.466, allocations: 130.1 kB / 483.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.4663, allocations: 134 kB / 484 MB, free: 9.711 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4663, allocations: 0 / 484 MB, free: 9.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006831/0.467, allocations: 334.2 kB / 484.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.467, allocations: 33.69 kB / 484.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.467, allocations: 4 kB / 484.4 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4671, allocations: 0 / 484.4 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4683, allocations: 123.4 kB / 484.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.4701, allocations: 2.715 MB / 487.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.4704, allocations: 43.66 kB / 487.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.4704, allocations: 8 kB / 487.3 MB, free: 6.289 MB / 346.7 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,$whenCondition1,LLaw.TS,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.4705, allocations: 142.1 kB / 487.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.4706, allocations: 27.47 kB / 487.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/0.4712, allocations: 304.1 kB / 487.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4712, allocations: 0 / 487.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.4712, allocations: 4 kB / 487.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4712, allocations: 0 / 487.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.4722, allocations: 0.6632 MB / 488.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4723, allocations: 3.984 kB / 488.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4733, allocations: 123 kB / 488.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4733, allocations: 0 / 488.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4733, allocations: 0 / 488.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4734, allocations: 4 kB / 488.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4734, allocations: 11.94 kB / 488.5 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.4742, allocations: 497.1 kB / 489 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.4743, allocations: 100.8 kB / 489.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.4743, allocations: 3.25 kB / 489.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4746, allocations: 39.25 kB / 489.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.4747, allocations: 23.48 kB / 489.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4747, allocations: 15.55 kB / 489.2 MB, free: 4.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4748, allocations: 156.9 kB / 489.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4748, allocations: 0 / 489.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000313/0.4751, allocations: 46.39 kB / 489.4 MB, free: 4.352 MB / 346.7 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,LLaw.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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.4753, allocations: 110.7 kB / 489.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009443/0.4763, allocations: 326.8 kB / 489.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4763, allocations: 0 / 489.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.4766, allocations: 132.4 kB / 490 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.4769, allocations: 26.64 kB / 490 MB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4779, allocations: 0.5052 MB / 490.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.4781, allocations: 0.7596 MB / 491.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.4782, allocations: 25.94 kB / 491.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.4783, allocations: 23.44 kB / 491.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4783, allocations: 7.938 kB / 491.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of Templates: time 0.004877/0.4832, allocations: 2.187 MB / 493.5 MB, free: 340 kB / 346.7 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)