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") [: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.004002/0.004002, allocations: 180.9 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.05941/0.05941, allocations: 10.59 MB / 18.45 MB, free: 2.184 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.41/1.41, allocations: 205.2 MB / 226.5 MB, free: 0.5898 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.0009281/0.000928, allocations: 89.56 kB / 276.9 MB, free: 15.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.216e-06, allocations: 4 kB / 332.9 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3381, allocations: 50 MB / 382.9 MB, free: 39.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.4484, allocations: 77.72 MB / 460.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4487, allocations: 67.97 kB / 460.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01374/0.4624, allocations: 4.448 MB / 465.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.408e-05/0.4625, allocations: 20 kB / 465.2 MB, free: 5.418 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.0009534/0.4635, allocations: 0.6117 MB / 465.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4635, allocations: 12.03 kB / 465.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.4636, allocations: 51.42 kB / 465.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.4643, allocations: 391.3 kB / 466.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.4644, allocations: 12 kB / 466.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.4644, allocations: 23.91 kB / 466.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004776/0.4649, allocations: 270.6 kB / 466.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.4655, allocations: 386.2 kB / 466.9 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.4655, allocations: 0 / 466.9 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.4656, allocations: 0 / 466.9 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4656, allocations: 11.91 kB / 466.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.468, allocations: 1.472 MB / 468.4 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.4684, allocations: 169.2 kB / 468.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.4686, allocations: 104.8 kB / 468.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.4686, allocations: 4.438 kB / 468.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4686, allocations: 30.56 kB / 468.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.4686, allocations: 0 / 468.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004234/0.4691, allocations: 246.5 kB / 468.9 MB, free: 1.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4691, allocations: 56.53 kB / 469 MB, free: 1.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.4694, allocations: 286 kB / 469.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4695, allocations: 25.7 kB / 469.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4696, allocations: 199.8 kB / 469.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.4697, allocations: 98.56 kB / 469.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.4697, allocations: 0 / 469.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4698, allocations: 350.8 kB / 469.9 MB, free: 432 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.47, allocations: 84.42 kB / 470 MB, free: 344 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.4702, allocations: 204.5 kB / 470.2 MB, free: 88 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.4705, allocations: 138.4 kB / 470.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4705, allocations: 0 / 470.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005949/0.4711, allocations: 384.7 kB / 470.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.4711, allocations: 11.09 kB / 470.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4711, allocations: 4.469 kB / 470.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.4711, allocations: 8 kB / 470.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.4716, allocations: 103.7 kB / 470.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.4716, allocations: 11.92 kB / 470.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.4718, allocations: 31.69 kB / 470.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.4718, allocations: 16 kB / 470.9 MB, free: 15.38 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 (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.000196/0.472, allocations: 134.4 kB / 471 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.4721, allocations: 35.53 kB / 471.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.4727, allocations: 306.1 kB / 471.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4727, allocations: 0 / 471.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4727, allocations: 4 kB / 471.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4727, allocations: 10.05 kB / 471.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.4731, allocations: 341.8 kB / 471.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4731, allocations: 0 / 471.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.4736, allocations: 79.89 kB / 471.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4736, allocations: 4 kB / 471.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.4737, allocations: 7.938 kB / 471.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4737, allocations: 3.906 kB / 471.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4737, allocations: 0 / 471.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00061/0.4743, allocations: 496.1 kB / 472.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.4744, allocations: 104.7 kB / 472.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.4744, allocations: 7.906 kB / 472.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4746, allocations: 11.98 kB / 472.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.4747, allocations: 19.97 kB / 472.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4747, allocations: 4 kB / 472.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002119/0.4749, allocations: 224.6 kB / 472.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.4753, allocations: 59.69 kB / 472.7 MB, free: 13.48 MB / 362.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 () * 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.0001563/0.4754, allocations: 106.6 kB / 472.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.4759, allocations: 275.8 kB / 473.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4759, allocations: 0.9375 kB / 473.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4761, allocations: 111.9 kB / 473.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4763, allocations: 36.28 kB / 473.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4775, allocations: 0.6083 MB / 473.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/0.4782, allocations: 0.8921 MB / 474.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4782, allocations: 0 / 474.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006608/0.4849, allocations: 2.494 MB / 477.2 MB, free: 8.938 MB / 362.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)