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.001032/0.001032, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001284/0.001284, allocations: 187.8 kB / 16.25 MB, free: 6.621 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.474/1.474, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05413/0.05413, allocations: 10.75 MB / 280.2 MB, free: 10.62 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.001365/0.001365, allocations: 63.84 kB / 340 MB, free: 23.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 49.02 MB / 389.1 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003593/0.1073, allocations: 1.876 MB / 390.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1086, allocations: 0.6399 MB / 391.6 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1087, allocations: 11.88 kB / 391.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1089, allocations: 11.86 kB / 391.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.436e-05/0.109, allocations: 27.72 kB / 391.6 MB, free: 4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1094, allocations: 91.91 kB / 391.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.1097, allocations: 227.3 kB / 391.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1099, allocations: 60.61 kB / 392 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1101, allocations: 91.62 kB / 392.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1103, allocations: 95.53 kB / 392.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1103, allocations: 16 kB / 392.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.1103, allocations: 19.94 kB / 392.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.1104, allocations: 47.78 kB / 392.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1105, allocations: 95.44 kB / 392.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1109, allocations: 191.5 kB / 392.5 MB, free: 3.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.1109, allocations: 4 kB / 392.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1109, allocations: 0 / 392.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1109, allocations: 0 / 392.5 MB, free: 3.082 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.001396/0.1123, allocations: 0.555 MB / 393.1 MB, free: 2.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.1124, allocations: 15.89 kB / 393.1 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.1125, allocations: 28.66 kB / 393.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1129, allocations: 279.4 kB / 393.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.113, allocations: 93.67 kB / 393.5 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.1131, allocations: 20.36 kB / 393.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.1136, allocations: 185.6 kB / 393.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1136, allocations: 0 / 393.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1137, allocations: 8 kB / 393.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1137, allocations: 4 kB / 393.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.1142, allocations: 143.9 kB / 393.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1154, allocations: 0.5934 MB / 394.5 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.1159, allocations: 138.5 kB / 394.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.1162, allocations: 76.78 kB / 394.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1162, allocations: 0 / 394.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004358/0.1167, allocations: 147.4 kB / 394.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1167, allocations: 0 / 394.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008841/0.1176, allocations: 273.2 kB / 395.1 MB, free: 360 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1176, allocations: 51.41 kB / 395.1 MB, free: 296 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1178, allocations: 215.1 kB / 395.3 MB, free: 72 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1179, allocations: 25.7 kB / 395.4 MB, free: 40 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.118, allocations: 144.2 kB / 395.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1181, allocations: 39.45 kB / 395.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.1181, allocations: 41.7 kB / 395.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1183, allocations: 334.8 kB / 395.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.1186, allocations: 79.92 kB / 396 MB, free: 15.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.1189, allocations: 110.8 kB / 396.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.1194, allocations: 197 kB / 396.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1194, allocations: 0 / 396.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006439/0.12, allocations: 274.9 kB / 396.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.1201, allocations: 32.67 kB / 396.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1201, allocations: 0 / 396.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.1201, allocations: 4 kB / 396.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.1209, allocations: 79.97 kB / 396.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1209, allocations: 4 kB / 396.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1212, allocations: 35.75 kB / 396.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.1212, allocations: 11.98 kB / 396.7 MB, free: 14.61 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.0001608/0.1214, allocations: 130.9 kB / 396.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1214, allocations: 15.81 kB / 396.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/0.1215, allocations: 25.33 kB / 396.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1215, allocations: 4 kB / 396.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.1215, allocations: 0 / 396.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1216, allocations: 0 / 396.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.1219, allocations: 277.4 kB / 397.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1219, allocations: 4 kB / 397.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.1227, allocations: 79.88 kB / 397.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.1227, allocations: 4 kB / 397.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1227, allocations: 0 / 397.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1227, allocations: 0 / 397.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1228, allocations: 0 / 397.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.1236, allocations: 312.6 kB / 397.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.1236, allocations: 100.8 kB / 397.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1237, allocations: 8 kB / 397.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1239, allocations: 19.97 kB / 397.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.124, allocations: 23.97 kB / 397.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.124, allocations: 8 kB / 397.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1241, allocations: 144.6 kB / 397.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1241, allocations: 0 / 397.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1243, allocations: 35.94 kB / 397.9 MB, free: 13.35 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.0001161/0.1245, allocations: 103.8 kB / 398 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.1252, allocations: 235.2 kB / 398.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1252, allocations: 0 / 398.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.1254, allocations: 91.75 kB / 398.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1257, allocations: 32.78 kB / 398.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.1266, allocations: 441.5 kB / 398.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1269, allocations: 0.7358 MB / 399.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.127, allocations: 21.55 kB / 399.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.1271, allocations: 15.44 kB / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1271, allocations: 0 / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005257/0.1323, allocations: 1.816 MB / 401.4 MB, free: 9.812 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)