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.004962/0.004962, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05587/0.05587, allocations: 10.74 MB / 26.59 MB, free: 2.262 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.575/1.575, allocations: 205.4 MB / 235.2 MB, free: 172 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 82.17 kB / 285.9 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 8 kB / 346.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 50 MB / 396.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5884, allocations: 79.62 MB / 476 MB, free: 16.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.5887, allocations: 74.25 kB / 476.1 MB, free: 16.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04832/0.637, allocations: 19.79 MB / 495.9 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.6371, allocations: 0 / 495.9 MB, free: 156 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.645e-05/0.6372, allocations: 36 kB / 495.9 MB, free: 120 kB / 346.7 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.003022/0.6402, allocations: 1.512 MB / 497.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6403, allocations: 8.031 kB / 497.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.6405, allocations: 170.2 kB / 497.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.6429, allocations: 1.06 MB / 498.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.6431, allocations: 303.5 kB / 499 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.6433, allocations: 119.9 kB / 499.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.645, allocations: 1.272 MB / 0.4886 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.6451, allocations: 3.906 kB / 0.4886 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.6452, allocations: 52 kB / 0.4887 GB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.6452, allocations: 24 kB / 0.4887 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.6465, allocations: 0.7182 MB / 0.4894 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.652, allocations: 3.863 MB / 0.4932 GB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.6537, allocations: 0.8365 MB / 0.494 GB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.6537, allocations: 29 kB / 0.494 GB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6538, allocations: 51.56 kB / 0.4941 GB, free: 5.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 4.138e-06/0.6538, allocations: 0 / 0.4941 GB, free: 5.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=99): time 0.001994/0.6558, allocations: 1.076 MB / 0.4951 GB, free: 4.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/0.656, allocations: 380.8 kB / 0.4955 GB, free: 4.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.657, allocations: 0.782 MB / 0.4962 GB, free: 3.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.6571, allocations: 45.7 kB / 0.4963 GB, free: 3.375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.6575, allocations: 0.5977 MB / 0.4969 GB, free: 2.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.6578, allocations: 378.5 kB / 0.4972 GB, free: 2.395 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.6579, allocations: 28 kB / 0.4973 GB, free: 2.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.658, allocations: 358.5 kB / 0.4976 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.6586, allocations: 347.8 kB / 0.4979 GB, free: 1.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.6595, allocations: 0.7452 MB / 0.4987 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.6603, allocations: 461.3 kB / 0.4991 GB, free: 324 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.6603, allocations: 4 kB / 0.4991 GB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002029/0.6624, allocations: 1.257 MB / 0.5003 GB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.6624, allocations: 24.08 kB / 0.5004 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.6624, allocations: 12 kB / 0.5004 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.6625, allocations: 16 kB / 0.5004 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.664, allocations: 347.5 kB / 0.5007 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.07e-05/0.6641, allocations: 23.92 kB / 0.5007 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.6648, allocations: 126.8 kB / 0.5009 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.6649, allocations: 52 kB / 0.5009 GB, free: 14.46 MB / 378.7 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.000563/0.6654, allocations: 275 kB / 0.5012 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.6656, allocations: 122.5 kB / 0.5013 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.6675, allocations: 1.064 MB / 0.5023 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6676, allocations: 12 kB / 0.5023 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6676, allocations: 0 / 0.5023 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6676, allocations: 3.984 kB / 0.5023 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.669, allocations: 1.067 MB / 0.5034 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.669, allocations: 4 kB / 0.5034 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.671, allocations: 311.6 kB / 0.5037 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.671, allocations: 4 kB / 0.5037 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.6711, allocations: 31.98 kB / 0.5037 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.6711, allocations: 7.953 kB / 0.5037 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6711, allocations: 4 kB / 0.5037 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.6736, allocations: 1.455 MB / 0.5051 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.6739, allocations: 203.2 kB / 0.5053 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.6741, allocations: 28 kB / 0.5054 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.6747, allocations: 31.98 kB / 0.5054 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6749, allocations: 76.86 kB / 0.5055 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.6749, allocations: 31.98 kB / 0.5055 GB, free: 9.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007615/0.6757, allocations: 0.5748 MB / 0.5061 GB, free: 9.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6757, allocations: 3.938 kB / 0.5061 GB, free: 9.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008366/0.6766, allocations: 227.5 kB / 0.5063 GB, free: 8.832 MB / 378.7 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.000249/0.6768, allocations: 147.1 kB / 0.5064 GB, free: 8.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.6784, allocations: 0.9418 MB / 0.5073 GB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6784, allocations: 0 / 0.5073 GB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.679, allocations: 453.5 kB / 0.5078 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.6796, allocations: 120.3 kB / 0.5079 GB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.6841, allocations: 3.164 MB / 0.511 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.6849, allocations: 1.189 MB / 0.5121 GB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007835/0.6857, allocations: 181.3 kB / 0.5123 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.6859, allocations: 103.4 kB / 0.5124 GB, free: 2.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.635e-06/0.6859, allocations: 0 / 0.5124 GB, free: 2.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01716/0.7031, allocations: 7.954 MB / 0.5202 GB, free: 10.55 MB / 394.7 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)