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.0134/0.0134, 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.002127/0.002127, allocations: 191.2 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 1.687/1.687, allocations: 205.1 MB / 222.5 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.05718/0.05718, allocations: 10.74 MB / 280.6 MB, free: 1.289 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.001624/0.001624, allocations: 72.12 kB / 390.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 49.03 MB / 439.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.004795/0.149, allocations: 2.095 MB / 441.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.15, allocations: 406.8 kB / 442.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1501, allocations: 11.88 kB / 442.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1504, allocations: 55.45 kB / 442.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1505, allocations: 35.62 kB / 442.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.151, allocations: 187.7 kB / 442.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.1515, allocations: 471.5 kB / 443.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.1518, allocations: 84.64 kB / 443.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1519, allocations: 159.4 kB / 443.3 MB, free: 328 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1522, allocations: 167.2 kB / 443.5 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.1522, allocations: 28 kB / 443.5 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.1523, allocations: 24 kB / 443.5 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1524, allocations: 119.7 kB / 443.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1526, allocations: 170.9 kB / 443.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1531, allocations: 346.7 kB / 444.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.1531, allocations: 7.984 kB / 444.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1532, allocations: 3.938 kB / 444.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1532, allocations: 0 / 444.2 MB, free: 15.47 MB / 334.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.001597/0.1548, allocations: 0.6974 MB / 444.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002063/0.155, allocations: 19.89 kB / 444.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.1551, allocations: 44.38 kB / 444.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.1557, allocations: 379.6 kB / 445.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1557, allocations: 29.03 kB / 445.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.1558, allocations: 32.38 kB / 445.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.1566, allocations: 400.1 kB / 445.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.1566, allocations: 8.172 kB / 445.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1567, allocations: 19.94 kB / 445.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1567, allocations: 12 kB / 445.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.1573, allocations: 298.3 kB / 446.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.1598, allocations: 1.489 MB / 447.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.1603, allocations: 174.2 kB / 447.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.1606, allocations: 112.7 kB / 447.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.1606, allocations: 11.92 kB / 447.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1607, allocations: 38.56 kB / 447.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.1607, allocations: 0 / 447.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007645/0.1615, allocations: 318.1 kB / 448.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1615, allocations: 51.41 kB / 448.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.162, allocations: 401.5 kB / 448.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.162, allocations: 29.7 kB / 448.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.1622, allocations: 232 kB / 448.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.1623, allocations: 90.75 kB / 449 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.1625, allocations: 61.69 kB / 449.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.1627, allocations: 358.7 kB / 449.4 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1629, allocations: 92.17 kB / 449.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.1632, allocations: 214.1 kB / 449.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.1647, allocations: 0.5786 MB / 450.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1647, allocations: 0 / 450.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006735/0.1654, allocations: 413.1 kB / 450.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1655, allocations: 11.94 kB / 450.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1655, allocations: 4 kB / 450.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.1655, allocations: 4 kB / 450.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1659, allocations: 83.89 kB / 450.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.1659, allocations: 15.86 kB / 450.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1661, allocations: 51.52 kB / 450.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.1661, allocations: 16 kB / 450.9 MB, free: 8.391 MB / 334.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.0003603/0.1665, allocations: 191.7 kB / 451.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1665, allocations: 39.47 kB / 451.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.1672, allocations: 296.7 kB / 451.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.1672, allocations: 4 kB / 451.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1672, allocations: 0 / 451.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1672, allocations: 0 / 451.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.1678, allocations: 381.3 kB / 451.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1678, allocations: 0 / 451.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.1681, allocations: 63.89 kB / 451.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.1681, allocations: 7.938 kB / 451.8 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.1682, allocations: 12 kB / 451.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1682, allocations: 0 / 451.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1682, allocations: 0 / 451.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.1689, allocations: 466.8 kB / 452.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1691, allocations: 108.6 kB / 452.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.1691, allocations: 11.94 kB / 452.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1692, allocations: 19.98 kB / 452.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.1693, allocations: 15.97 kB / 452.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1693, allocations: 8 kB / 452.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.1696, allocations: 275.2 kB / 452.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1696, allocations: 0 / 452.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.17, allocations: 67.69 kB / 452.8 MB, free: 6.367 MB / 334.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.0001522/0.1702, allocations: 107.2 kB / 452.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.1707, allocations: 271.5 kB / 453.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1707, allocations: 0 / 453.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.1709, allocations: 111.8 kB / 453.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1713, allocations: 45.45 kB / 453.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.1727, allocations: 0.7527 MB / 454.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.1732, allocations: 0.8266 MB / 454.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.1734, allocations: 74.91 kB / 455 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.1735, allocations: 31.38 kB / 455 MB, free: 4.094 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1735, allocations: 0 / 455 MB, free: 4.094 MB / 334.1 MB Notification: Performance of Templates: time 0.006968/0.1805, allocations: 2.33 MB / 457.3 MB, free: 1.762 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (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)