Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") [: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.005222/0.005222, allocations: 187.2 kB / 7.456 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.06792/0.06792, allocations: 10.59 MB / 18.46 MB, free: 2.164 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.704/1.704, 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.001137/0.001137, allocations: 87.02 kB / 276.9 MB, free: 15.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/8.066e-06, allocations: 0 / 332.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 49.99 MB / 382.9 MB, free: 39.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4856, allocations: 78.24 MB / 461.2 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.4861, allocations: 85.81 kB / 461.3 MB, free: 9.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01678/0.5029, allocations: 4.927 MB / 466.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.219e-05/0.5031, allocations: 20 kB / 466.2 MB, free: 4.344 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.001749/0.5048, allocations: 0.6204 MB / 466.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/0.5049, allocations: 8.031 kB / 466.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.5053, allocations: 63.23 kB / 466.9 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5064, allocations: 440 kB / 467.3 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.5065, allocations: 17.69 kB / 467.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.5066, allocations: 23.91 kB / 467.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006411/0.5073, allocations: 269.2 kB / 467.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.5079, allocations: 373.7 kB / 468 MB, free: 2.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.508, allocations: 7.984 kB / 468 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.508, allocations: 0 / 468 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.5081, allocations: 8 kB / 468 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.5111, allocations: 1.553 MB / 469.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.5114, allocations: 170.5 kB / 469.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.5116, allocations: 80.83 kB / 469.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.5116, allocations: 4 kB / 469.8 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.5117, allocations: 38.56 kB / 469.8 MB, free: 492 kB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.5117, allocations: 0 / 469.8 MB, free: 492 kB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000556/0.5122, allocations: 220.7 kB / 470.1 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.5123, allocations: 55.34 kB / 470.1 MB, free: 200 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.5129, allocations: 353.8 kB / 470.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.5129, allocations: 25.7 kB / 470.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.5131, allocations: 227.4 kB / 470.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.5132, allocations: 67.02 kB / 470.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.5132, allocations: 8 kB / 470.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5134, allocations: 354.7 kB / 471.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.5135, allocations: 80.31 kB / 471.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.5138, allocations: 203 kB / 471.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.514, allocations: 117.9 kB / 471.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5141, allocations: 4 kB / 471.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006567/0.5147, allocations: 328.8 kB / 471.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.5148, allocations: 8.938 kB / 471.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5148, allocations: 4 kB / 471.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.5148, allocations: 8.562 kB / 471.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.5153, allocations: 95.83 kB / 472 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.5153, allocations: 8 kB / 472 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.5155, allocations: 35.58 kB / 472 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.5156, allocations: 16 kB / 472 MB, free: 14.2 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(protected = true ) "proper part of the output" type: Real process.P12.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: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001835/0.5158, allocations: 120 kB / 472.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.5159, allocations: 39.53 kB / 472.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.5164, allocations: 277.5 kB / 472.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5164, allocations: 4 kB / 472.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5164, allocations: 0 / 472.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5165, allocations: 0 / 472.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.517, allocations: 353.9 kB / 472.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.517, allocations: 0 / 472.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.5174, allocations: 77.34 kB / 472.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5174, allocations: 0 / 472.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.5175, allocations: 8 kB / 472.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5175, allocations: 3.906 kB / 472.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5175, allocations: 0 / 472.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005979/0.5181, allocations: 449.7 kB / 473.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5182, allocations: 124.6 kB / 473.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.5183, allocations: 8.125 kB / 473.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5184, allocations: 4 kB / 473.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.5186, allocations: 23.86 kB / 473.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.5186, allocations: 8 kB / 473.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003206/0.5189, allocations: 267.2 kB / 473.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.5193, allocations: 55.78 kB / 473.8 MB, free: 12.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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.0001756/0.5195, allocations: 107.2 kB / 473.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.5199, allocations: 235.9 kB / 474.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5199, allocations: 0 / 474.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.5201, allocations: 103.8 kB / 474.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.5204, allocations: 34.67 kB / 474.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.5218, allocations: 0.5669 MB / 474.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007654/0.5226, allocations: 0.9002 MB / 475.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5226, allocations: 0 / 475.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of Templates: time 0.007409/0.53, allocations: 2.378 MB / 478.1 MB, free: 7.984 MB / 362.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)