Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009075, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00634/0.006341, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.757/1.757, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0555/0.0555, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0005549/0.000555, allocations: 12.22 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 50.01 MB / 392.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.003846/0.1166, allocations: 2.037 MB / 394.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.1198, allocations: 1.416 MB / 395.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.1202, allocations: 11.88 kB / 395.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009326/0.1212, allocations: 199.4 kB / 395.9 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1217, allocations: 147.4 kB / 396 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1228, allocations: 355.3 kB / 396.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.1237, allocations: 0.5584 MB / 397 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.124, allocations: 81.05 kB / 397 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.1244, allocations: 191.1 kB / 397.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.1249, allocations: 234.9 kB / 397.5 MB, free: 176 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.125, allocations: 12 kB / 397.5 MB, free: 164 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.1253, allocations: 127.9 kB / 397.6 MB, free: 36 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.1255, allocations: 123.6 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.1258, allocations: 220.3 kB / 397.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.1265, allocations: 0.5101 MB / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1265, allocations: 0 / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1266, allocations: 0 / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1266, allocations: 4 kB / 398.4 MB, free: 15.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001697/0.1283, allocations: 0.7912 MB / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.1283, allocations: 16.03 kB / 399.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.1285, allocations: 64.12 kB / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.1292, allocations: 426.5 kB / 399.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.1293, allocations: 25.03 kB / 399.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.1293, allocations: 44.03 kB / 399.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.1306, allocations: 432.4 kB / 400.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.1306, allocations: 7.938 kB / 400.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.1308, allocations: 15.98 kB / 400.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1309, allocations: 8 kB / 400.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.1316, allocations: 314.4 kB / 400.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.1347, allocations: 1.571 MB / 402.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.1354, allocations: 235 kB / 402.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1357, allocations: 149.3 kB / 402.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.1357, allocations: 8.234 kB / 402.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/0.1363, allocations: 247.2 kB / 402.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 4.579e-06/0.1363, allocations: 3.984 kB / 402.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.00126/0.1376, allocations: 0.5598 MB / 403.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1377, allocations: 110.8 kB / 403.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/0.1384, allocations: 0.5136 MB / 403.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.1385, allocations: 29.7 kB / 404 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.1387, allocations: 275.9 kB / 404.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1388, allocations: 110.5 kB / 404.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.1389, allocations: 57.69 kB / 404.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1391, allocations: 362.8 kB / 404.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.1394, allocations: 148.8 kB / 404.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.1399, allocations: 290.2 kB / 405.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.1422, allocations: 0.9099 MB / 406.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1423, allocations: 3.938 kB / 406.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001274/0.1435, allocations: 0.6166 MB / 406.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.1436, allocations: 38.22 kB / 406.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1436, allocations: 8 kB / 406.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1437, allocations: 11.94 kB / 406.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.1441, allocations: 111.8 kB / 406.9 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.1441, allocations: 8 kB / 406.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.1444, allocations: 63.36 kB / 406.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.1445, allocations: 20 kB / 407 MB, free: 6.184 MB / 302.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,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 (59): * Single equations (assignments): 58 * 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.0004209/0.1449, allocations: 257.3 kB / 407.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.145, allocations: 51.34 kB / 407.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.1461, allocations: 0.4959 MB / 407.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1461, allocations: 0 / 407.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1461, allocations: 0 / 407.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1461, allocations: 4 kB / 407.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.1468, allocations: 457 kB / 408.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1468, allocations: 0 / 408.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.1472, allocations: 79.88 kB / 408.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1472, allocations: 0 / 408.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.1473, allocations: 19.92 kB / 408.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1473, allocations: 3.984 kB / 408.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1473, allocations: 7.938 kB / 408.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1484, allocations: 0.675 MB / 409 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1485, allocations: 128.4 kB / 409.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.1486, allocations: 19.92 kB / 409.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1488, allocations: 19.98 kB / 409.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.1489, allocations: 19.97 kB / 409.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.1489, allocations: 16 kB / 409.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003981/0.1493, allocations: 366.8 kB / 409.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1494, allocations: 4 kB / 409.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004365/0.1498, allocations: 119.8 kB / 409.7 MB, free: 3.344 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.000967/0.1508, allocations: 449.6 kB / 410.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007902/0.1516, allocations: 495 kB / 410.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1516, allocations: 7.938 kB / 410.6 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.152, allocations: 255.7 kB / 410.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1525, allocations: 77.86 kB / 410.9 MB, free: 2.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1542, allocations: 1.18 MB / 412.1 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.1547, allocations: 0.8703 MB / 413 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.155, allocations: 95.38 kB / 413.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.616e-05/0.1551, allocations: 43.42 kB / 413.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1551, allocations: 0 / 413.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Templates: time 0.01135/0.1665, allocations: 4.754 MB / 417.9 MB, free: 11.18 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) Environment - environmentSimulation: