Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005476/0.005476, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05604/0.05604, allocations: 10.74 MB / 26.59 MB, free: 2.266 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 235.2 MB, free: 184 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 90 kB / 285.9 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003439, allocations: 8 kB / 346.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.09952, allocations: 49.99 MB / 396.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3175/0.4171, allocations: 78.55 MB / 474.9 MB, free: 17.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4175, allocations: 73.53 kB / 475 MB, free: 16.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01212/0.4296, allocations: 4.792 MB / 479.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4296, allocations: 4 kB / 479.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.4297, allocations: 22.16 kB / 479.8 MB, free: 13.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008332/0.4305, allocations: 0.661 MB / 480.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4305, allocations: 8.031 kB / 480.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.645e-05/0.4306, allocations: 47.44 kB / 480.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.4312, allocations: 389.2 kB / 480.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4313, allocations: 27.69 kB / 481 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.4313, allocations: 40.06 kB / 481 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.4319, allocations: 442.8 kB / 481.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.432, allocations: 3.984 kB / 481.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.432, allocations: 19.02 kB / 481.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.432, allocations: 12 kB / 481.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.4325, allocations: 311.5 kB / 481.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.4343, allocations: 1.542 MB / 483.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.435, allocations: 236.2 kB / 483.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.435, allocations: 7.984 kB / 483.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.4351, allocations: 38.16 kB / 483.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.4351, allocations: 0 / 483.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005706/0.4357, allocations: 368.7 kB / 483.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.4357, allocations: 51.41 kB / 484 MB, free: 9.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.436, allocations: 362.2 kB / 484.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.436, allocations: 29.52 kB / 484.4 MB, free: 9.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4361, allocations: 238.4 kB / 484.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.4362, allocations: 100.2 kB / 484.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.4362, allocations: 3.688 kB / 484.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.4363, allocations: 359.8 kB / 485.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4365, allocations: 107.7 kB / 485.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.4367, allocations: 224.6 kB / 485.4 MB, free: 8.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.4369, allocations: 161.8 kB / 485.5 MB, free: 8.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4369, allocations: 4 kB / 485.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005346/0.4374, allocations: 452.3 kB / 486 MB, free: 8.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4375, allocations: 4 kB / 486 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4375, allocations: 7.984 kB / 486 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4375, allocations: 8 kB / 486 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.4379, allocations: 107.2 kB / 486.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4379, allocations: 4 kB / 486.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.438, allocations: 55.17 kB / 486.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.4381, allocations: 15.25 kB / 486.2 MB, free: 8.004 MB / 346.7 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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.4383, allocations: 193.3 kB / 486.4 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.4383, allocations: 39.53 kB / 486.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.4389, allocations: 351.9 kB / 486.8 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4389, allocations: 4 kB / 486.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4389, allocations: 0 / 486.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4389, allocations: 0 / 486.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.4392, allocations: 406.2 kB / 487.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4393, allocations: 0 / 487.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.4396, allocations: 79.19 kB / 487.2 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4397, allocations: 0 / 487.2 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.4397, allocations: 22.42 kB / 487.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4397, allocations: 7.938 kB / 487.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4397, allocations: 0 / 487.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.4404, allocations: 0.5338 MB / 487.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.4405, allocations: 120.6 kB / 487.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.4405, allocations: 14.36 kB / 487.9 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4407, allocations: 14.98 kB / 487.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.4407, allocations: 22.28 kB / 488 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4408, allocations: 4 kB / 488 MB, free: 6.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.441, allocations: 269.3 kB / 488.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-07/0.441, allocations: 4 kB / 488.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.4413, allocations: 70.16 kB / 488.3 MB, free: 6.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.4414, allocations: 122.9 kB / 488.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.4419, allocations: 308.6 kB / 488.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4419, allocations: 0 / 488.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.4421, allocations: 139.7 kB / 488.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.4423, allocations: 41.53 kB / 488.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4434, allocations: 0.9547 MB / 489.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4437, allocations: 0.8419 MB / 490.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000198/0.4439, allocations: 83.22 kB / 490.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.444, allocations: 35.23 kB / 490.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.444, allocations: 0 / 490.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of Templates: time 0.004978/0.4489, allocations: 2.258 MB / 493.1 MB, free: 1.555 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)