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.00113/0.001129, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05818/0.05818, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.806/1.806, allocations: 205.2 MB / 232.1 MB, free: 12.89 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000819/0.000819, allocations: 101.4 kB / 282.6 MB, free: 13.66 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.461e-05, allocations: 7.984 kB / 340.5 MB, free: 3.691 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 49.98 MB / 390.5 MB, free: 35.81 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.4094, allocations: 78.98 MB / 469.5 MB, free: 4.719 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.4098, allocations: 79.95 kB / 469.5 MB, free: 4.641 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.4246, allocations: 5.269 MB / 474.8 MB, free: 15.35 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4247, allocations: 0 / 474.8 MB, free: 15.35 MB / 362.8 MB Notification: Performance of Transformations before backend: time 4.548e-05/0.4247, allocations: 19.94 kB / 474.8 MB, free: 15.33 MB / 362.8 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.0009518/0.4257, allocations: 0.6241 MB / 475.4 MB, free: 14.66 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4257, allocations: 8.031 kB / 475.5 MB, free: 14.65 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.4258, allocations: 63.27 kB / 475.5 MB, free: 14.59 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007938/0.4266, allocations: 440.1 kB / 475.9 MB, free: 14.12 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.4267, allocations: 28.72 kB / 476 MB, free: 14.09 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.4267, allocations: 32 kB / 476 MB, free: 14.06 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.4275, allocations: 424.8 kB / 476.4 MB, free: 13.61 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.4275, allocations: 0 / 476.4 MB, free: 13.61 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.4276, allocations: 12 kB / 476.4 MB, free: 13.6 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.4276, allocations: 8 kB / 476.4 MB, free: 13.59 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.4281, allocations: 287 kB / 476.7 MB, free: 13.31 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.4305, allocations: 1.61 MB / 478.3 MB, free: 11.61 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.4308, allocations: 190.5 kB / 478.5 MB, free: 11.41 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4309, allocations: 80.83 kB / 478.6 MB, free: 11.33 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.431, allocations: 8.328 kB / 478.6 MB, free: 11.32 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.431, allocations: 38.52 kB / 478.6 MB, free: 11.28 MB / 362.8 MB Notification: Performance of pre-optimization done (n=20): time 2.895e-06/0.431, allocations: 3.984 kB / 478.6 MB, free: 11.27 MB / 362.8 MB Notification: Performance of matching and sorting (n=20): time 0.000428/0.4314, allocations: 225.8 kB / 478.9 MB, free: 11.05 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.4315, allocations: 59.41 kB / 478.9 MB, free: 10.98 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.432, allocations: 406.9 kB / 479.3 MB, free: 10.57 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.432, allocations: 33.7 kB / 479.4 MB, free: 10.53 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.4322, allocations: 255.6 kB / 479.6 MB, free: 10.28 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.4323, allocations: 82.83 kB / 479.7 MB, free: 10.2 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.4323, allocations: 4 kB / 479.7 MB, free: 10.19 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4325, allocations: 358.8 kB / 480 MB, free: 9.832 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4327, allocations: 84.25 kB / 480.1 MB, free: 9.746 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4329, allocations: 209.1 kB / 480.3 MB, free: 9.48 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4331, allocations: 130.9 kB / 480.5 MB, free: 9.355 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4331, allocations: 0 / 480.5 MB, free: 9.355 MB / 362.8 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005331/0.4337, allocations: 372.6 kB / 480.8 MB, free: 8.984 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4337, allocations: 11.98 kB / 480.8 MB, free: 8.973 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4337, allocations: 7.953 kB / 480.8 MB, free: 8.965 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4337, allocations: 8 kB / 480.8 MB, free: 8.957 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.4341, allocations: 92.39 kB / 480.9 MB, free: 8.867 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4342, allocations: 12 kB / 480.9 MB, free: 8.855 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.4343, allocations: 39.59 kB / 481 MB, free: 8.816 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4344, allocations: 23.94 kB / 481 MB, free: 8.793 MB / 362.8 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.0001561/0.4345, allocations: 137 kB / 481.1 MB, free: 8.652 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.4346, allocations: 39.53 kB / 481.2 MB, free: 8.613 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.4351, allocations: 295.7 kB / 481.5 MB, free: 8.32 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4351, allocations: 7.953 kB / 481.5 MB, free: 8.312 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4351, allocations: 0 / 481.5 MB, free: 8.312 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4351, allocations: 0 / 481.5 MB, free: 8.312 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.4356, allocations: 405.2 kB / 481.9 MB, free: 7.867 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4356, allocations: 8 kB / 481.9 MB, free: 7.859 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.436, allocations: 63.95 kB / 481.9 MB, free: 7.797 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.436, allocations: 0 / 481.9 MB, free: 7.797 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.436, allocations: 8 kB / 482 MB, free: 7.789 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.436, allocations: 0 / 482 MB, free: 7.789 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4361, allocations: 3.953 kB / 482 MB, free: 7.785 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.4367, allocations: 459.3 kB / 482.4 MB, free: 7.32 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4368, allocations: 124.5 kB / 482.5 MB, free: 7.18 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.4368, allocations: 12.05 kB / 482.5 MB, free: 7.168 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.437, allocations: 8 kB / 482.5 MB, free: 7.16 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.437, allocations: 23.92 kB / 482.6 MB, free: 7.137 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4371, allocations: 4 kB / 482.6 MB, free: 7.133 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0003232/0.4374, allocations: 309.2 kB / 482.9 MB, free: 6.832 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4374, allocations: 0 / 482.9 MB, free: 6.832 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003301/0.4377, allocations: 67.84 kB / 482.9 MB, free: 6.766 MB / 362.8 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.0001379/0.4379, allocations: 116.1 kB / 483.1 MB, free: 6.645 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.4383, allocations: 239.7 kB / 483.3 MB, free: 6.41 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4383, allocations: 0 / 483.3 MB, free: 6.41 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.4384, allocations: 105 kB / 483.4 MB, free: 6.309 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4387, allocations: 34.08 kB / 483.4 MB, free: 6.273 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.4397, allocations: 0.598 MB / 484 MB, free: 5.648 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.4402, allocations: 0.8619 MB / 484.9 MB, free: 4.762 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.000207/0.4404, allocations: 75.17 kB / 485 MB, free: 4.691 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.4405, allocations: 31.44 kB / 485 MB, free: 4.66 MB / 362.8 MB Notification: Performance of SimCode: time 2.71e-07/0.4405, allocations: 4 kB / 485 MB, free: 4.656 MB / 362.8 MB Notification: Performance of Templates: time 0.005865/0.4464, allocations: 2.268 MB / 487.3 MB, free: 2.41 MB / 362.8 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)