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.0009398/0.0009398, allocations: 172.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05942/0.05942, allocations: 10.76 MB / 27.63 MB, free: 1.855 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.437/1.437, allocations: 205.4 MB / 236.2 MB, free: 10.19 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.000799/0.000799, allocations: 98.3 kB / 287 MB, free: 12.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004496, allocations: 15.98 kB / 347.6 MB, free: 15.62 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 50 MB / 397.6 MB, free: 34.6 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.4308, allocations: 79.1 MB / 476.7 MB, free: 3.391 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.4313, allocations: 83.94 kB / 476.8 MB, free: 3.309 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.451, allocations: 5.302 MB / 482.1 MB, free: 13.98 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4511, allocations: 0 / 482.1 MB, free: 13.98 MB / 362.8 MB Notification: Performance of Transformations before backend: time 6.562e-05/0.4512, allocations: 19.94 kB / 482.1 MB, free: 13.96 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.001233/0.4524, allocations: 0.675 MB / 482.8 MB, free: 13.23 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4524, allocations: 12.03 kB / 482.8 MB, free: 13.22 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.4526, allocations: 48.38 kB / 482.9 MB, free: 13.18 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.4534, allocations: 466.6 kB / 483.3 MB, free: 12.68 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.4535, allocations: 25.03 kB / 483.3 MB, free: 12.66 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.4536, allocations: 40.28 kB / 483.4 MB, free: 12.62 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.4544, allocations: 439.5 kB / 483.8 MB, free: 12.15 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.4544, allocations: 7.875 kB / 483.8 MB, free: 12.14 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.4545, allocations: 12 kB / 483.8 MB, free: 12.13 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.4545, allocations: 8 kB / 483.8 MB, free: 12.12 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.4551, allocations: 314.4 kB / 484.2 MB, free: 11.82 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.4577, allocations: 1.605 MB / 485.8 MB, free: 10.12 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.458, allocations: 210.4 kB / 486 MB, free: 9.91 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.4582, allocations: 100.8 kB / 486.1 MB, free: 9.809 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.4583, allocations: 4 kB / 486.1 MB, free: 9.805 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4583, allocations: 30.56 kB / 486.1 MB, free: 9.766 MB / 362.8 MB Notification: Performance of pre-optimization done (n=20): time 2.374e-06/0.4583, allocations: 4 kB / 486.1 MB, free: 9.762 MB / 362.8 MB Notification: Performance of matching and sorting (n=20): time 0.000685/0.459, allocations: 346.3 kB / 486.4 MB, free: 9.418 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4591, allocations: 51.41 kB / 486.5 MB, free: 9.355 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.4596, allocations: 461.8 kB / 486.9 MB, free: 8.895 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4597, allocations: 37.64 kB / 487 MB, free: 8.852 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4599, allocations: 263.7 kB / 487.2 MB, free: 8.59 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.4599, allocations: 82.89 kB / 487.3 MB, free: 8.508 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.46, allocations: 4 kB / 487.3 MB, free: 8.504 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4601, allocations: 354.8 kB / 487.7 MB, free: 8.148 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.4603, allocations: 96.27 kB / 487.8 MB, free: 8.051 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.4606, allocations: 228.9 kB / 488 MB, free: 7.77 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.4621, allocations: 0.5956 MB / 488.6 MB, free: 7.117 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4621, allocations: 8 kB / 488.6 MB, free: 7.109 MB / 362.8 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006718/0.4628, allocations: 404.9 kB / 489 MB, free: 6.707 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4629, allocations: 8 kB / 489 MB, free: 6.699 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4629, allocations: 4 kB / 489 MB, free: 6.695 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4629, allocations: 8 kB / 489 MB, free: 6.688 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.4633, allocations: 87.83 kB / 489.1 MB, free: 6.602 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4633, allocations: 8 kB / 489.1 MB, free: 6.594 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.4635, allocations: 43.94 kB / 489.1 MB, free: 6.551 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4635, allocations: 27.92 kB / 489.2 MB, free: 6.523 MB / 362.8 MB Warning: Assuming fixed start value for the following 4 variables: 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 process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P22.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.0002912/0.4638, allocations: 194.6 kB / 489.4 MB, free: 6.324 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.4639, allocations: 43.44 kB / 489.4 MB, free: 6.281 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005852/0.4645, allocations: 311.9 kB / 489.7 MB, free: 5.969 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4645, allocations: 12 kB / 489.7 MB, free: 5.957 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4645, allocations: 0 / 489.7 MB, free: 5.957 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4645, allocations: 0 / 489.7 MB, free: 5.957 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.4651, allocations: 413.2 kB / 490.1 MB, free: 5.504 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4651, allocations: 0 / 490.1 MB, free: 5.504 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.4655, allocations: 67.89 kB / 490.2 MB, free: 5.438 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.4655, allocations: 0 / 490.2 MB, free: 5.438 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4656, allocations: 8 kB / 490.2 MB, free: 5.43 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4656, allocations: 0 / 490.2 MB, free: 5.43 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4656, allocations: 0 / 490.2 MB, free: 5.43 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.4664, allocations: 0.4991 MB / 490.7 MB, free: 4.914 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4665, allocations: 120.6 kB / 490.8 MB, free: 4.777 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.4665, allocations: 12 kB / 490.8 MB, free: 4.766 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4667, allocations: 11.98 kB / 490.8 MB, free: 4.754 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.4667, allocations: 11.98 kB / 490.8 MB, free: 4.742 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.4668, allocations: 8 kB / 490.8 MB, free: 4.734 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0003965/0.4672, allocations: 327 kB / 491.2 MB, free: 4.418 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4672, allocations: 0 / 491.2 MB, free: 4.418 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003782/0.4676, allocations: 63.75 kB / 491.2 MB, free: 4.355 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 () * 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.0001692/0.4677, allocations: 111.2 kB / 491.3 MB, free: 4.234 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.4683, allocations: 264.6 kB / 491.6 MB, free: 3.977 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4683, allocations: 0 / 491.6 MB, free: 3.977 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.4685, allocations: 123.9 kB / 491.7 MB, free: 3.855 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4689, allocations: 41.89 kB / 491.8 MB, free: 3.816 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.4704, allocations: 0.8954 MB / 492.7 MB, free: 2.895 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.471, allocations: 0.858 MB / 493.5 MB, free: 2.008 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.4712, allocations: 75.17 kB / 493.6 MB, free: 1.93 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.4713, allocations: 31.44 kB / 493.6 MB, free: 1.898 MB / 362.8 MB Notification: Performance of SimCode: time 4.81e-07/0.4713, allocations: 0 / 493.6 MB, free: 1.898 MB / 362.8 MB Notification: Performance of Templates: time 0.007152/0.4785, allocations: 2.266 MB / 495.9 MB, free: 15.64 MB / 378.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)