Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01056/0.01056, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001387/0.001387, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05722/0.05722, allocations: 10.74 MB / 280.6 MB, free: 1.301 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.001723/0.001724, allocations: 70.95 kB / 390.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1316, allocations: 49.03 MB / 439.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.004634/0.1363, allocations: 2.165 MB / 442 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.139, allocations: 1.029 MB / 443 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.1393, allocations: 11.88 kB / 443.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.1398, allocations: 95.33 kB / 443.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.14, allocations: 59.58 kB / 443.2 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1413, allocations: 323.3 kB / 443.5 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009452/0.1423, allocations: 0.5865 MB / 444.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.1426, allocations: 96.98 kB / 444.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.1429, allocations: 203.3 kB / 444.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.1434, allocations: 247 kB / 444.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.416e-05/0.1435, allocations: 36 kB / 444.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1438, allocations: 103.9 kB / 444.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.1441, allocations: 159.5 kB / 444.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.1444, allocations: 218.5 kB / 445.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008587/0.1453, allocations: 0.4983 MB / 445.7 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1453, allocations: 0 / 445.7 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1453, allocations: 0 / 445.7 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1453, allocations: 4 kB / 445.7 MB, free: 13.99 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002215/0.1476, allocations: 0.8473 MB / 446.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.1476, allocations: 15.89 kB / 446.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1478, allocations: 60.19 kB / 446.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.1487, allocations: 429.8 kB / 447 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.1488, allocations: 29.38 kB / 447 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1489, allocations: 48.28 kB / 447.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1502, allocations: 0.5126 MB / 447.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.1502, allocations: 11.91 kB / 447.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.1503, allocations: 16 kB / 447.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.1503, allocations: 8 kB / 447.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1514, allocations: 395.7 kB / 448 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.1556, allocations: 1.783 MB / 449.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.1565, allocations: 266.5 kB / 450.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.1568, allocations: 185 kB / 450.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.1569, allocations: 7.984 kB / 450.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006322/0.1576, allocations: 265 kB / 450.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 3.266e-06/0.1576, allocations: 4 kB / 450.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001623/0.1592, allocations: 0.5699 MB / 451.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1594, allocations: 81.11 kB / 451.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.1602, allocations: 497.7 kB / 451.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1603, allocations: 29.7 kB / 451.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.1607, allocations: 276 kB / 451.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.1609, allocations: 134.1 kB / 452.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.1611, allocations: 102.2 kB / 452.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.1614, allocations: 370.7 kB / 452.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.1619, allocations: 169.1 kB / 452.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.1625, allocations: 337.6 kB / 453 MB, free: 6.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/0.1656, allocations: 1.07 MB / 454.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.1657, allocations: 0 / 454.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001675/0.1674, allocations: 0.7186 MB / 454.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.1675, allocations: 45.69 kB / 454.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.1675, allocations: 7.938 kB / 454.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/0.1675, allocations: 8 kB / 454.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.1683, allocations: 135.7 kB / 455 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/0.1683, allocations: 11.98 kB / 455 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.1688, allocations: 67.36 kB / 455.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.1689, allocations: 24 kB / 455.1 MB, free: 4.047 MB / 334.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * 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.0005804/0.1695, allocations: 290.4 kB / 455.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1696, allocations: 47.44 kB / 455.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.1708, allocations: 0.5062 MB / 455.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1708, allocations: 4 kB / 455.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.1709, allocations: 0 / 455.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1709, allocations: 3.984 kB / 455.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.1717, allocations: 477 kB / 456.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1717, allocations: 0 / 456.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/0.1724, allocations: 87.88 kB / 456.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.1724, allocations: 4 kB / 456.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.1725, allocations: 15.98 kB / 456.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1725, allocations: 0 / 456.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1725, allocations: 0 / 456.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.1741, allocations: 0.7199 MB / 457.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1743, allocations: 132.5 kB / 457.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1744, allocations: 23.98 kB / 457.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1746, allocations: 15.98 kB / 457.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.1747, allocations: 19.95 kB / 457.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.1748, allocations: 12 kB / 457.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005217/0.1753, allocations: 335.1 kB / 457.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.565e-06/0.1753, allocations: 0 / 457.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007009/0.176, allocations: 115.8 kB / 457.9 MB, free: 1.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0003971/0.1764, allocations: 147.5 kB / 458 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1777, allocations: 0.5515 MB / 458.6 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1778, allocations: 4.312 kB / 458.6 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.1783, allocations: 283.1 kB / 458.9 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1789, allocations: 57.34 kB / 458.9 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1813, allocations: 1.094 MB / 460 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.182, allocations: 0.882 MB / 460.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.1824, allocations: 112.1 kB / 461 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1825, allocations: 31.44 kB / 461 MB, free: 13.92 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1826, allocations: 0 / 461 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Templates: time 0.01179/0.1944, allocations: 3.937 MB / 465 MB, free: 9.988 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)