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.004956/0.004956, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001207/0.001207, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.217/1.217, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05393/0.05393, allocations: 10.75 MB / 280.7 MB, free: 10.41 MB / 238.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.001289/0.001289, allocations: 67.89 kB / 390.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 49.01 MB / 439.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004283/0.2497, allocations: 4.186 MB / 444 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.2522, allocations: 1.696 MB / 445.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.2526, allocations: 67.5 kB / 445.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.2529, allocations: 152.8 kB / 445.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.2533, allocations: 173.7 kB / 446.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.2547, allocations: 0.8889 MB / 447 MB, free: 236 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2561, allocations: 1.511 MB / 448.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005472/0.2566, allocations: 428 kB / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006733/0.2573, allocations: 0.6359 MB / 449.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.2578, allocations: 0.5658 MB / 450.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.258, allocations: 121.9 kB / 450.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.2581, allocations: 121.7 kB / 450.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.2584, allocations: 315.5 kB / 450.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.2587, allocations: 0.6013 MB / 451.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.2597, allocations: 1.283 MB / 452.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2597, allocations: 1.438 kB / 452.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2597, allocations: 0 / 452.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.2597, allocations: 0 / 452.6 MB, free: 12.56 MB / 334.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.002523/0.2623, allocations: 1.679 MB / 454.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2623, allocations: 9.031 kB / 454.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.2625, allocations: 166.2 kB / 454.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.2639, allocations: 0.998 MB / 455.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.264, allocations: 299.9 kB / 455.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.2642, allocations: 124.4 kB / 455.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.2658, allocations: 1.119 MB / 456.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.2658, allocations: 6.156 kB / 457 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.2659, allocations: 42.78 kB / 457 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.2659, allocations: 28.22 kB / 457 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2671, allocations: 0.7222 MB / 457.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.2718, allocations: 3.82 MB / 461.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2731, allocations: 0.8417 MB / 462.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.2737, allocations: 421.3 kB / 462.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.2738, allocations: 22.17 kB / 462.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.2739, allocations: 53.06 kB / 462.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.184e-06/0.2739, allocations: 0 / 462.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.001701/0.2756, allocations: 1.08 MB / 464 MB, free: 4.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.2757, allocations: 376.8 kB / 464.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.2766, allocations: 0.9088 MB / 465.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.2767, allocations: 53.7 kB / 465.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.2771, allocations: 0.5899 MB / 465.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.2773, allocations: 386.5 kB / 466.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.2776, allocations: 267.4 kB / 466.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2777, allocations: 353.9 kB / 466.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.2783, allocations: 355.8 kB / 467.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/0.279, allocations: 0.7602 MB / 468 MB, free: 172 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.2804, allocations: 1.073 MB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.2804, allocations: 4 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00169/0.2821, allocations: 1.272 MB / 470.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2821, allocations: 8 kB / 470.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2821, allocations: 12 kB / 470.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.2821, allocations: 16.75 kB / 470.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.2835, allocations: 347.5 kB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.2835, allocations: 19.94 kB / 470.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.2841, allocations: 126.6 kB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/0.2842, allocations: 59.98 kB / 470.9 MB, free: 13.1 MB / 350.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.0003364/0.2845, allocations: 293.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.2847, allocations: 122.4 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.2863, allocations: 1.049 MB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2863, allocations: 12 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2863, allocations: 3.984 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.2863, allocations: 3.984 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2875, allocations: 1.066 MB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2875, allocations: 4 kB / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.2891, allocations: 303.6 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.2891, allocations: 4 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.2892, allocations: 35.98 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2892, allocations: 4 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2892, allocations: 0 / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.2912, allocations: 1.459 MB / 475.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.2913, allocations: 199.2 kB / 475.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2915, allocations: 36 kB / 475.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.292, allocations: 27.98 kB / 475.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.2921, allocations: 76.88 kB / 475.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.2922, allocations: 35.98 kB / 475.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005858/0.2927, allocations: 0.5903 MB / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2928, allocations: 3.938 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.2933, allocations: 235.4 kB / 476.4 MB, free: 7.457 MB / 350.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.0001399/0.2935, allocations: 139.1 kB / 476.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.2947, allocations: 0.9416 MB / 477.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2948, allocations: 0 / 477.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.2953, allocations: 453.5 kB / 478 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.296, allocations: 157.5 kB / 478.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.2997, allocations: 2.695 MB / 480.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.3002, allocations: 1.154 MB / 482 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005121/0.3007, allocations: 185.2 kB / 482.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.301, allocations: 103.4 kB / 482.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.301, allocations: 0 / 482.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Templates: time 0.0147/0.3157, allocations: 8.985 MB / 491.2 MB, free: 8.602 MB / 366.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)