Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00968/0.00968, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001202/0.001202, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.727/1.727, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06072/0.06072, allocations: 10.75 MB / 280.6 MB, free: 10.39 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.001826/0.001827, allocations: 76.11 kB / 390.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4514, allocations: 49.02 MB / 439.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.005712/0.4572, allocations: 1.81 MB / 441.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.4592, allocations: 0.6604 MB / 442.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.4594, allocations: 8.719 kB / 442.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.4596, allocations: 23.17 kB / 442.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.4598, allocations: 35.02 kB / 442.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.4603, allocations: 107 kB / 442.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.4607, allocations: 228.8 kB / 442.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.461, allocations: 58.86 kB / 442.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.4612, allocations: 96.42 kB / 442.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.4614, allocations: 92.73 kB / 443 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.4615, allocations: 17.88 kB / 443 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.4616, allocations: 16.5 kB / 443 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.4617, allocations: 52.3 kB / 443.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4618, allocations: 92.72 kB / 443.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.4622, allocations: 191.7 kB / 443.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4622, allocations: 0.6094 kB / 443.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4622, allocations: 0 / 443.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4623, allocations: 1.375 kB / 443.3 MB, free: 3.051 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001357/0.4636, allocations: 0.5645 MB / 443.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.4637, allocations: 14.11 kB / 443.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.4638, allocations: 25.97 kB / 443.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.4644, allocations: 300.1 kB / 444.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.4645, allocations: 96.48 kB / 444.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.4646, allocations: 15.42 kB / 444.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.4652, allocations: 181.4 kB / 444.5 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4653, allocations: 3.938 kB / 444.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.4653, allocations: 6.438 kB / 444.5 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4653, allocations: 10.88 kB / 444.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.4661, allocations: 140.9 kB / 444.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.4675, allocations: 0.5711 MB / 445.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.4682, allocations: 141 kB / 445.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.4686, allocations: 77.3 kB / 445.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.4687, allocations: 2.031 kB / 445.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.4692, allocations: 148.5 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 5.45e-06/0.4692, allocations: 4 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001326/0.4706, allocations: 271.9 kB / 445.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4706, allocations: 54.88 kB / 445.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.4709, allocations: 205.6 kB / 446.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4709, allocations: 30.83 kB / 446.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4711, allocations: 142.9 kB / 446.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.4711, allocations: 44.53 kB / 446.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4712, allocations: 41.41 kB / 446.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.4713, allocations: 334 kB / 446.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.4717, allocations: 74.8 kB / 446.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.4722, allocations: 114 kB / 446.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.473, allocations: 206.1 kB / 447.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.473, allocations: 1.219 kB / 447.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008823/0.4739, allocations: 274.1 kB / 447.4 MB, free: 380 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.474, allocations: 37.2 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.474, allocations: 1.094 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.474, allocations: 2.438 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.4749, allocations: 71.84 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.4749, allocations: 2.219 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.4753, allocations: 36.64 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.4753, allocations: 12.48 kB / 447.5 MB, free: 320 kB / 318.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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.4754, allocations: 132.8 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.4755, allocations: 16.41 kB / 447.7 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.4756, allocations: 22.81 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4756, allocations: 1 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4756, allocations: 1.125 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4756, allocations: 4 kB / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.476, allocations: 275.5 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.476, allocations: 0 / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.4771, allocations: 67 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.4771, allocations: 5.078 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.4771, allocations: 5.281 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4772, allocations: 5.188 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4772, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4784, allocations: 316.6 kB / 448.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.4785, allocations: 93.08 kB / 448.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.4785, allocations: 6.844 kB / 448.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.4787, allocations: 24.25 kB / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4788, allocations: 21.09 kB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4789, allocations: 6.719 kB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.479, allocations: 143.7 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.479, allocations: 5.188 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4793, allocations: 38.78 kB / 448.7 MB, free: 15.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.0001605/0.4795, allocations: 105 kB / 448.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.4802, allocations: 237.2 kB / 449 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4803, allocations: 5.312 kB / 449 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4806, allocations: 83.8 kB / 449.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4809, allocations: 31.81 kB / 449.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.482, allocations: 384 kB / 449.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4825, allocations: 0.7352 MB / 450.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.4826, allocations: 19.55 kB / 450.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.4827, allocations: 18.31 kB / 450.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4827, allocations: 4 kB / 450.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Templates: time 0.007265/0.49, allocations: 1.967 MB / 452.3 MB, free: 13.09 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1)