Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009328/0.0009329, allocations: 172.6 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05808/0.05808, allocations: 10.76 MB / 27.63 MB, free: 1.836 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.598/1.598, allocations: 205.4 MB / 236.2 MB, free: 10.17 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.0008154/0.0008154, allocations: 100.5 kB / 287 MB, free: 12.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 16 kB / 347.6 MB, free: 15.62 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2466, allocations: 50 MB / 397.6 MB, free: 34.59 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3486, allocations: 79.65 MB / 477.3 MB, free: 2.824 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3488, allocations: 75.97 kB / 477.3 MB, free: 2.75 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05307/0.4019, allocations: 19.84 MB / 497.2 MB, free: 14.83 MB / 378.8 MB Notification: Performance of FrontEnd: time 3.026e-06/0.402, allocations: 4 kB / 497.2 MB, free: 14.83 MB / 378.8 MB Notification: Performance of Transformations before backend: time 8.545e-05/0.4021, allocations: 39.98 kB / 497.2 MB, free: 14.79 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00289/0.405, allocations: 1.504 MB / 498.7 MB, free: 13.23 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.405, allocations: 8.031 kB / 498.7 MB, free: 13.23 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.4053, allocations: 174.9 kB / 498.9 MB, free: 13.05 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.4076, allocations: 1.106 MB / 0.4883 GB, free: 11.89 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.4079, allocations: 296.2 kB / 0.4886 GB, free: 11.55 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.4081, allocations: 124.2 kB / 0.4887 GB, free: 11.43 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.4098, allocations: 1.268 MB / 0.4899 GB, free: 10 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.4099, allocations: 15.86 kB / 0.49 GB, free: 9.984 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.41, allocations: 48 kB / 0.49 GB, free: 9.938 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.41, allocations: 24 kB / 0.49 GB, free: 9.914 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.4114, allocations: 0.722 MB / 0.4907 GB, free: 9.191 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/0.4167, allocations: 3.864 MB / 0.4945 GB, free: 5.215 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.4182, allocations: 0.835 MB / 0.4953 GB, free: 4.363 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.4188, allocations: 422.2 kB / 0.4957 GB, free: 3.953 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/0.4189, allocations: 21.05 kB / 0.4957 GB, free: 3.934 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.419, allocations: 47.56 kB / 0.4958 GB, free: 3.875 MB / 378.8 MB Notification: Performance of pre-optimization done (n=99): time 4.027e-06/0.419, allocations: 4 kB / 0.4958 GB, free: 3.871 MB / 378.8 MB Notification: Performance of matching and sorting (n=99): time 0.001956/0.4209, allocations: 1.08 MB / 0.4968 GB, free: 2.785 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.4212, allocations: 380.8 kB / 0.4972 GB, free: 2.328 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4223, allocations: 0.901 MB / 0.4981 GB, free: 1.414 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 8.999e-05/0.4224, allocations: 49.69 kB / 0.4981 GB, free: 1.359 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.4229, allocations: 0.59 MB / 0.4987 GB, free: 0.7617 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.4231, allocations: 382.5 kB / 0.4991 GB, free: 392 kB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.4232, allocations: 24 kB / 0.4991 GB, free: 368 kB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.179/0.6022, allocations: 365.8 kB / 0.4995 GB, free: 96.72 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.6033, allocations: 340.7 kB / 0.4998 GB, free: 96.72 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008541/0.6042, allocations: 0.7491 MB / 0.5005 GB, free: 96.27 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.6055, allocations: 1.082 MB / 0.5016 GB, free: 95.91 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.6056, allocations: 2.75 kB / 0.5016 GB, free: 95.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002382/0.6079, allocations: 1.261 MB / 0.5028 GB, free: 95.84 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.608, allocations: 11.28 kB / 0.5028 GB, free: 95.84 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.608, allocations: 10.56 kB / 0.5028 GB, free: 95.84 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-05/0.6081, allocations: 16.5 kB / 0.5028 GB, free: 95.84 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.6096, allocations: 344.9 kB / 0.5032 GB, free: 95.84 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.413e-05/0.6097, allocations: 26.44 kB / 0.5032 GB, free: 95.84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.6104, allocations: 118.6 kB / 0.5033 GB, free: 95.84 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.6106, allocations: 57.34 kB / 0.5034 GB, free: 95.84 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_FS.ATreq_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.0005994/0.6112, allocations: 280.5 kB / 0.5036 GB, free: 95.72 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.6114, allocations: 126.8 kB / 0.5037 GB, free: 95.72 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.613, allocations: 1.046 MB / 0.5048 GB, free: 95.64 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6131, allocations: 11.41 kB / 0.5048 GB, free: 95.64 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6131, allocations: 3.938 kB / 0.5048 GB, free: 95.64 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.6131, allocations: 12.88 kB / 0.5048 GB, free: 95.64 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6143, allocations: 1.066 MB / 0.5058 GB, free: 95.45 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6143, allocations: 1.547 kB / 0.5058 GB, free: 95.45 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.6159, allocations: 303.1 kB / 0.5061 GB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.6159, allocations: 3.781 kB / 0.5061 GB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.616, allocations: 35.36 kB / 0.5062 GB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.616, allocations: 9.781 kB / 0.5062 GB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.616, allocations: 7.656 kB / 0.5062 GB, free: 95.43 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.6177, allocations: 1.444 MB / 0.5076 GB, free: 95.27 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.6179, allocations: 206.1 kB / 0.5078 GB, free: 95.14 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.618, allocations: 26.16 kB / 0.5078 GB, free: 95.14 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.6185, allocations: 35.09 kB / 0.5078 GB, free: 95.14 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.6186, allocations: 79.03 kB / 0.5079 GB, free: 95.13 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.6187, allocations: 32.97 kB / 0.508 GB, free: 95.13 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0005377/0.6192, allocations: 0.5775 MB / 0.5085 GB, free: 94.88 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6192, allocations: 2.812 kB / 0.5085 GB, free: 94.88 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0007616/0.62, allocations: 227.9 kB / 0.5087 GB, free: 94.83 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * 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 (115): * Single equations (assignments): 115 * 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.0001611/0.6202, allocations: 155.9 kB / 0.5089 GB, free: 94.71 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.6214, allocations: 0.9382 MB / 0.5098 GB, free: 94.39 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6214, allocations: 3.125 kB / 0.5098 GB, free: 94.39 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.6219, allocations: 455.3 kB / 0.5102 GB, free: 94.24 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.6225, allocations: 137.2 kB / 0.5104 GB, free: 94.16 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.6261, allocations: 3.174 MB / 0.5135 GB, free: 92.43 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.6266, allocations: 1.159 MB / 0.5146 GB, free: 91.7 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0007198/0.6273, allocations: 174.1 kB / 0.5148 GB, free: 91.66 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.6275, allocations: 105.1 kB / 0.5149 GB, free: 91.65 MB / 378.8 MB Notification: Performance of SimCode: time 5.41e-07/0.6276, allocations: 0 / 0.5149 GB, free: 91.65 MB / 378.8 MB Notification: Performance of Templates: time 0.01373/0.6413, allocations: 8.178 MB / 0.5229 GB, free: 87.41 MB / 378.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1)