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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007109/0.007109, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05853/0.05853, allocations: 10.74 MB / 26.59 MB, free: 2.262 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 235.2 MB, free: 180 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 90.38 kB / 285.9 MB, free: 10.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003794, allocations: 11.94 kB / 346.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 50.01 MB / 396.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4728, allocations: 79.07 MB / 475.5 MB, free: 16.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4732, allocations: 91.23 kB / 475.6 MB, free: 16.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.4863, allocations: 5.284 MB / 480.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4863, allocations: 0 / 480.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.4864, allocations: 19.72 kB / 480.9 MB, free: 13.03 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.0008559/0.4872, allocations: 0.6819 MB / 481.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4873, allocations: 16.02 kB / 481.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.4874, allocations: 47.44 kB / 481.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.488, allocations: 452.1 kB / 482 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4881, allocations: 25.22 kB / 482.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.4881, allocations: 34.38 kB / 482.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.4888, allocations: 439 kB / 482.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.4888, allocations: 3.984 kB / 482.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.4888, allocations: 14.12 kB / 482.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4888, allocations: 8 kB / 482.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.4893, allocations: 318.9 kB / 482.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.4911, allocations: 1.61 MB / 484.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.4914, allocations: 199 kB / 484.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.4914, allocations: 4 kB / 484.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.4915, allocations: 34.91 kB / 484.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.4915, allocations: 7.938 kB / 484.7 MB, free: 9.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000544/0.492, allocations: 346.1 kB / 485.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.4921, allocations: 55.41 kB / 485.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.4924, allocations: 412.9 kB / 485.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4924, allocations: 33.58 kB / 485.5 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4926, allocations: 266 kB / 485.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4926, allocations: 73.78 kB / 485.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.4926, allocations: 7.875 kB / 485.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.4927, allocations: 352.1 kB / 486.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4929, allocations: 101.5 kB / 486.3 MB, free: 8.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.4931, allocations: 227.6 kB / 486.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.4933, allocations: 138.5 kB / 486.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4933, allocations: 0 / 486.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004788/0.4938, allocations: 417.5 kB / 487.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4938, allocations: 14.14 kB / 487.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4938, allocations: 4 kB / 487.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4938, allocations: 4 kB / 487.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.4942, allocations: 87.89 kB / 487.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4942, allocations: 11.92 kB / 487.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.4943, allocations: 38.62 kB / 487.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.4944, allocations: 19.31 kB / 487.3 MB, free: 7.41 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.w:VARIABLE(fixed = true 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 () * Number of clocked 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.0002265/0.4946, allocations: 199.1 kB / 487.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.4947, allocations: 43.44 kB / 487.5 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.4952, allocations: 311.5 kB / 487.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4952, allocations: 4 kB / 487.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4952, allocations: 3.25 kB / 487.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4952, allocations: 11.97 kB / 487.8 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.4956, allocations: 412 kB / 488.2 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4956, allocations: 0 / 488.2 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.4959, allocations: 71.83 kB / 488.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4959, allocations: 0 / 488.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.496, allocations: 7.812 kB / 488.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.496, allocations: 3.953 kB / 488.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.496, allocations: 0 / 488.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.4966, allocations: 0.4911 MB / 488.8 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.4967, allocations: 123.7 kB / 488.9 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4967, allocations: 11.5 kB / 488.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4968, allocations: 11.69 kB / 488.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4969, allocations: 19.92 kB / 489 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4969, allocations: 7.75 kB / 489 MB, free: 5.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.4972, allocations: 317.9 kB / 489.3 MB, free: 5.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4972, allocations: 0 / 489.3 MB, free: 5.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.4975, allocations: 62.78 kB / 489.3 MB, free: 5.629 MB / 346.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 () * Number of clocked 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.0001383/0.4977, allocations: 109 kB / 489.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.4981, allocations: 276.3 kB / 489.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4981, allocations: 0 / 489.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.4983, allocations: 115.7 kB / 489.8 MB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.4985, allocations: 35.02 kB / 489.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.4995, allocations: 0.8985 MB / 490.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.4998, allocations: 0.8661 MB / 491.6 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.5, allocations: 67.23 kB / 491.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.5001, allocations: 31.44 kB / 491.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5001, allocations: 0 / 491.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of Templates: time 0.005617/0.5057, allocations: 2.267 MB / 494 MB, free: 1.148 MB / 346.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)