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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05587/0.05588, allocations: 10.73 MB / 281.2 MB, free: 1.363 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 75.84 kB / 341.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2235, allocations: 49.01 MB / 390.2 MB, free: 49.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004541/0.2281, allocations: 4.184 MB / 394.4 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.2311, allocations: 1.692 MB / 396.1 MB, free: 45.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.2319, allocations: 64.78 kB / 396.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.2323, allocations: 159.9 kB / 396.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.2327, allocations: 170.9 kB / 396.5 MB, free: 45.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.2348, allocations: 0.8822 MB / 397.4 MB, free: 44.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.2364, allocations: 1.489 MB / 398.9 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005986/0.237, allocations: 428.3 kB / 399.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008362/0.2378, allocations: 0.612 MB / 399.9 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.2384, allocations: 0.5749 MB / 400.5 MB, free: 43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.2386, allocations: 121.9 kB / 400.6 MB, free: 43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.2388, allocations: 124.5 kB / 400.7 MB, free: 43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.239, allocations: 307.6 kB / 401 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.2393, allocations: 0.6018 MB / 401.6 MB, free: 42.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.2402, allocations: 1.232 MB / 402.8 MB, free: 41.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2402, allocations: 4 kB / 402.8 MB, free: 41.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2402, allocations: 0 / 402.8 MB, free: 41.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.2402, allocations: 1.156 kB / 402.8 MB, free: 41.26 MB / 318.1 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.002578/0.2428, allocations: 1.686 MB / 404.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2429, allocations: 10.59 kB / 404.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.2431, allocations: 161.9 kB / 404.7 MB, free: 39.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.2442, allocations: 0.8938 MB / 405.6 MB, free: 39.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.2444, allocations: 299.3 kB / 405.9 MB, free: 38.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.2446, allocations: 123.6 kB / 406 MB, free: 38.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.246, allocations: 1.117 MB / 407.1 MB, free: 38.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.2461, allocations: 9.062 kB / 407.1 MB, free: 38.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.2462, allocations: 46.38 kB / 407.2 MB, free: 37.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.2462, allocations: 25.12 kB / 407.2 MB, free: 37.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2474, allocations: 0.7212 MB / 407.9 MB, free: 37.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/0.2517, allocations: 3.847 MB / 411.8 MB, free: 34.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.2531, allocations: 0.8445 MB / 412.6 MB, free: 33.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.2536, allocations: 423 kB / 413 MB, free: 33.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.2537, allocations: 20.98 kB / 413 MB, free: 33.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2537, allocations: 43.56 kB / 413.1 MB, free: 33.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.005e-06/0.2537, allocations: 0 / 413.1 MB, free: 33.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001587/0.2553, allocations: 1.076 MB / 414.2 MB, free: 32.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.2554, allocations: 388.8 kB / 414.5 MB, free: 31.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.2562, allocations: 0.9088 MB / 415.4 MB, free: 31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.2563, allocations: 49.7 kB / 415.5 MB, free: 30.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.2565, allocations: 0.5938 MB / 416.1 MB, free: 30.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.2567, allocations: 382.5 kB / 416.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.257, allocations: 263.4 kB / 416.7 MB, free: 29.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.2571, allocations: 357.9 kB / 417.1 MB, free: 29.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.2576, allocations: 359.8 kB / 417.4 MB, free: 28.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.2583, allocations: 0.7564 MB / 418.2 MB, free: 28.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2594, allocations: 1.08 MB / 419.3 MB, free: 26.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2594, allocations: 4 kB / 419.3 MB, free: 26.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001563/0.261, allocations: 1.269 MB / 420.5 MB, free: 25.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.261, allocations: 12.06 kB / 420.5 MB, free: 25.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.261, allocations: 11.94 kB / 420.6 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.2611, allocations: 16 kB / 420.6 MB, free: 25.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.2624, allocations: 339.5 kB / 420.9 MB, free: 25.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.2624, allocations: 23.94 kB / 420.9 MB, free: 25.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.2631, allocations: 134.6 kB / 421.1 MB, free: 25.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.2632, allocations: 59.98 kB / 421.1 MB, free: 24.99 MB / 318.1 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.ATreq_in,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_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004331/0.2636, allocations: 282 kB / 421.4 MB, free: 24.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2638, allocations: 130.4 kB / 421.5 MB, free: 24.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2657, allocations: 1.045 MB / 422.6 MB, free: 23.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2657, allocations: 12 kB / 422.6 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.2657, allocations: 3.984 kB / 422.6 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2657, allocations: 3.984 kB / 422.6 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2669, allocations: 1.07 MB / 423.7 MB, free: 22.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2669, allocations: 0 / 423.7 MB, free: 22.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.2685, allocations: 307.6 kB / 424 MB, free: 22.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.2686, allocations: 4 kB / 424 MB, free: 22.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.2686, allocations: 31.98 kB / 424 MB, free: 22.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.2687, allocations: 4 kB / 424 MB, free: 22.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2687, allocations: 0 / 424 MB, free: 22.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.2704, allocations: 1.459 MB / 425.5 MB, free: 20.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2706, allocations: 207.2 kB / 425.7 MB, free: 20.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2707, allocations: 28 kB / 425.7 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.2712, allocations: 35.92 kB / 425.7 MB, free: 20.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.2713, allocations: 60.91 kB / 425.8 MB, free: 20.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.2714, allocations: 35.98 kB / 425.8 MB, free: 20.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005484/0.2719, allocations: 0.5865 MB / 426.4 MB, free: 19.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.272, allocations: 4 kB / 426.4 MB, free: 19.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006883/0.2727, allocations: 231.4 kB / 426.6 MB, free: 19.36 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.2728, allocations: 147.1 kB / 426.8 MB, free: 19.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.2748, allocations: 0.9868 MB / 427.8 MB, free: 18.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2748, allocations: 5.938 kB / 427.8 MB, free: 18.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.2752, allocations: 453.5 kB / 428.2 MB, free: 17.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.2759, allocations: 160.2 kB / 428.4 MB, free: 17.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.2793, allocations: 2.767 MB / 431.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.2798, allocations: 1.154 MB / 432.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.2801, allocations: 111.4 kB / 432.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2801, allocations: 0 / 432.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of Templates: time 0.01532/0.2954, allocations: 13.92 MB / 446.3 MB, free: 15.6 MB / 334.1 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)