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.001441/0.001441, allocations: 176.1 kB / 7.643 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.08849/0.08849, 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.879/1.879, allocations: 205.3 MB / 226.9 MB, free: 7.98 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.0009446/0.0009446, allocations: 98.45 kB / 277.3 MB, free: 5.504 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.336e-05, allocations: 4 kB / 333.5 MB, free: 28.5 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 50 MB / 383.5 MB, free: 10.45 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4808/0.6125, allocations: 79.16 MB / 462.7 MB, free: 5.695 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.6128, allocations: 76.38 kB / 462.8 MB, free: 5.656 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0527/0.6656, allocations: 19.58 MB / 482.3 MB, free: 5.473 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6656, allocations: 0 / 482.3 MB, free: 5.473 MB / 346.8 MB Notification: Performance of Transformations before backend: time 6.353e-05/0.6657, allocations: 35.98 kB / 482.4 MB, free: 5.438 MB / 346.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.00252/0.6682, allocations: 1.341 MB / 483.7 MB, free: 4.141 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6683, allocations: 12.03 kB / 483.7 MB, free: 4.129 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.6685, allocations: 170 kB / 483.9 MB, free: 3.961 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.6707, allocations: 1.048 MB / 484.9 MB, free: 2.992 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.6709, allocations: 255.6 kB / 485.2 MB, free: 2.691 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.6711, allocations: 79.62 kB / 485.3 MB, free: 2.617 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/0.6721, allocations: 0.6193 MB / 485.9 MB, free: 2.223 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.6735, allocations: 1.098 MB / 487 MB, free: 1.188 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.6736, allocations: 3.938 kB / 487 MB, free: 1.184 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.6737, allocations: 4 kB / 487 MB, free: 1.18 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.6737, allocations: 24 kB / 487 MB, free: 1.156 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.6784, allocations: 3.703 MB / 490.7 MB, free: 13.97 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.6796, allocations: 0.7642 MB / 491.5 MB, free: 13.51 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.6801, allocations: 370 kB / 491.9 MB, free: 13.29 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/0.6802, allocations: 20.56 kB / 491.9 MB, free: 13.28 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6803, allocations: 50.67 kB / 491.9 MB, free: 13.23 MB / 362.8 MB Notification: Performance of pre-optimization done (n=99): time 2.474e-06/0.6803, allocations: 0 / 491.9 MB, free: 13.23 MB / 362.8 MB Notification: Performance of matching and sorting (n=99): time 0.001135/0.6814, allocations: 0.7454 MB / 492.7 MB, free: 12.65 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.6816, allocations: 381 kB / 493 MB, free: 12.2 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/0.6824, allocations: 0.7204 MB / 493.8 MB, free: 11.64 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.6825, allocations: 25.7 kB / 493.8 MB, free: 11.61 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.6828, allocations: 0.5758 MB / 494.4 MB, free: 11.26 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.6831, allocations: 373.5 kB / 494.7 MB, free: 10.94 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.6831, allocations: 0 / 494.7 MB, free: 10.94 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6833, allocations: 361.2 kB / 495.1 MB, free: 10.61 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.6837, allocations: 298.8 kB / 495.4 MB, free: 10.44 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.6845, allocations: 0.6954 MB / 496.1 MB, free: 9.73 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.6851, allocations: 412.4 kB / 496.5 MB, free: 9.473 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.6851, allocations: 8 kB / 496.5 MB, free: 9.465 MB / 362.8 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001505/0.6866, allocations: 1.088 MB / 497.6 MB, free: 8.629 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6866, allocations: 15.94 kB / 497.6 MB, free: 8.613 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.6866, allocations: 8 kB / 497.6 MB, free: 8.605 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/0.6867, allocations: 24.06 kB / 497.6 MB, free: 8.582 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.6881, allocations: 345.8 kB / 497.9 MB, free: 8.254 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.6882, allocations: 23.88 kB / 498 MB, free: 8.23 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.6888, allocations: 94.78 kB / 498.1 MB, free: 8.137 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.6889, allocations: 54.38 kB / 498.1 MB, free: 8.094 MB / 362.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 () * 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.0001975/0.6891, allocations: 151.5 kB / 498.3 MB, free: 7.945 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6892, allocations: 126.4 kB / 498.4 MB, free: 7.824 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.6908, allocations: 0.9471 MB / 499.3 MB, free: 7.133 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6908, allocations: 12 kB / 499.3 MB, free: 7.121 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6908, allocations: 3.953 kB / 499.3 MB, free: 7.117 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.6908, allocations: 7.969 kB / 499.4 MB, free: 7.109 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.6919, allocations: 0.9373 MB / 0.4886 GB, free: 6.395 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.6919, allocations: 0 / 0.4886 GB, free: 6.395 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.6937, allocations: 314.5 kB / 0.4889 GB, free: 6.098 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.6937, allocations: 4 kB / 0.4889 GB, free: 6.094 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/0.6938, allocations: 22.23 kB / 0.4889 GB, free: 6.082 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6938, allocations: 4 kB / 0.4889 GB, free: 6.078 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6938, allocations: 0 / 0.4889 GB, free: 6.078 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.6955, allocations: 1.34 MB / 0.4902 GB, free: 4.855 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.6957, allocations: 203.2 kB / 0.4904 GB, free: 4.637 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6958, allocations: 15.94 kB / 0.4904 GB, free: 4.621 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.6964, allocations: 11.98 kB / 0.4904 GB, free: 4.609 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.6965, allocations: 65.22 kB / 0.4905 GB, free: 4.547 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.6965, allocations: 35.98 kB / 0.4905 GB, free: 4.512 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.000593/0.6971, allocations: 0.5085 MB / 0.491 GB, free: 3.996 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6972, allocations: 0 / 0.491 GB, free: 3.996 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0006402/0.6978, allocations: 183.4 kB / 0.4912 GB, free: 3.816 MB / 362.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 () * 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.0001925/0.698, allocations: 138.1 kB / 0.4913 GB, free: 3.668 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.6992, allocations: 0.8359 MB / 0.4921 GB, free: 2.836 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6992, allocations: 448 / 0.4921 GB, free: 2.836 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.6997, allocations: 416.8 kB / 0.4925 GB, free: 2.43 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.7003, allocations: 109.2 kB / 0.4926 GB, free: 2.324 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.704, allocations: 2.194 MB / 0.4948 GB, free: 92 kB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.7047, allocations: 1.185 MB / 0.4959 GB, free: 14.87 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0007543/0.7055, allocations: 177.4 kB / 0.4961 GB, free: 14.69 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.7057, allocations: 99.36 kB / 0.4962 GB, free: 14.6 MB / 378.8 MB Notification: Performance of SimCode: time 9.22e-07/0.7057, allocations: 3.938 kB / 0.4962 GB, free: 14.59 MB / 378.8 MB Notification: Performance of Templates: time 0.01526/0.721, allocations: 7.502 MB / 0.5035 GB, free: 7.094 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)