Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001115/0.001115, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05425/0.05425, allocations: 10.75 MB / 281.1 MB, free: 10.42 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.0007898/0.00079, allocations: 12 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1354, allocations: 50 MB / 391.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003659/0.1392, allocations: 1.96 MB / 393.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1423, allocations: 1.334 MB / 394.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.1426, allocations: 11.88 kB / 394.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.1434, allocations: 191.4 kB / 395.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.1438, allocations: 135.5 kB / 395.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.145, allocations: 315.5 kB / 395.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.1457, allocations: 0.4912 MB / 396.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.146, allocations: 65.23 kB / 396.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.1463, allocations: 191.2 kB / 396.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.1467, allocations: 203.2 kB / 396.5 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.1468, allocations: 12 kB / 396.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.1471, allocations: 119.8 kB / 396.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.1473, allocations: 111.6 kB / 396.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1474, allocations: 93.45 kB / 396.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.148, allocations: 371.4 kB / 397.2 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1481, allocations: 0 / 397.2 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1481, allocations: 0 / 397.2 MB, free: 164 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1481, allocations: 0 / 397.2 MB, free: 164 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001648/0.1498, allocations: 0.7749 MB / 398 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1498, allocations: 12.03 kB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.15, allocations: 51.34 kB / 398 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.1507, allocations: 401.4 kB / 398.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1508, allocations: 79.97 kB / 398.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.1509, allocations: 31.98 kB / 398.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.1518, allocations: 395.6 kB / 398.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.1518, allocations: 7.906 kB / 398.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.1519, allocations: 15.95 kB / 398.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1519, allocations: 8 kB / 398.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.1526, allocations: 270 kB / 399.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.1553, allocations: 1.469 MB / 400.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.156, allocations: 202.8 kB / 400.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.1563, allocations: 129.1 kB / 401 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.1563, allocations: 192 / 401 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005099/0.1569, allocations: 226.8 kB / 401.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.164e-06/0.1569, allocations: 0 / 401.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001215/0.1581, allocations: 498 kB / 401.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.1582, allocations: 106.8 kB / 401.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.159, allocations: 485.8 kB / 402.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.159, allocations: 33.7 kB / 402.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.1593, allocations: 256.1 kB / 402.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1594, allocations: 90.72 kB / 402.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.1594, allocations: 4 kB / 402.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1596, allocations: 370.7 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.16, allocations: 116.7 kB / 403.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.1604, allocations: 236.9 kB / 403.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.1608, allocations: 181.5 kB / 403.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1608, allocations: 3.938 kB / 403.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001075/0.1619, allocations: 0.5024 MB / 404.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.162, allocations: 48.73 kB / 404.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.162, allocations: 0 / 404.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.162, allocations: 8 kB / 404.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.1628, allocations: 95.81 kB / 404.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.1628, allocations: 7.984 kB / 404.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.1631, allocations: 47.67 kB / 404.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.1632, allocations: 16 kB / 404.3 MB, free: 8.695 MB / 302.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003809/0.1636, allocations: 252.4 kB / 404.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.1637, allocations: 47.44 kB / 404.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1647, allocations: 447.9 kB / 405 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1647, allocations: 0 / 405 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1647, allocations: 0 / 405 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1648, allocations: 7.984 kB / 405 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.1653, allocations: 421.1 kB / 405.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1653, allocations: 0 / 405.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/0.1661, allocations: 75.89 kB / 405.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1661, allocations: 0 / 405.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.1662, allocations: 15.98 kB / 405.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1662, allocations: 3.938 kB / 405.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1662, allocations: 0 / 405.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.1675, allocations: 0.6 MB / 406.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1676, allocations: 124.5 kB / 406.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.1677, allocations: 12 kB / 406.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.1679, allocations: 19.97 kB / 406.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.168, allocations: 15.98 kB / 406.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.1681, allocations: 15.98 kB / 406.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004991/0.1686, allocations: 331.1 kB / 406.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1686, allocations: 7.938 kB / 406.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006046/0.1692, allocations: 107.8 kB / 406.7 MB, free: 6.109 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001315/0.1705, allocations: 456.9 kB / 407.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.1715, allocations: 427.6 kB / 407.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1715, allocations: 0 / 407.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.172, allocations: 227.3 kB / 407.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.1725, allocations: 70.64 kB / 407.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1744, allocations: 0.9657 MB / 408.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.1749, allocations: 0.8539 MB / 409.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000298/0.1753, allocations: 75.22 kB / 409.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1754, allocations: 39.42 kB / 409.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1754, allocations: 0 / 409.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of Templates: time 0.01198/0.1874, allocations: 4.28 MB / 414.1 MB, free: 14.76 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) Environment - environmentSimulation: