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.0009381/0.000938, allocations: 91.3 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.008952/0.008952, allocations: 170 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.819/1.819, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05748/0.05748, 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.0006021/0.0006024, allocations: 12.22 kB / 342.2 MB, free: 23.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 50.02 MB / 392.2 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003022/0.1157, allocations: 2.03 MB / 394.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1184, allocations: 1.404 MB / 395.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.1188, allocations: 11.88 kB / 395.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.1196, allocations: 199.4 kB / 395.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.12, allocations: 143.4 kB / 396 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.121, allocations: 343.5 kB / 396.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.1218, allocations: 0.5497 MB / 396.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.122, allocations: 81.05 kB / 397 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.1225, allocations: 183.2 kB / 397.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.1229, allocations: 219 kB / 397.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.123, allocations: 12 kB / 397.4 MB, free: 224 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.1233, allocations: 131.8 kB / 397.5 MB, free: 92 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1234, allocations: 107.7 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.1237, allocations: 204.4 kB / 397.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.1243, allocations: 490.5 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1244, allocations: 0 / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1244, allocations: 4 kB / 398.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1244, allocations: 0 / 398.3 MB, free: 15.29 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001392/0.1258, allocations: 0.7751 MB / 399.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1258, allocations: 8.031 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.126, allocations: 56.28 kB / 399.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.1267, allocations: 414.4 kB / 399.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.1268, allocations: 80.53 kB / 399.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/0.1269, allocations: 31.94 kB / 399.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.1276, allocations: 395.6 kB / 400.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1276, allocations: 3.906 kB / 400.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1277, allocations: 19.98 kB / 400.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1277, allocations: 8 kB / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.1282, allocations: 266 kB / 400.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.1305, allocations: 1.473 MB / 401.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.1311, allocations: 202.5 kB / 402 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.1313, allocations: 128.9 kB / 402.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1314, allocations: 3.984 kB / 402.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/0.1318, allocations: 225.8 kB / 402.4 MB, free: 11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.1318, allocations: 4 kB / 402.4 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009429/0.1327, allocations: 489.1 kB / 402.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1328, allocations: 114.8 kB / 403 MB, free: 10.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.1334, allocations: 489.8 kB / 403.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1334, allocations: 37.64 kB / 403.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1336, allocations: 252.1 kB / 403.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.1337, allocations: 98.7 kB / 403.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.1338, allocations: 45.69 kB / 403.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1339, allocations: 354.8 kB / 404.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.1342, allocations: 124.6 kB / 404.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.1345, allocations: 240.9 kB / 404.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.1361, allocations: 0.752 MB / 405.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1361, allocations: 0 / 405.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000934/0.1371, allocations: 0.5098 MB / 405.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.1372, allocations: 37.69 kB / 405.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1372, allocations: 4 kB / 405.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.1372, allocations: 4 kB / 405.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.1378, allocations: 103.8 kB / 406 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1378, allocations: 8.375 kB / 406 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.138, allocations: 47.58 kB / 406 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.1381, allocations: 20 kB / 406 MB, free: 7.105 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] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.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 ($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 (45): * Single equations (assignments): 44 * 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.0003281/0.1384, allocations: 240.3 kB / 406.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1385, allocations: 47.44 kB / 406.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/0.1393, allocations: 444.3 kB / 406.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1393, allocations: 4 kB / 406.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1393, allocations: 0 / 406.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1394, allocations: 4 kB / 406.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.1399, allocations: 433.1 kB / 407.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1399, allocations: 0 / 407.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/0.1406, allocations: 71.89 kB / 407.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1406, allocations: 0 / 407.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1406, allocations: 15.94 kB / 407.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1406, allocations: 0 / 407.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1407, allocations: 3.984 kB / 407.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1417, allocations: 0.5916 MB / 407.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1418, allocations: 128.5 kB / 408 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.1419, allocations: 11.94 kB / 408 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.142, allocations: 23.98 kB / 408 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.1421, allocations: 23.97 kB / 408.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.1422, allocations: 15.98 kB / 408.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003839/0.1426, allocations: 343 kB / 408.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1426, allocations: 0 / 408.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.143, allocations: 103.8 kB / 408.5 MB, free: 4.523 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 (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.00098/0.144, allocations: 459.3 kB / 409 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.1447, allocations: 423 kB / 409.4 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1447, allocations: 0 / 409.4 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.145, allocations: 231.3 kB / 409.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1455, allocations: 79.42 kB / 409.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1468, allocations: 1.016 MB / 410.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.1473, allocations: 0.8499 MB / 411.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.1475, allocations: 71.22 kB / 411.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.1476, allocations: 35.44 kB / 411.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1476, allocations: 0 / 411.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01018/0.1578, allocations: 4.379 MB / 416 MB, free: 13.03 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: