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.001607/0.001607, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001861/0.001861, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.528/1.528, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07229/0.07229, allocations: 10.74 MB / 281.3 MB, free: 1.297 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.001736/0.001737, allocations: 75.89 kB / 342 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2631, allocations: 49 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005503/0.2686, allocations: 4.192 MB / 395.2 MB, free: 46.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.272, allocations: 1.697 MB / 396.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.2728, allocations: 67.59 kB / 396.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.2732, allocations: 157.6 kB / 397.1 MB, free: 45.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.2737, allocations: 169.9 kB / 397.3 MB, free: 45.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.2758, allocations: 0.8815 MB / 398.1 MB, free: 44.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.2775, allocations: 1.501 MB / 399.6 MB, free: 44.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006356/0.2782, allocations: 427.3 kB / 400.1 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.2788, allocations: 0.6216 MB / 400.7 MB, free: 43.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.2793, allocations: 0.5753 MB / 401.3 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.2795, allocations: 119.7 kB / 401.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2796, allocations: 122.8 kB / 401.5 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.2798, allocations: 303 kB / 401.8 MB, free: 42.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.2802, allocations: 0.6086 MB / 402.4 MB, free: 42.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.2815, allocations: 1.271 MB / 403.7 MB, free: 41.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2815, allocations: 4 kB / 403.7 MB, free: 41.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.2815, allocations: 0 / 403.7 MB, free: 41.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.2815, allocations: 1.156 kB / 403.7 MB, free: 41.3 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.002901/0.2844, allocations: 1.682 MB / 405.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2845, allocations: 10.34 kB / 405.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.2847, allocations: 161 kB / 405.5 MB, free: 39.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.2863, allocations: 0.9957 MB / 406.5 MB, free: 39.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.2864, allocations: 299 kB / 406.8 MB, free: 38.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.2866, allocations: 124.4 kB / 406.9 MB, free: 38.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.2883, allocations: 1.12 MB / 408 MB, free: 38.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.2884, allocations: 9.344 kB / 408.1 MB, free: 38.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.2885, allocations: 42.38 kB / 408.1 MB, free: 37.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.2885, allocations: 24.84 kB / 408.1 MB, free: 37.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2898, allocations: 0.7184 MB / 408.8 MB, free: 37.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.2947, allocations: 3.827 MB / 412.7 MB, free: 34.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.2961, allocations: 0.8426 MB / 413.5 MB, free: 33.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.2966, allocations: 431.5 kB / 413.9 MB, free: 33.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.2967, allocations: 21.05 kB / 414 MB, free: 33.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2967, allocations: 43.56 kB / 414 MB, free: 33.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.455e-06/0.2967, allocations: 4 kB / 414 MB, free: 33.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001637/0.2984, allocations: 1.072 MB / 415.1 MB, free: 32.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.2985, allocations: 384.8 kB / 415.4 MB, free: 31.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008977/0.2994, allocations: 0.9166 MB / 416.4 MB, free: 30.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.2995, allocations: 45.7 kB / 416.4 MB, free: 30.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.2998, allocations: 0.586 MB / 417 MB, free: 30.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.3, allocations: 386.4 kB / 417.4 MB, free: 29.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.3003, allocations: 267.4 kB / 417.6 MB, free: 29.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.3004, allocations: 353.9 kB / 418 MB, free: 29.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.301, allocations: 359.8 kB / 418.3 MB, free: 28.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/0.3017, allocations: 0.7564 MB / 419.1 MB, free: 27.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.3029, allocations: 1.069 MB / 420.2 MB, free: 26.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3029, allocations: 8 kB / 420.2 MB, free: 26.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001579/0.3045, allocations: 1.273 MB / 421.4 MB, free: 25.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3045, allocations: 8 kB / 421.4 MB, free: 25.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3046, allocations: 16.16 kB / 421.5 MB, free: 25.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.3046, allocations: 19.94 kB / 421.5 MB, free: 25.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.3059, allocations: 339.5 kB / 421.8 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.3059, allocations: 19.94 kB / 421.8 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.3065, allocations: 134.6 kB / 422 MB, free: 24.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.3066, allocations: 63.98 kB / 422 MB, free: 24.7 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.0003568/0.307, allocations: 282 kB / 422.3 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3071, allocations: 122.4 kB / 422.4 MB, free: 24.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.3087, allocations: 1.045 MB / 423.5 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3087, allocations: 12 kB / 423.5 MB, free: 23.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3088, allocations: 4 kB / 423.5 MB, free: 23.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3088, allocations: 7.969 kB / 423.5 MB, free: 23.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.3098, allocations: 1.07 MB / 424.6 MB, free: 22.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3098, allocations: 0 / 424.6 MB, free: 22.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.3114, allocations: 303.6 kB / 424.9 MB, free: 21.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3115, allocations: 4 kB / 424.9 MB, free: 21.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.3115, allocations: 35.98 kB / 424.9 MB, free: 21.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.3116, allocations: 8 kB / 424.9 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3116, allocations: 0 / 424.9 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.3133, allocations: 1.455 MB / 426.4 MB, free: 20.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.3135, allocations: 203.2 kB / 426.6 MB, free: 20.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3137, allocations: 32 kB / 426.6 MB, free: 20.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.3142, allocations: 31.98 kB / 426.6 MB, free: 20 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3143, allocations: 84.81 kB / 426.7 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/0.3144, allocations: 31.98 kB / 426.7 MB, free: 19.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.3149, allocations: 0.5826 MB / 427.3 MB, free: 19.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3149, allocations: 0 / 427.3 MB, free: 19.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.3157, allocations: 235.4 kB / 427.5 MB, free: 19.06 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.0001539/0.3158, allocations: 147.1 kB / 427.7 MB, free: 18.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3171, allocations: 0.9377 MB / 428.6 MB, free: 17.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3171, allocations: 4.312 kB / 428.6 MB, free: 17.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.3176, allocations: 457.5 kB / 429.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.3183, allocations: 152.5 kB / 429.2 MB, free: 17.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.322, allocations: 2.695 MB / 431.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3226, allocations: 1.158 MB / 433.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005605/0.3231, allocations: 173.3 kB / 433.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.3234, allocations: 99.42 kB / 433.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3234, allocations: 0 / 433.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of Templates: time 0.01543/0.3388, allocations: 8.771 MB / 442.1 MB, free: 4.453 MB / 318.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 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1)