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.001021/0.001021, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.00127/0.00127, allocations: 168.7 kB / 15.95 MB, free: 204 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.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05411/0.05411, allocations: 10.74 MB / 281.1 MB, free: 10.54 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.0007858/0.0007862, allocations: 14.97 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1308, allocations: 50.01 MB / 391.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.001981/0.1328, allocations: 1.471 MB / 393.1 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1339, allocations: 0.6208 MB / 393.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.134, allocations: 11.88 kB / 393.7 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.1341, allocations: 15.8 kB / 393.8 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.1342, allocations: 23.73 kB / 393.8 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1345, allocations: 83.89 kB / 393.9 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1347, allocations: 203.4 kB / 394.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1349, allocations: 40.81 kB / 394.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.135, allocations: 75.64 kB / 394.2 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1352, allocations: 83.53 kB / 394.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1352, allocations: 8 kB / 394.3 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.1353, allocations: 4 kB / 394.3 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.1353, allocations: 31.89 kB / 394.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.1354, allocations: 57.58 kB / 394.4 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1355, allocations: 120 kB / 394.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1355, allocations: 0 / 394.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1355, allocations: 4 kB / 394.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1356, allocations: 7.938 kB / 394.5 MB, free: 2.891 MB / 286.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.0009941/0.1366, allocations: 0.5544 MB / 395 MB, free: 2.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1366, allocations: 8.031 kB / 395 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.1367, allocations: 27.72 kB / 395.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.137, allocations: 270.2 kB / 395.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/0.1371, allocations: 97.09 kB / 395.4 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.1372, allocations: 16 kB / 395.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.1376, allocations: 197.5 kB / 395.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1376, allocations: 0 / 395.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1377, allocations: 7.953 kB / 395.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1377, allocations: 4 kB / 395.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1382, allocations: 183.8 kB / 395.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1393, allocations: 0.586 MB / 396.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.1398, allocations: 174.4 kB / 396.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.1401, allocations: 92.75 kB / 396.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1401, allocations: 0 / 396.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.1406, allocations: 159.2 kB / 396.8 MB, free: 356 kB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1406, allocations: 0 / 396.8 MB, free: 356 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008808/0.1415, allocations: 325.3 kB / 397.2 MB, free: 24 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.1415, allocations: 51.41 kB / 397.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1417, allocations: 207.1 kB / 397.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.1418, allocations: 33.7 kB / 397.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1419, allocations: 140.2 kB / 397.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1419, allocations: 39.5 kB / 397.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.142, allocations: 4 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1421, allocations: 334.8 kB / 397.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1423, allocations: 83.94 kB / 398 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.1426, allocations: 135.2 kB / 398.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1429, allocations: 124.2 kB / 398.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1429, allocations: 0 / 398.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006212/0.1435, allocations: 295 kB / 398.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.1436, allocations: 37.7 kB / 398.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1436, allocations: 0 / 398.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1436, allocations: 7.984 kB / 398.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.1442, allocations: 83.94 kB / 398.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1443, allocations: 0 / 398.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1444, allocations: 39.88 kB / 398.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1445, allocations: 8 kB / 398.7 MB, free: 14.36 MB / 302.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,$whenCondition2,FOaw.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.1446, allocations: 141.5 kB / 398.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1447, allocations: 19.75 kB / 398.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.1447, allocations: 21.41 kB / 398.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1447, allocations: 8 kB / 398.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1447, allocations: 0 / 398.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1447, allocations: 7.922 kB / 398.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.145, allocations: 261.5 kB / 399.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.145, allocations: 0 / 399.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.1457, allocations: 87.88 kB / 399.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1457, allocations: 0 / 399.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1457, allocations: 0 / 399.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1457, allocations: 4 kB / 399.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1457, allocations: 0 / 399.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.1466, allocations: 368.5 kB / 399.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1466, allocations: 88.92 kB / 399.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.1467, allocations: 8 kB / 399.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1468, allocations: 32 kB / 399.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.1469, allocations: 19.97 kB / 399.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.147, allocations: 7.938 kB / 399.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1471, allocations: 152.6 kB / 399.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1471, allocations: 0 / 399.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1473, allocations: 39.84 kB / 400 MB, free: 13.02 MB / 302.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 (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.0001256/0.1475, allocations: 103.2 kB / 400.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.1481, allocations: 259.2 kB / 400.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1481, allocations: 4.188 kB / 400.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.1483, allocations: 95.88 kB / 400.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1486, allocations: 28.61 kB / 400.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.1495, allocations: 429.3 kB / 400.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1498, allocations: 0.7361 MB / 401.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1499, allocations: 17.55 kB / 401.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.1499, allocations: 15.44 kB / 401.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.15, allocations: 4 kB / 401.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Templates: time 0.004661/0.1546, allocations: 1.659 MB / 403.3 MB, free: 9.621 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: