Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009742/0.009742, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.604/1.604, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05641/0.05641, allocations: 10.74 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.0005712/0.0005712, allocations: 16.22 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1293, allocations: 50.01 MB / 392.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004431/0.1338, allocations: 3.723 MB / 396 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.1375, allocations: 1.665 MB / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.1383, allocations: 59.48 kB / 397.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1386, allocations: 98.77 kB / 397.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.1392, allocations: 115 kB / 397.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.1414, allocations: 0.7842 MB / 398.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1429, allocations: 1.387 MB / 400.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.1435, allocations: 408.3 kB / 400.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.1442, allocations: 0.5127 MB / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.1448, allocations: 492.8 kB / 401.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.396e-05/0.1449, allocations: 40 kB / 401.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.145, allocations: 44 kB / 401.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1452, allocations: 214.8 kB / 401.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.1456, allocations: 0.5369 MB / 402.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.1467, allocations: 1.14 MB / 403.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1467, allocations: 0 / 403.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.1467, allocations: 4 kB / 403.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.1467, allocations: 0 / 403.4 MB, free: 10.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002577/0.1493, allocations: 1.436 MB / 404.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1494, allocations: 12.02 kB / 404.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.1496, allocations: 167 kB / 405 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1509, allocations: 0.8815 MB / 405.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.1512, allocations: 308 kB / 406.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1513, allocations: 128.2 kB / 406.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.1534, allocations: 1.117 MB / 407.5 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.1535, allocations: 11.88 kB / 407.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.1536, allocations: 44 kB / 407.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.1536, allocations: 28 kB / 407.6 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1549, allocations: 0.722 MB / 408.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.1602, allocations: 3.879 MB / 412.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.1618, allocations: 0.8487 MB / 413 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.1625, allocations: 422.3 kB / 413.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.919e-05/0.1626, allocations: 17.06 kB / 413.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.1626, allocations: 55.55 kB / 413.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.076e-06/0.1627, allocations: 0 / 413.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.002009/0.1647, allocations: 1.092 MB / 414.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.1649, allocations: 384.8 kB / 415 MB, free: 14.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.1662, allocations: 0.9067 MB / 415.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.1663, allocations: 49.7 kB / 415.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/0.1669, allocations: 0.5899 MB / 416.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.1673, allocations: 382.5 kB / 416.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.1676, allocations: 137.6 kB / 417 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.1678, allocations: 361.9 kB / 417.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.1685, allocations: 351.8 kB / 417.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.1695, allocations: 0.7603 MB / 418.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.1711, allocations: 1.08 MB / 419.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.1712, allocations: 4 kB / 419.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002232/0.1734, allocations: 1.272 MB / 420.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.1735, allocations: 11.62 kB / 420.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.1735, allocations: 12 kB / 420.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.511e-05/0.1735, allocations: 20 kB / 420.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.175, allocations: 343.5 kB / 421.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.877e-05/0.1751, allocations: 19.94 kB / 421.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.1758, allocations: 134.7 kB / 421.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.1759, allocations: 55.98 kB / 421.4 MB, free: 7.336 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * 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.000456/0.1763, allocations: 282.1 kB / 421.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1765, allocations: 130.3 kB / 421.8 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.1786, allocations: 1.053 MB / 422.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.1786, allocations: 12 kB / 422.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1787, allocations: 0 / 422.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.1787, allocations: 7.969 kB / 422.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1802, allocations: 1.07 MB / 423.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.1802, allocations: 0 / 423.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/0.1822, allocations: 311.6 kB / 424.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.1823, allocations: 4 kB / 424.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.1824, allocations: 27.98 kB / 424.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.1824, allocations: 7.938 kB / 424.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1825, allocations: 7.938 kB / 424.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.1854, allocations: 1.463 MB / 425.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.1857, allocations: 199.2 kB / 426 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.1859, allocations: 32 kB / 426 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.1865, allocations: 31.98 kB / 426 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.1867, allocations: 72.89 kB / 426.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.1868, allocations: 31.98 kB / 426.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009326/0.1877, allocations: 0.5904 MB / 426.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1877, allocations: 0 / 426.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009099/0.1886, allocations: 235.4 kB / 426.9 MB, free: 1.684 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002268/0.1889, allocations: 139.1 kB / 427.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.1909, allocations: 0.9413 MB / 428 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1909, allocations: 0.75 kB / 428 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.1916, allocations: 465.5 kB / 428.5 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2259/0.4175, allocations: 148 kB / 428.6 MB, free: 41.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.4257, allocations: 3.32 MB / 431.9 MB, free: 39.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/0.4266, allocations: 1.155 MB / 433.1 MB, free: 39.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009029/0.4275, allocations: 177.8 kB / 433.3 MB, free: 39.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.4278, allocations: 103 kB / 433.4 MB, free: 39.22 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4278, allocations: 0 / 433.4 MB, free: 39.22 MB / 318.1 MB Notification: Performance of Templates: time 0.02128/0.4491, allocations: 8.374 MB / 441.7 MB, free: 36.97 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) Environment - environmentSimulation: