Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.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.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000982/0.0009822, allocations: 98.27 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.01108/0.01108, allocations: 170 kB / 16.27 MB, free: 6.66 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.793/1.793, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0544/0.0544, allocations: 10.75 MB / 281.5 MB, free: 10.44 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.0006806/0.0006808, allocations: 12.69 kB / 342.2 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1491, allocations: 50.01 MB / 392.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002862/0.1521, allocations: 1.792 MB / 394 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1531, allocations: 406.9 kB / 394.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1533, allocations: 11.88 kB / 394.4 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1535, allocations: 31.72 kB / 394.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.1536, allocations: 27.73 kB / 394.5 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.1541, allocations: 171.7 kB / 394.7 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.1546, allocations: 443.3 kB / 395.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1549, allocations: 80.64 kB / 395.2 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.155, allocations: 127.4 kB / 395.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1553, allocations: 155.2 kB / 395.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.1553, allocations: 16 kB / 395.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.1554, allocations: 8 kB / 395.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1555, allocations: 103.6 kB / 395.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1557, allocations: 172.6 kB / 395.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.156, allocations: 326.9 kB / 396.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.156, allocations: 0 / 396.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.156, allocations: 0 / 396.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1561, allocations: 0 / 396.1 MB, free: 1.57 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001155/0.1572, allocations: 0.6353 MB / 396.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.1573, allocations: 8.031 kB / 396.7 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.1574, allocations: 52.27 kB / 396.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.1579, allocations: 355.8 kB / 397.1 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1579, allocations: 29.03 kB / 397.1 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.158, allocations: 36.38 kB / 397.2 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.1588, allocations: 396.2 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.1588, allocations: 16.03 kB / 397.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.1589, allocations: 15.94 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1589, allocations: 12 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.1595, allocations: 298.3 kB / 397.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.1617, allocations: 1.504 MB / 399.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.1622, allocations: 182.9 kB / 399.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.1624, allocations: 120.7 kB / 399.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1624, allocations: 0 / 399.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1625, allocations: 38.56 kB / 399.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.1625, allocations: 0 / 399.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006514/0.1631, allocations: 329 kB / 400.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.1632, allocations: 59.41 kB / 400.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1636, allocations: 397.5 kB / 400.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1636, allocations: 25.7 kB / 400.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1638, allocations: 236 kB / 400.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.1639, allocations: 90.73 kB / 400.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.1639, allocations: 37.7 kB / 400.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1641, allocations: 354.7 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1644, allocations: 104.3 kB / 401.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.1647, allocations: 217.9 kB / 401.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.1665, allocations: 0.6003 MB / 402.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1665, allocations: 0 / 402.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008837/0.1674, allocations: 424.7 kB / 402.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.1674, allocations: 11.94 kB / 402.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1675, allocations: 0 / 402.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.1675, allocations: 15.98 kB / 402.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.1678, allocations: 84.36 kB / 402.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.1679, allocations: 11.94 kB / 402.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1681, allocations: 51.58 kB / 402.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1681, allocations: 16 kB / 402.7 MB, free: 10.51 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003651/0.1685, allocations: 187.7 kB / 402.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.1686, allocations: 39.47 kB / 403 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.1692, allocations: 296.9 kB / 403.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1692, allocations: 0 / 403.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1692, allocations: 0 / 403.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1692, allocations: 7.984 kB / 403.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.1699, allocations: 373.3 kB / 403.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.17, allocations: 0 / 403.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.1705, allocations: 59.97 kB / 403.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.1705, allocations: 11.86 kB / 403.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1706, allocations: 8 kB / 403.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1706, allocations: 4 kB / 403.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1706, allocations: 4 kB / 403.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1717, allocations: 486.6 kB / 404.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1719, allocations: 124.5 kB / 404.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.1719, allocations: 8 kB / 404.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.1722, allocations: 15.98 kB / 404.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.1723, allocations: 15.92 kB / 404.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1723, allocations: 4 kB / 404.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.1727, allocations: 279.1 kB / 404.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1727, allocations: 0 / 404.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.1732, allocations: 59.84 kB / 404.7 MB, free: 8.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (23): * Single equations (assignments): 23 * 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.0001528/0.1733, allocations: 115.3 kB / 404.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.1738, allocations: 272.6 kB / 405.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1738, allocations: 4 kB / 405.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.174, allocations: 115.9 kB / 405.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1744, allocations: 33.55 kB / 405.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1758, allocations: 0.9278 MB / 406.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.1763, allocations: 0.8346 MB / 407 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.1765, allocations: 66.92 kB / 407 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.1766, allocations: 27.44 kB / 407.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1766, allocations: 0 / 407.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of Templates: time 0.006502/0.1831, allocations: 2.097 MB / 409.2 MB, free: 3.918 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) Environment - environmentSimulation: