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.001762/0.001762, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.002015/0.002015, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05733/0.05733, allocations: 10.73 MB / 281.3 MB, free: 1.305 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.001515/0.001515, allocations: 66.03 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08933, allocations: 49.03 MB / 440.5 MB, free: 3.832 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.00237/0.09175, allocations: 1.726 MB / 442.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.09255, allocations: 0.5931 MB / 442.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.09265, allocations: 0 / 442.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.09276, allocations: 15.8 kB / 442.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.09283, allocations: 35.66 kB / 442.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.09306, allocations: 63.84 kB / 443 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.09325, allocations: 183.4 kB / 443.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.09338, allocations: 41.47 kB / 443.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.09351, allocations: 75.7 kB / 443.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.09361, allocations: 67.69 kB / 443.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.09364, allocations: 12 kB / 443.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.09367, allocations: 16 kB / 443.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.09371, allocations: 35.83 kB / 443.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.09377, allocations: 67.59 kB / 443.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.09393, allocations: 139.4 kB / 443.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.09394, allocations: 0 / 443.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09394, allocations: 0 / 443.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.09395, allocations: 0 / 443.6 MB, free: 0.75 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.0008687/0.09483, allocations: 0.5082 MB / 444.1 MB, free: 192 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.09487, allocations: 15.89 kB / 444.1 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.09493, allocations: 16.75 kB / 444.1 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.09522, allocations: 243.9 kB / 444.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.0953, allocations: 59.95 kB / 444.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.09533, allocations: 16.38 kB / 444.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.09574, allocations: 136.9 kB / 444.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.09576, allocations: 3.938 kB / 444.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.09578, allocations: 0 / 444.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.09579, allocations: 4 kB / 444.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.09628, allocations: 127.9 kB / 444.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.09705, allocations: 440.2 kB / 445.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.09752, allocations: 118.5 kB / 445.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.09776, allocations: 60.81 kB / 445.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.09778, allocations: 0 / 445.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.09814, allocations: 131.2 kB / 445.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.09815, allocations: 0 / 445.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008503/0.09901, allocations: 241.2 kB / 445.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.09906, allocations: 55.41 kB / 445.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.09922, allocations: 187 kB / 445.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.09925, allocations: 25.7 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.09934, allocations: 128.8 kB / 446.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.09937, allocations: 27.61 kB / 446.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.09944, allocations: 33.7 kB / 446.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.09955, allocations: 330.8 kB / 446.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.09981, allocations: 63.88 kB / 446.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.1001, allocations: 91.36 kB / 446.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.1006, allocations: 177 kB / 446.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1006, allocations: 0 / 446.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006051/0.1012, allocations: 234.9 kB / 447 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1013, allocations: 33.7 kB / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1013, allocations: 3.938 kB / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1013, allocations: 0 / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.1015, allocations: 31.97 kB / 447.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1015, allocations: 8.078 kB / 447.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.1017, allocations: 31.89 kB / 447.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1018, allocations: 8 kB / 447.1 MB, free: 12.94 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.0001029/0.1019, allocations: 125.8 kB / 447.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1019, allocations: 15.81 kB / 447.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.1019, allocations: 25.33 kB / 447.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.102, allocations: 0 / 447.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.102, allocations: 4 kB / 447.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.102, allocations: 0 / 447.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1022, allocations: 221.6 kB / 447.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1022, allocations: 0 / 447.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1023, allocations: 23.97 kB / 447.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1024, allocations: 0 / 447.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1024, allocations: 7.938 kB / 447.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1024, allocations: 4 kB / 447.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1024, allocations: 0 / 447.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.103, allocations: 204.8 kB / 447.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.103, allocations: 92.86 kB / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.1031, allocations: 3.938 kB / 447.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.1033, allocations: 31.91 kB / 447.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.1033, allocations: 23.91 kB / 447.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1034, allocations: 8 kB / 447.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.1035, allocations: 132.1 kB / 448 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1035, allocations: 0 / 448 MB, free: 11.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1037, allocations: 28 kB / 448 MB, free: 11.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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.0001152/0.1038, allocations: 95.34 kB / 448.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.1044, allocations: 215.1 kB / 448.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1045, allocations: 0 / 448.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.1047, allocations: 71.88 kB / 448.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.105, allocations: 24.17 kB / 448.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.1056, allocations: 289.7 kB / 448.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1059, allocations: 0.7123 MB / 449.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.1059, allocations: 23.42 kB / 449.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1059, allocations: 0 / 449.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003564/0.1095, allocations: 1.934 MB / 451.4 MB, free: 8.477 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)