Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.004824/0.004825, allocations: 179.2 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.06624/0.06624, 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.68/1.68, allocations: 205.2 MB / 226.5 MB, free: 0.5117 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.001006/0.001006, allocations: 86.64 kB / 276.9 MB, free: 15.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.157e-06, allocations: 0 / 332.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.273, allocations: 49.99 MB / 382.9 MB, free: 39.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3881, allocations: 77.25 MB / 460.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.3885, allocations: 75.95 kB / 460.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0129/0.4014, allocations: 4.168 MB / 464.4 MB, free: 6.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.353e-05/0.4015, allocations: 19.98 kB / 464.4 MB, free: 6.211 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.001031/0.4026, allocations: 0.6078 MB / 465 MB, free: 5.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4026, allocations: 11.97 kB / 465.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4028, allocations: 47.44 kB / 465.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.4036, allocations: 379.2 kB / 465.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.4036, allocations: 12 kB / 465.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.4037, allocations: 20 kB / 465.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005287/0.4042, allocations: 249.2 kB / 465.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.4049, allocations: 364.8 kB / 466.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.4049, allocations: 3.906 kB / 466.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.405, allocations: 4 kB / 466.1 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.405, allocations: 11.09 kB / 466.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.4074, allocations: 1.43 MB / 467.6 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.4078, allocations: 126.1 kB / 467.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.408, allocations: 101.2 kB / 467.8 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.4081, allocations: 8.125 kB / 467.8 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4081, allocations: 30.75 kB / 467.8 MB, free: 2.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.985e-06/0.4081, allocations: 0 / 467.8 MB, free: 2.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004519/0.4086, allocations: 219.5 kB / 468 MB, free: 2.418 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.4086, allocations: 59.34 kB / 468.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.409, allocations: 282 kB / 468.4 MB, free: 2.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.409, allocations: 25.7 kB / 468.4 MB, free: 2.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4092, allocations: 219.6 kB / 468.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.4092, allocations: 70.91 kB / 468.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.4093, allocations: 0 / 468.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4094, allocations: 350.7 kB / 469 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4096, allocations: 80.36 kB / 469.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4098, allocations: 190.2 kB / 469.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.41, allocations: 117.6 kB / 469.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.41, allocations: 4 kB / 469.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005683/0.4106, allocations: 350 kB / 469.7 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4106, allocations: 9.078 kB / 469.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4106, allocations: 4 kB / 469.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.4107, allocations: 15.84 kB / 469.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.411, allocations: 87.89 kB / 469.9 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4111, allocations: 4.438 kB / 469.9 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4112, allocations: 35.69 kB / 469.9 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.4113, allocations: 19.98 kB / 469.9 MB, free: 444 kB / 346.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 (45): * Single equations (assignments): 45 * 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.0001528/0.4114, allocations: 127.7 kB / 470 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.4115, allocations: 35.53 kB / 470.1 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.412, allocations: 252.6 kB / 470.3 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.412, allocations: 3.984 kB / 470.3 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.412, allocations: 0 / 470.3 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.412, allocations: 0 / 470.3 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.4124, allocations: 329.9 kB / 470.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4124, allocations: 0 / 470.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.4128, allocations: 63.91 kB / 470.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.4128, allocations: 0 / 470.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.4128, allocations: 15.83 kB / 470.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4128, allocations: 4 kB / 470.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4129, allocations: 0 / 470.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005358/0.4134, allocations: 429.8 kB / 471.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.4135, allocations: 120.6 kB / 471.3 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4135, allocations: 4 kB / 471.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4137, allocations: 7.984 kB / 471.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.4138, allocations: 12.19 kB / 471.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.4138, allocations: 8 kB / 471.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002153/0.414, allocations: 212.6 kB / 471.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.4144, allocations: 59.75 kB / 471.6 MB, free: 14.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001615/0.4146, allocations: 114.4 kB / 471.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.415, allocations: 235.7 kB / 471.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.415, allocations: 0.6562 kB / 471.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4152, allocations: 104.8 kB / 472 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.4155, allocations: 26.61 kB / 472 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.4169, allocations: 0.5638 MB / 472.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.4175, allocations: 0.8679 MB / 473.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4175, allocations: 0 / 473.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.006345/0.4238, allocations: 2.247 MB / 475.7 MB, free: 10.52 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)