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.001312/0.001312, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01024/0.01024, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.76/1.76, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05766/0.05766, allocations: 10.75 MB / 281.5 MB, free: 10.45 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.0005009/0.0005009, allocations: 19.33 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1393, allocations: 50 MB / 392.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002034/0.1413, allocations: 1.432 MB / 393.7 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.1423, allocations: 0.5893 MB / 394.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.1424, allocations: 3.938 kB / 394.3 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.1426, allocations: 19.8 kB / 394.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.1426, allocations: 23.8 kB / 394.3 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1429, allocations: 59.92 kB / 394.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1431, allocations: 163.5 kB / 394.5 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1433, allocations: 33.55 kB / 394.6 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1434, allocations: 63.7 kB / 394.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1435, allocations: 67.61 kB / 394.7 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1436, allocations: 4 kB / 394.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.1436, allocations: 8 kB / 394.7 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.1436, allocations: 19.92 kB / 394.7 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1438, allocations: 85.3 kB / 394.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.144, allocations: 123.8 kB / 394.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.144, allocations: 0 / 394.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.144, allocations: 4 kB / 394.9 MB, free: 2.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.144, allocations: 0 / 394.9 MB, free: 2.711 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001057/0.1451, allocations: 0.5078 MB / 395.4 MB, free: 2.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1451, allocations: 8.031 kB / 395.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.1452, allocations: 16.75 kB / 395.5 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1455, allocations: 239.9 kB / 395.7 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.1456, allocations: 63.95 kB / 395.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1456, allocations: 12.31 kB / 395.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.1461, allocations: 153.6 kB / 395.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1461, allocations: 3.938 kB / 395.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1461, allocations: 8 kB / 395.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1461, allocations: 4 kB / 395.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.1466, allocations: 151.9 kB / 396.1 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008452/0.1475, allocations: 456.3 kB / 396.5 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.148, allocations: 142.5 kB / 396.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.1483, allocations: 80.8 kB / 396.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1483, allocations: 4 kB / 396.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.1488, allocations: 143.2 kB / 396.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.1488, allocations: 0 / 396.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009133/0.1497, allocations: 281.2 kB / 397.2 MB, free: 292 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1497, allocations: 59.39 kB / 397.2 MB, free: 220 kB / 286.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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.15, allocations: 190.8 kB / 397.4 MB, free: 20 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.15, allocations: 25.7 kB / 397.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1501, allocations: 116.3 kB / 397.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1502, allocations: 31.55 kB / 397.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1502, allocations: 25.72 kB / 397.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1504, allocations: 322.8 kB / 397.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.1506, allocations: 75.94 kB / 398 MB, free: 15.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.151, allocations: 111.4 kB / 398.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.1515, allocations: 197 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1515, allocations: 8 kB / 398.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006319/0.1522, allocations: 258.9 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.1522, allocations: 40.67 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1522, allocations: 3.938 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1523, allocations: 4.375 kB / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1525, allocations: 36.03 kB / 398.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1525, allocations: 0 / 398.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1527, allocations: 39.89 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1527, allocations: 11.94 kB / 398.7 MB, free: 14.67 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,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.0001084/0.1528, allocations: 129.8 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1529, allocations: 15.81 kB / 398.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.1529, allocations: 21.33 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1529, allocations: 0 / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1529, allocations: 0 / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.153, allocations: 3.984 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1532, allocations: 225.7 kB / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1532, allocations: 0 / 399.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1534, allocations: 35.97 kB / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1534, allocations: 0 / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1534, allocations: 7.938 kB / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1534, allocations: 3.984 kB / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1534, allocations: 0 / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.154, allocations: 236.8 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1541, allocations: 88.92 kB / 399.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1541, allocations: 7.875 kB / 399.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1543, allocations: 35.97 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.1544, allocations: 15.97 kB / 399.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1544, allocations: 8 kB / 399.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.179e-05/0.1545, allocations: 132.1 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 0 / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1547, allocations: 27.94 kB / 399.7 MB, free: 13.6 MB / 302.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.0001103/0.1549, allocations: 103.2 kB / 399.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.1555, allocations: 231.3 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1555, allocations: 8.062 kB / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.1558, allocations: 87.88 kB / 400.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1561, allocations: 28.2 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.1568, allocations: 309.5 kB / 400.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1571, allocations: 0.7161 MB / 401.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.454e-05/0.1572, allocations: 17.08 kB / 401.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1573, allocations: 15.44 kB / 401.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1573, allocations: 0 / 401.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Templates: time 0.004245/0.1615, allocations: 1.514 MB / 402.7 MB, free: 10.51 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: