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.0009217/0.0009217, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000972/0.000972, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05207/0.05207, allocations: 10.74 MB / 281.1 MB, free: 10.43 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.0004758/0.0004759, allocations: 15.34 kB / 341.6 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/0.08955, allocations: 50.01 MB / 391.6 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00378/0.09337, allocations: 3.525 MB / 395.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.09624, allocations: 1.65 MB / 396.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.09705, allocations: 59.44 kB / 396.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.09731, allocations: 71.06 kB / 396.9 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006764/0.098, allocations: 147.3 kB / 397 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.09958, allocations: 0.6513 MB / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1009, allocations: 0.8336 MB / 398.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005234/0.1014, allocations: 315.3 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.1022, allocations: 0.5171 MB / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.1029, allocations: 469.2 kB / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.1031, allocations: 44 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1033, allocations: 40 kB / 399.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1035, allocations: 215 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.1037, allocations: 217 kB / 400.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.1046, allocations: 0.8654 MB / 401.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1046, allocations: 0 / 401.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1046, allocations: 0 / 401.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.1046, allocations: 7.875 kB / 401.2 MB, free: 12.12 MB / 302.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.002668/0.1073, allocations: 1.456 MB / 402.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1073, allocations: 8.031 kB / 402.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.1077, allocations: 170 kB / 402.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.109, allocations: 0.8382 MB / 403.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.1092, allocations: 299.6 kB / 403.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.1095, allocations: 127.8 kB / 404.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.1112, allocations: 1.101 MB / 405.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.1113, allocations: 3.938 kB / 405.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.1114, allocations: 51.98 kB / 405.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1114, allocations: 24 kB / 405.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1126, allocations: 0.7182 MB / 406 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.1176, allocations: 3.883 MB / 409.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1191, allocations: 0.8349 MB / 410.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.158e-05/0.1192, allocations: 21.05 kB / 410.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1192, allocations: 47.5 kB / 410.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.457e-06/0.1192, allocations: 0 / 410.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.001889/0.1211, allocations: 1.096 MB / 411.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/0.1214, allocations: 372.8 kB / 412.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1226, allocations: 0.905 MB / 413.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.221e-05/0.1227, allocations: 53.64 kB / 413.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.1232, allocations: 0.5898 MB / 413.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.1235, allocations: 378.5 kB / 414.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.1235, allocations: 32 kB / 414.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1237, allocations: 357.9 kB / 414.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.1243, allocations: 351.9 kB / 414.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/0.1252, allocations: 0.7408 MB / 415.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.1259, allocations: 466.2 kB / 416 MB, free: 12.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1259, allocations: 0 / 416 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001965/0.1279, allocations: 1.265 MB / 417.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.128, allocations: 8 kB / 417.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.128, allocations: 8 kB / 417.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.128, allocations: 20 kB / 417.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.1294, allocations: 344 kB / 417.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-05/0.1295, allocations: 27.86 kB / 417.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.1303, allocations: 126.7 kB / 417.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.1304, allocations: 59.95 kB / 417.9 MB, free: 10.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006202/0.131, allocations: 274.1 kB / 418.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.1313, allocations: 130.4 kB / 418.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.1332, allocations: 1.053 MB / 419.3 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.1332, allocations: 12 kB / 419.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1332, allocations: 0 / 419.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.1332, allocations: 7.922 kB / 419.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.1346, allocations: 1.082 MB / 420.4 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.1346, allocations: 3.938 kB / 420.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.1363, allocations: 303.7 kB / 420.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/0.1363, allocations: 8 kB / 420.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.1364, allocations: 35.98 kB / 420.8 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.1365, allocations: 4 kB / 420.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1365, allocations: 0 / 420.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.1385, allocations: 1.459 MB / 422.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.1387, allocations: 207.2 kB / 422.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.1388, allocations: 28 kB / 422.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.1394, allocations: 31.98 kB / 422.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1395, allocations: 72.89 kB / 422.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.1396, allocations: 27.98 kB / 422.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006857/0.1403, allocations: 0.5787 MB / 423.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1403, allocations: 0 / 423.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007389/0.141, allocations: 235.3 kB / 423.4 MB, free: 5.082 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 (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.0001806/0.1412, allocations: 147.1 kB / 423.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1427, allocations: 0.9366 MB / 424.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1428, allocations: 0 / 424.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.1434, allocations: 455 kB / 424.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.1439, allocations: 128.3 kB / 425.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1482, allocations: 3.167 MB / 428.2 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1434/0.2916, allocations: 1.183 MB / 429.4 MB, free: 40.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008816/0.2925, allocations: 178.9 kB / 429.6 MB, free: 40.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.2928, allocations: 98.61 kB / 429.7 MB, free: 40.46 MB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2928, allocations: 0 / 429.7 MB, free: 40.46 MB / 318.1 MB Notification: Performance of Templates: time 0.01798/0.3108, allocations: 7.919 MB / 437.6 MB, free: 38.79 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: