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.0009576/0.0009577, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05986/0.05986, allocations: 10.66 MB / 18.73 MB, free: 1.316 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.898/1.898, allocations: 205.3 MB / 226.9 MB, free: 7.961 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 97.22 kB / 277.3 MB, free: 5.488 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.572e-05, allocations: 0 / 333.5 MB, free: 28.49 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 50 MB / 383.5 MB, free: 10.45 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.6, allocations: 78.63 MB / 462.2 MB, free: 6.219 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.6003, allocations: 81.31 kB / 462.2 MB, free: 6.172 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.6148, allocations: 5.224 MB / 467.5 MB, free: 1.746 MB / 330.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6149, allocations: 0 / 467.5 MB, free: 1.746 MB / 330.8 MB Notification: Performance of Transformations before backend: time 6.728e-05/0.6149, allocations: 15.98 kB / 467.5 MB, free: 1.73 MB / 330.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.001295/0.6162, allocations: 0.6255 MB / 468.1 MB, free: 1.09 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6163, allocations: 12.03 kB / 468.1 MB, free: 1.078 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.6165, allocations: 51.42 kB / 468.2 MB, free: 1.027 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6176, allocations: 445.2 kB / 468.6 MB, free: 0.6094 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.6176, allocations: 16 kB / 468.6 MB, free: 0.5938 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.6178, allocations: 23.94 kB / 468.6 MB, free: 0.5703 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000564/0.6183, allocations: 257.9 kB / 468.9 MB, free: 420 kB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.619, allocations: 367.4 kB / 469.2 MB, free: 100 kB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.619, allocations: 7.984 kB / 469.3 MB, free: 92 kB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.6191, allocations: 0 / 469.3 MB, free: 92 kB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.6191, allocations: 8 kB / 469.3 MB, free: 84 kB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.6218, allocations: 1.54 MB / 470.8 MB, free: 14.71 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.6221, allocations: 181 kB / 471 MB, free: 14.58 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.6222, allocations: 81.7 kB / 471.1 MB, free: 14.53 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.6223, allocations: 4 kB / 471.1 MB, free: 14.52 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.6223, allocations: 31.75 kB / 471.1 MB, free: 14.48 MB / 346.8 MB Notification: Performance of pre-optimization done (n=20): time 2.705e-06/0.6223, allocations: 4 kB / 471.1 MB, free: 14.48 MB / 346.8 MB Notification: Performance of matching and sorting (n=20): time 0.0004516/0.6228, allocations: 219.9 kB / 471.3 MB, free: 14.3 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.6228, allocations: 55.36 kB / 471.4 MB, free: 14.24 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.6233, allocations: 356.2 kB / 471.7 MB, free: 13.96 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.6233, allocations: 25.7 kB / 471.7 MB, free: 13.93 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.6235, allocations: 265.8 kB / 472 MB, free: 13.73 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.6236, allocations: 75.84 kB / 472.1 MB, free: 13.67 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.6236, allocations: 0 / 472.1 MB, free: 13.67 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.6239, allocations: 362.5 kB / 472.4 MB, free: 13.32 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.624, allocations: 74.56 kB / 472.5 MB, free: 13.27 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.6242, allocations: 197.5 kB / 472.7 MB, free: 13.05 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.6245, allocations: 116.3 kB / 472.8 MB, free: 12.98 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6245, allocations: 0 / 472.8 MB, free: 12.98 MB / 346.8 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005443/0.625, allocations: 343.6 kB / 473.1 MB, free: 12.7 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.625, allocations: 4 kB / 473.1 MB, free: 12.7 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6251, allocations: 4 kB / 473.2 MB, free: 12.69 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6251, allocations: 8 kB / 473.2 MB, free: 12.68 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.6255, allocations: 95.89 kB / 473.3 MB, free: 12.59 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.6255, allocations: 11.95 kB / 473.3 MB, free: 12.58 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.6257, allocations: 31.67 kB / 473.3 MB, free: 12.55 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.6258, allocations: 18.81 kB / 473.3 MB, free: 12.54 MB / 346.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.0001738/0.6259, allocations: 115.5 kB / 473.4 MB, free: 12.42 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.626, allocations: 42.62 kB / 473.5 MB, free: 12.38 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.6266, allocations: 272.8 kB / 473.7 MB, free: 12.17 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6266, allocations: 3.938 kB / 473.7 MB, free: 12.16 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6266, allocations: 4 kB / 473.7 MB, free: 12.16 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6266, allocations: 7.953 kB / 473.7 MB, free: 12.15 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.6271, allocations: 357.2 kB / 474.1 MB, free: 11.84 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6271, allocations: 4 kB / 474.1 MB, free: 11.83 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.6275, allocations: 63.95 kB / 474.2 MB, free: 11.77 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.6275, allocations: 0 / 474.2 MB, free: 11.77 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6275, allocations: 7.688 kB / 474.2 MB, free: 11.77 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6275, allocations: 3.938 kB / 474.2 MB, free: 11.76 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6275, allocations: 0 / 474.2 MB, free: 11.76 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.6281, allocations: 441.9 kB / 474.6 MB, free: 11.4 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.6283, allocations: 123.8 kB / 474.7 MB, free: 11.27 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.6283, allocations: 4 kB / 474.7 MB, free: 11.26 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.6284, allocations: 7.984 kB / 474.7 MB, free: 11.25 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.6285, allocations: 14.98 kB / 474.8 MB, free: 11.24 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.6285, allocations: 7.984 kB / 474.8 MB, free: 11.23 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0003062/0.6289, allocations: 269.3 kB / 475 MB, free: 11.03 MB / 346.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6289, allocations: 4 kB / 475 MB, free: 11.03 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0003987/0.6293, allocations: 59.73 kB / 475.1 MB, free: 10.97 MB / 346.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.0001597/0.6294, allocations: 110.3 kB / 475.2 MB, free: 10.85 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.6298, allocations: 221.3 kB / 475.4 MB, free: 10.7 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6298, allocations: 0 / 475.4 MB, free: 10.7 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.63, allocations: 95.47 kB / 475.5 MB, free: 10.63 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.6303, allocations: 37.25 kB / 475.5 MB, free: 10.61 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.6314, allocations: 0.5713 MB / 476.1 MB, free: 10.08 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.632, allocations: 0.8671 MB / 477 MB, free: 9.199 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.6323, allocations: 67.23 kB / 477 MB, free: 9.133 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.6324, allocations: 27.44 kB / 477.1 MB, free: 9.105 MB / 346.8 MB Notification: Performance of SimCode: time 3.9e-07/0.6324, allocations: 0 / 477.1 MB, free: 9.105 MB / 346.8 MB Notification: Performance of Templates: time 0.006164/0.6385, allocations: 1.94 MB / 479 MB, free: 7.176 MB / 346.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)