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.00112/0.00112, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05905/0.05905, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.761/1.761, allocations: 205.2 MB / 232.1 MB, free: 12.76 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.0008457/0.0008458, allocations: 90.12 kB / 282.6 MB, free: 13.57 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.289e-05, allocations: 4 kB / 340.5 MB, free: 3.613 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3133, allocations: 49.99 MB / 390.5 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4299, allocations: 79.53 MB / 470 MB, free: 4.086 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4302, allocations: 71.97 kB / 470.1 MB, free: 4.016 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05687/0.4871, allocations: 19.71 MB / 489.8 MB, free: 248 kB / 362.8 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4872, allocations: 0 / 489.8 MB, free: 248 kB / 362.8 MB Notification: Performance of Transformations before backend: time 8.187e-05/0.4873, allocations: 39.92 kB / 489.8 MB, free: 208 kB / 362.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.002792/0.4901, allocations: 1.341 MB / 491.2 MB, free: 14.82 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4901, allocations: 8.031 kB / 491.2 MB, free: 14.81 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.4904, allocations: 170 kB / 491.3 MB, free: 14.64 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.4929, allocations: 1.055 MB / 492.4 MB, free: 13.53 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.4931, allocations: 303.6 kB / 492.7 MB, free: 13.18 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.4933, allocations: 124.1 kB / 492.8 MB, free: 13.06 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.495, allocations: 1.241 MB / 494 MB, free: 11.65 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4951, allocations: 7.844 kB / 494.1 MB, free: 11.64 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.4952, allocations: 44 kB / 494.1 MB, free: 11.6 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.4952, allocations: 28 kB / 494.1 MB, free: 11.57 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4964, allocations: 0.6871 MB / 494.8 MB, free: 10.89 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.5021, allocations: 3.859 MB / 498.7 MB, free: 6.914 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.5036, allocations: 0.8261 MB / 499.5 MB, free: 6.074 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.5042, allocations: 398.5 kB / 499.9 MB, free: 5.688 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.5043, allocations: 32.94 kB / 499.9 MB, free: 5.656 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5043, allocations: 43.56 kB / 500 MB, free: 5.602 MB / 378.8 MB Notification: Performance of pre-optimization done (n=99): time 3.266e-06/0.5044, allocations: 0 / 500 MB, free: 5.602 MB / 378.8 MB Notification: Performance of matching and sorting (n=99): time 0.001404/0.5058, allocations: 0.7882 MB / 0.489 GB, free: 4.805 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.5059, allocations: 376.8 kB / 0.4894 GB, free: 4.352 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.5069, allocations: 0.7692 MB / 0.4901 GB, free: 3.566 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/0.5071, allocations: 49.7 kB / 0.4902 GB, free: 3.512 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.5075, allocations: 0.5861 MB / 0.4907 GB, free: 2.918 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.5078, allocations: 390.4 kB / 0.4911 GB, free: 2.531 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.5079, allocations: 24 kB / 0.4911 GB, free: 2.508 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5081, allocations: 357.9 kB / 0.4915 GB, free: 2.152 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.5086, allocations: 332 kB / 0.4918 GB, free: 1.832 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.5095, allocations: 0.733 MB / 0.4925 GB, free: 0.9258 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.5102, allocations: 444.8 kB / 0.4929 GB, free: 0.4961 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5102, allocations: 4 kB / 0.4929 GB, free: 0.4922 MB / 378.8 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.255/0.7652, allocations: 1.224 MB / 0.4941 GB, free: 97.16 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.7653, allocations: 11.23 kB / 0.4941 GB, free: 97.16 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.7654, allocations: 8.812 kB / 0.4942 GB, free: 97.16 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.069e-05/0.7655, allocations: 18.97 kB / 0.4942 GB, free: 97.16 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.7675, allocations: 345.4 kB / 0.4945 GB, free: 97.16 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-05/0.7675, allocations: 26.98 kB / 0.4945 GB, free: 97.16 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.7686, allocations: 117.6 kB / 0.4946 GB, free: 97.16 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.7688, allocations: 59.08 kB / 0.4947 GB, free: 97.16 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 () * 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.0003256/0.7691, allocations: 189.2 kB / 0.4949 GB, free: 97.05 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.7694, allocations: 122.2 kB / 0.495 GB, free: 97.05 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.7721, allocations: 1.028 MB / 0.496 GB, free: 96.99 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.7722, allocations: 14 kB / 0.496 GB, free: 96.99 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.7722, allocations: 5.922 kB / 0.496 GB, free: 96.99 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.7722, allocations: 5.156 kB / 0.496 GB, free: 96.99 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7737, allocations: 1.061 MB / 0.4971 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7737, allocations: 0.6094 kB / 0.4971 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.7754, allocations: 315.4 kB / 0.4974 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7755, allocations: 3.938 kB / 0.4974 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.7756, allocations: 36.7 kB / 0.4974 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.7756, allocations: 3.219 kB / 0.4974 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7756, allocations: 5.656 kB / 0.4974 GB, free: 96.8 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.7773, allocations: 1.396 MB / 0.4988 GB, free: 96.63 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7775, allocations: 208.7 kB / 0.499 GB, free: 96.47 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.7776, allocations: 34.14 kB / 0.499 GB, free: 96.47 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.7781, allocations: 32.45 kB / 0.499 GB, free: 96.47 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.7783, allocations: 69.92 kB / 0.4991 GB, free: 96.47 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.7783, allocations: 31.42 kB / 0.4991 GB, free: 96.47 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0005931/0.7789, allocations: 0.5668 MB / 0.4997 GB, free: 96.35 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7789, allocations: 0 / 0.4997 GB, free: 96.35 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.000785/0.7797, allocations: 229.7 kB / 0.4999 GB, free: 96.34 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 () * 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.0001784/0.7799, allocations: 154.9 kB / 0.5 GB, free: 96.25 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.7812, allocations: 0.9101 MB / 0.5009 GB, free: 96.23 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7812, allocations: 0 / 0.5009 GB, free: 96.23 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.7817, allocations: 437 kB / 0.5014 GB, free: 96.21 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.7822, allocations: 120.8 kB / 0.5015 GB, free: 96.2 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.7854, allocations: 2.249 MB / 0.5037 GB, free: 95.39 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.7859, allocations: 1.183 MB / 0.5048 GB, free: 94.68 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0007135/0.7867, allocations: 181.7 kB / 0.505 GB, free: 94.67 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.7869, allocations: 104.5 kB / 0.5051 GB, free: 94.65 MB / 378.8 MB Notification: Performance of SimCode: time 6.31e-07/0.7869, allocations: 0 / 0.5051 GB, free: 94.65 MB / 378.8 MB Notification: Performance of Templates: time 0.01397/0.8009, allocations: 7.958 MB / 0.5129 GB, free: 91.33 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)