Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003745/0.003745, allocations: 178.4 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0595/0.0595, allocations: 10.59 MB / 18.46 MB, free: 2.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 226.5 MB, free: 0.5938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 88.69 kB / 276.9 MB, free: 15.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.245e-06, allocations: 0 / 332.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3333, allocations: 49.99 MB / 382.9 MB, free: 39.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.4412, allocations: 77.61 MB / 460.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/0.4417, allocations: 71.95 kB / 460.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01367/0.4553, allocations: 4.381 MB / 465 MB, free: 5.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.171e-05/0.4554, allocations: 15.94 kB / 465 MB, free: 5.648 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001107/0.4565, allocations: 0.6195 MB / 465.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4566, allocations: 11.97 kB / 465.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.4567, allocations: 51.44 kB / 465.7 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.4575, allocations: 399.1 kB / 466.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.4576, allocations: 68.06 kB / 466.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.4577, allocations: 20 kB / 466.2 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004968/0.4582, allocations: 262.3 kB / 466.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.4588, allocations: 380.8 kB / 466.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.4588, allocations: 7.906 kB / 466.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.4588, allocations: 0 / 466.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.4589, allocations: 8 kB / 466.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.4613, allocations: 1.5 MB / 468.3 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.4616, allocations: 134.1 kB / 468.4 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4618, allocations: 105.2 kB / 468.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4618, allocations: 5.312 kB / 468.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.4619, allocations: 34.75 kB / 468.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.4619, allocations: 0 / 468.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003804/0.4623, allocations: 231.5 kB / 468.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4623, allocations: 59.34 kB / 468.9 MB, free: 1.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.4626, allocations: 289.9 kB / 469.1 MB, free: 1.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4626, allocations: 25.7 kB / 469.2 MB, free: 1.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4627, allocations: 199.8 kB / 469.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.4628, allocations: 82.8 kB / 469.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.4628, allocations: 0 / 469.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.463, allocations: 350.8 kB / 469.8 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4631, allocations: 84.73 kB / 469.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.4633, allocations: 207.9 kB / 470.1 MB, free: 280 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4635, allocations: 121.1 kB / 470.2 MB, free: 152 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4635, allocations: 7.906 kB / 470.2 MB, free: 144 kB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005302/0.4641, allocations: 380.3 kB / 470.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4641, allocations: 4 kB / 470.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4641, allocations: 7.906 kB / 470.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4641, allocations: 4 kB / 470.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.4646, allocations: 87.89 kB / 470.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4646, allocations: 15.92 kB / 470.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.4647, allocations: 31.72 kB / 470.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.4648, allocations: 20 kB / 470.7 MB, free: 15.6 MB / 362.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001522/0.465, allocations: 122.4 kB / 470.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.465, allocations: 37.59 kB / 470.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.4655, allocations: 264.7 kB / 471.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4655, allocations: 4 kB / 471.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4655, allocations: 0 / 471.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.4655, allocations: 0 / 471.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.4659, allocations: 345.8 kB / 471.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4659, allocations: 0 / 471.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.4664, allocations: 67.95 kB / 471.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4664, allocations: 0 / 471.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.4664, allocations: 8 kB / 471.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4664, allocations: 0 / 471.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4665, allocations: 4 kB / 471.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00057/0.467, allocations: 463.1 kB / 472 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.4671, allocations: 104.7 kB / 472.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.4672, allocations: 15.98 kB / 472.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.4674, allocations: 11.91 kB / 472.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.4674, allocations: 12.17 kB / 472.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4675, allocations: 8 kB / 472.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002119/0.4677, allocations: 212.6 kB / 472.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000333/0.468, allocations: 51.84 kB / 472.4 MB, free: 13.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.000163/0.4682, allocations: 111.2 kB / 472.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.4686, allocations: 259.9 kB / 472.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4686, allocations: 4.5 kB / 472.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4688, allocations: 111.8 kB / 472.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.469, allocations: 25.77 kB / 472.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.4702, allocations: 0.6105 MB / 473.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.4707, allocations: 0.8765 MB / 474.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4707, allocations: 0 / 474.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Templates: time 0.006465/0.4772, allocations: 2.373 MB / 476.8 MB, free: 9.426 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)