Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0117/0.0117, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002532/0.002532, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.1 MB / 222.5 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.05782/0.05782, allocations: 10.74 MB / 280.6 MB, free: 1.277 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.001481/0.001481, allocations: 63.95 kB / 390.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1362, allocations: 49.04 MB / 439.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003098/0.1394, allocations: 1.755 MB / 441.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1405, allocations: 0.632 MB / 442.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1406, allocations: 4 kB / 442.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1408, allocations: 19.73 kB / 442.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.1409, allocations: 35.66 kB / 442.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1412, allocations: 87.81 kB / 442.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.1415, allocations: 215.4 kB / 442.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.1417, allocations: 37.61 kB / 442.6 MB, free: 1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1418, allocations: 75.77 kB / 442.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.142, allocations: 95.52 kB / 442.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.142, allocations: 19.94 kB / 442.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.1421, allocations: 16 kB / 442.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.1421, allocations: 31.91 kB / 442.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.1422, allocations: 87.5 kB / 443 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1425, allocations: 167.4 kB / 443.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.1425, allocations: 0 / 443.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1425, allocations: 7.875 kB / 443.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1425, allocations: 4 kB / 443.1 MB, free: 0.5039 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001304/0.1438, allocations: 0.5683 MB / 443.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1439, allocations: 11.89 kB / 443.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.144, allocations: 20.75 kB / 443.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.1444, allocations: 267.6 kB / 444 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/0.1445, allocations: 71.89 kB / 444.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.1446, allocations: 12.38 kB / 444.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.1451, allocations: 196.2 kB / 444.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1451, allocations: 0 / 444.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1452, allocations: 4 kB / 444.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1452, allocations: 8 kB / 444.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.1457, allocations: 151.8 kB / 444.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1468, allocations: 0.6295 MB / 445.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.1474, allocations: 166.4 kB / 445.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1476, allocations: 80.78 kB / 445.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1477, allocations: 0 / 445.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.1481, allocations: 159.4 kB / 445.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.1481, allocations: 4 kB / 445.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009664/0.1491, allocations: 301 kB / 445.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1491, allocations: 51.41 kB / 445.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1493, allocations: 203.7 kB / 446 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1494, allocations: 33.7 kB / 446 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1495, allocations: 148.1 kB / 446.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1495, allocations: 35.45 kB / 446.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/0.1496, allocations: 45.7 kB / 446.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1498, allocations: 326.8 kB / 446.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1501, allocations: 96.11 kB / 446.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.1504, allocations: 145.6 kB / 446.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.151, allocations: 272.4 kB / 447.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.151, allocations: 3.984 kB / 447.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000784/0.1518, allocations: 340.6 kB / 447.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.1519, allocations: 73.77 kB / 447.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1519, allocations: 0 / 447.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.1519, allocations: 7.938 kB / 447.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.1523, allocations: 51.95 kB / 447.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1523, allocations: 4 kB / 447.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1526, allocations: 43.8 kB / 447.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.1526, allocations: 19.92 kB / 447.6 MB, free: 11.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001293/0.1528, allocations: 133.8 kB / 447.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.1528, allocations: 19.75 kB / 447.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.1529, allocations: 21.52 kB / 447.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1529, allocations: 0 / 447.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1529, allocations: 0 / 447.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1529, allocations: 0 / 447.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1532, allocations: 245.5 kB / 448 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1532, allocations: 4 kB / 448 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.1535, allocations: 55.83 kB / 448.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1536, allocations: 7.984 kB / 448.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1536, allocations: 0 / 448.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1536, allocations: 0 / 448.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1536, allocations: 0 / 448.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.1545, allocations: 340.7 kB / 448.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1546, allocations: 104.8 kB / 448.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1546, allocations: 8.062 kB / 448.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1548, allocations: 35.95 kB / 448.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.155, allocations: 23.97 kB / 448.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.155, allocations: 4 kB / 448.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1551, allocations: 149.5 kB / 448.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.1551, allocations: 0 / 448.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1554, allocations: 39.88 kB / 448.8 MB, free: 10.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001337/0.1555, allocations: 115.2 kB / 448.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007218/0.1562, allocations: 310.6 kB / 449.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1562, allocations: 384 / 449.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.1566, allocations: 103.8 kB / 449.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1568, allocations: 27.98 kB / 449.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.1576, allocations: 316.7 kB / 449.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.158, allocations: 0.7241 MB / 450.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.607e-05/0.1581, allocations: 17.55 kB / 450.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.1582, allocations: 27.42 kB / 450.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1582, allocations: 3.938 kB / 450.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of Templates: time 0.005769/0.1639, allocations: 2.402 MB / 452.8 MB, free: 6.312 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1)