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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001405/0.001405, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.41/1.41, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05336/0.05336, allocations: 10.75 MB / 280.1 MB, free: 10.72 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.001266/0.001266, allocations: 64.47 kB / 339.9 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 49.03 MB / 388.9 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003482/0.1159, allocations: 1.864 MB / 390.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1171, allocations: 0.6477 MB / 391.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1172, allocations: 7.938 kB / 391.4 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1174, allocations: 19.8 kB / 391.4 MB, free: 4.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.642e-05/0.1175, allocations: 19.75 kB / 391.4 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1178, allocations: 99.88 kB / 391.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1181, allocations: 215.3 kB / 391.7 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1182, allocations: 52.61 kB / 391.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1184, allocations: 91.61 kB / 391.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1185, allocations: 83.55 kB / 392 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.1186, allocations: 12 kB / 392 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.1186, allocations: 8 kB / 392 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1187, allocations: 47.75 kB / 392 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.1188, allocations: 83.47 kB / 392.1 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.119, allocations: 183.5 kB / 392.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.119, allocations: 3.938 kB / 392.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.119, allocations: 0 / 392.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.119, allocations: 0 / 392.3 MB, free: 3.25 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.001192/0.1202, allocations: 0.5662 MB / 392.9 MB, free: 2.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1203, allocations: 8.031 kB / 392.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.1204, allocations: 28.66 kB / 392.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1207, allocations: 275.5 kB / 393.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.1208, allocations: 97.59 kB / 393.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.1209, allocations: 20.38 kB / 393.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.1214, allocations: 189.6 kB / 393.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1214, allocations: 0 / 393.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1215, allocations: 4 kB / 393.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1215, allocations: 4 kB / 393.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.122, allocations: 147.9 kB / 393.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.1231, allocations: 0.5817 MB / 394.2 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.1236, allocations: 142.5 kB / 394.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.1239, allocations: 76.8 kB / 394.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1239, allocations: 0 / 394.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/0.1244, allocations: 143.4 kB / 394.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.1244, allocations: 4 kB / 394.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008691/0.1253, allocations: 273.6 kB / 394.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1253, allocations: 51.41 kB / 394.9 MB, free: 472 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1255, allocations: 207.1 kB / 395.1 MB, free: 256 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.1256, allocations: 33.7 kB / 395.1 MB, free: 216 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1257, allocations: 140.3 kB / 395.3 MB, free: 68 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1257, allocations: 43.44 kB / 395.3 MB, free: 24 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.1258, allocations: 41.7 kB / 395.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.126, allocations: 334.8 kB / 395.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.1263, allocations: 75.94 kB / 395.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.1266, allocations: 111.3 kB / 395.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.1271, allocations: 208.9 kB / 396.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1271, allocations: 0 / 396.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006802/0.1278, allocations: 267 kB / 396.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1279, allocations: 33.7 kB / 396.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1279, allocations: 0 / 396.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1279, allocations: 4 kB / 396.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.1286, allocations: 71.88 kB / 396.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1286, allocations: 8.062 kB / 396.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1288, allocations: 35.81 kB / 396.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1289, allocations: 4 kB / 396.5 MB, free: 14.79 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,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.0001327/0.129, allocations: 133.8 kB / 396.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.129, allocations: 15.81 kB / 396.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.1291, allocations: 17.41 kB / 396.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1291, allocations: 4 kB / 396.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1291, allocations: 7.938 kB / 396.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1291, allocations: 3.984 kB / 396.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.1294, allocations: 273.4 kB / 396.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1294, allocations: 0 / 396.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.1302, allocations: 75.86 kB / 397 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.1303, allocations: 4 kB / 397 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1303, allocations: 12 kB / 397 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1303, allocations: 0 / 397 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1303, allocations: 0 / 397 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1313, allocations: 320.7 kB / 397.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.1314, allocations: 92.83 kB / 397.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1314, allocations: 4 kB / 397.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1316, allocations: 28 kB / 397.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.1317, allocations: 15.98 kB / 397.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1317, allocations: 7.984 kB / 397.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1319, allocations: 152.6 kB / 397.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1319, allocations: 4 kB / 397.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1321, allocations: 31.94 kB / 397.6 MB, free: 13.51 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 (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.0001321/0.1322, allocations: 99.25 kB / 397.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006207/0.1329, allocations: 231.3 kB / 398 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1329, allocations: 4 kB / 398 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1332, allocations: 87.86 kB / 398.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1334, allocations: 28.53 kB / 398.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.1344, allocations: 447.2 kB / 398.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1346, allocations: 0.7361 MB / 399.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1347, allocations: 17.55 kB / 399.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.1348, allocations: 19.44 kB / 399.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1348, allocations: 0 / 399.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.00677/0.1416, allocations: 1.713 MB / 401 MB, free: 10.09 MB / 302.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)