Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.003555/0.003555, allocations: 181 kB / 7.455 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.05972/0.05972, allocations: 10.59 MB / 18.46 MB, free: 2.172 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.474/1.474, 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.0009716/0.0009724, allocations: 85.8 kB / 276.9 MB, free: 15.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.876e-06/8.896e-06, allocations: 0 / 332.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3378, allocations: 50 MB / 382.9 MB, free: 39.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.452, allocations: 77.98 MB / 460.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/0.4524, allocations: 75.95 kB / 461 MB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01767/0.4701, allocations: 5.025 MB / 466 MB, free: 4.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.774e-05/0.4703, allocations: 16 kB / 466 MB, free: 4.559 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001798/0.4721, allocations: 0.6819 MB / 466.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.4721, allocations: 12.03 kB / 466.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.4724, allocations: 59.25 kB / 466.8 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.4737, allocations: 463.9 kB / 467.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.4739, allocations: 68.19 kB / 467.3 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.474, allocations: 32 kB / 467.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007973/0.4748, allocations: 305.5 kB / 467.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.4758, allocations: 456.2 kB / 468.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.4759, allocations: 7.906 kB / 468.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.4759, allocations: 0 / 468.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.476, allocations: 8 kB / 468.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.4793, allocations: 1.621 MB / 469.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.4799, allocations: 182.3 kB / 469.9 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.4801, allocations: 153.5 kB / 470 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.4802, allocations: 4.281 kB / 470 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.4802, allocations: 38.84 kB / 470.1 MB, free: 276 kB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.4802, allocations: 0 / 470.1 MB, free: 276 kB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006573/0.4809, allocations: 303.4 kB / 470.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.481, allocations: 55.41 kB / 470.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.4814, allocations: 302 kB / 470.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4814, allocations: 25.7 kB / 470.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.4816, allocations: 200.1 kB / 470.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4817, allocations: 129.6 kB / 471.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.4817, allocations: 0 / 471.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4819, allocations: 354.7 kB / 471.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4821, allocations: 116.9 kB / 471.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.4825, allocations: 221.6 kB / 471.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.4828, allocations: 163.7 kB / 471.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.4828, allocations: 0 / 471.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00082/0.4836, allocations: 446.5 kB / 472.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4837, allocations: 4.469 kB / 472.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4837, allocations: 4 kB / 472.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.4837, allocations: 12 kB / 472.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.4844, allocations: 119.8 kB / 472.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.029e-05/0.4844, allocations: 11.92 kB / 472.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.4847, allocations: 39.58 kB / 472.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.4848, allocations: 27.98 kB / 472.6 MB, free: 13.69 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 (61): * Single equations (assignments): 61 * 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.0002852/0.4851, allocations: 126.4 kB / 472.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.4852, allocations: 39.53 kB / 472.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.4861, allocations: 353.5 kB / 473.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4861, allocations: 4 kB / 473.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4861, allocations: 4 kB / 473.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4861, allocations: 7.984 kB / 473.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.4868, allocations: 393.6 kB / 473.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4868, allocations: 0 / 473.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.4874, allocations: 99.88 kB / 473.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4875, allocations: 0 / 473.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.4875, allocations: 7.984 kB / 473.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4875, allocations: 0 / 473.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4875, allocations: 4 kB / 473.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008643/0.4884, allocations: 0.5742 MB / 474.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4885, allocations: 116.5 kB / 474.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.4886, allocations: 8.641 kB / 474.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4888, allocations: 4 kB / 474.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.4889, allocations: 23.95 kB / 474.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4889, allocations: 12 kB / 474.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003304/0.4893, allocations: 228.6 kB / 474.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.4897, allocations: 71.69 kB / 474.6 MB, free: 11.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0002136/0.4899, allocations: 107.2 kB / 474.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000596/0.4905, allocations: 329.7 kB / 475 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4905, allocations: 0 / 475 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.4908, allocations: 152 kB / 475.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.4911, allocations: 29.48 kB / 475.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4927, allocations: 0.7095 MB / 475.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007543/0.4934, allocations: 0.9013 MB / 476.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4935, allocations: 0 / 476.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of Templates: time 0.00861/0.5021, allocations: 3.008 MB / 479.8 MB, free: 6.289 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1)