Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 116.3 kB / 16.42 MB, free: 6.5 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.001139/0.001139, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05971/0.05971, allocations: 10.74 MB / 281.3 MB, free: 1.301 MB / 222.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.002211/0.002211, allocations: 70.8 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1175, allocations: 49.03 MB / 440.5 MB, free: 3.816 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003587/0.1212, allocations: 1.719 MB / 442.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1225, allocations: 0.597 MB / 442.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.1227, allocations: 7.938 kB / 442.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1228, allocations: 15.8 kB / 442.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.123, allocations: 35.66 kB / 442.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1233, allocations: 59.86 kB / 443 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1236, allocations: 183.5 kB / 443.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1238, allocations: 37.48 kB / 443.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.124, allocations: 71.7 kB / 443.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.1241, allocations: 75.67 kB / 443.3 MB, free: 1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1241, allocations: 16 kB / 443.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.1241, allocations: 15.94 kB / 443.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.1242, allocations: 35.78 kB / 443.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1242, allocations: 63.66 kB / 443.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1244, allocations: 139.4 kB / 443.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1244, allocations: 0 / 443.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1244, allocations: 0 / 443.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1244, allocations: 0 / 443.6 MB, free: 0.7344 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008292/0.1253, allocations: 0.5043 MB / 444.1 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1253, allocations: 11.89 kB / 444.1 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.1254, allocations: 16.75 kB / 444.1 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1257, allocations: 251.8 kB / 444.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.1258, allocations: 63.95 kB / 444.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1258, allocations: 12.38 kB / 444.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.1262, allocations: 137 kB / 444.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1263, allocations: 3.984 kB / 444.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1263, allocations: 3.938 kB / 444.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1263, allocations: 0 / 444.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.1268, allocations: 127.9 kB / 444.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.1276, allocations: 428.3 kB / 445.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.1281, allocations: 130.4 kB / 445.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1284, allocations: 64.8 kB / 445.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1284, allocations: 0 / 445.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.1288, allocations: 127.5 kB / 445.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.1288, allocations: 0 / 445.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008793/0.1297, allocations: 241.2 kB / 445.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1297, allocations: 59.38 kB / 445.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1299, allocations: 187.4 kB / 445.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1299, allocations: 33.7 kB / 446 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.13, allocations: 120.2 kB / 446.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1301, allocations: 27.62 kB / 446.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.1301, allocations: 33.64 kB / 446.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1303, allocations: 334.8 kB / 446.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1305, allocations: 63.94 kB / 446.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.1308, allocations: 87.38 kB / 446.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.1313, allocations: 173 kB / 446.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1313, allocations: 0 / 446.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006674/0.132, allocations: 235 kB / 447 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.1321, allocations: 29.7 kB / 447 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1321, allocations: 4 kB / 447 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1321, allocations: 3.938 kB / 447 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1323, allocations: 40 kB / 447.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1323, allocations: 3.984 kB / 447.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1325, allocations: 27.91 kB / 447.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1326, allocations: 4 kB / 447.1 MB, free: 12.93 MB / 334.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,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001114/0.1327, allocations: 121.8 kB / 447.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1327, allocations: 15.81 kB / 447.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.1328, allocations: 21.33 kB / 447.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1328, allocations: 8 kB / 447.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1328, allocations: 0 / 447.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.1329, allocations: 88.92 kB / 447.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1329, allocations: 11.92 kB / 447.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.1331, allocations: 19.97 kB / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.1332, allocations: 15.98 kB / 447.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007382/0.1339, allocations: 272.7 kB / 447.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006143/0.1346, allocations: 346.6 kB / 448 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002637/0.1348, allocations: 79.98 kB / 448.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.55e-05/0.1349, allocations: 124.1 kB / 448.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Backend: time 1.042e-06/0.1349, allocations: 0 / 448.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.1356, allocations: 229.7 kB / 448.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007176/0.1363, allocations: 0.7083 MB / 449.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Templates: time 0.005105/0.1414, allocations: 2.108 MB / 451.3 MB, free: 8.676 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1)