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.001127/0.001127, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.00115/0.00115, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.368/1.368, 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.05963/0.05963, allocations: 10.74 MB / 281.3 MB, free: 1.289 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.001491/0.001491, allocations: 72.05 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07601/0.07751, allocations: 49.04 MB / 440.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004087/0.08164, allocations: 4.182 MB / 444.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.08449, allocations: 1.689 MB / 446.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.08498, allocations: 67.44 kB / 446.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.08534, allocations: 161.9 kB / 446.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.08579, allocations: 174.2 kB / 446.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.08733, allocations: 0.8814 MB / 447.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.08867, allocations: 1.508 MB / 449.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.08925, allocations: 440.2 kB / 449.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.08987, allocations: 0.6225 MB / 450.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.09047, allocations: 0.5786 MB / 450.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.09064, allocations: 128 kB / 450.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.09081, allocations: 120 kB / 451.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.09105, allocations: 306.8 kB / 451.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.09151, allocations: 0.6094 MB / 452 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.09257, allocations: 1.28 MB / 453.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.09258, allocations: 0 / 453.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09259, allocations: 0 / 453.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.09261, allocations: 0 / 453.3 MB, free: 7.016 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.002761/0.09537, allocations: 1.678 MB / 454.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.09542, allocations: 15.91 kB / 454.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.09567, allocations: 163.1 kB / 455.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.09714, allocations: 0.9945 MB / 456.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.09735, allocations: 300.2 kB / 456.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.09752, allocations: 124.3 kB / 456.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.09917, allocations: 1.114 MB / 457.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.0992, allocations: 7.938 kB / 457.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.0993, allocations: 44 kB / 457.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.09932, allocations: 24 kB / 457.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1005, allocations: 0.7299 MB / 458.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.1052, allocations: 3.812 MB / 462.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.1067, allocations: 0.8372 MB / 463.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.1073, allocations: 422.3 kB / 463.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.668e-05/0.1074, allocations: 21.05 kB / 463.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1074, allocations: 47.56 kB / 463.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.344e-06/0.1074, allocations: 7.938 kB / 463.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=99): time 0.001785/0.1092, allocations: 1.076 MB / 464.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.1094, allocations: 380.8 kB / 465 MB, free: 10.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.1104, allocations: 0.9143 MB / 465.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/0.1104, allocations: 45.7 kB / 466 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.1109, allocations: 0.5938 MB / 466.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.1111, allocations: 374.5 kB / 466.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.1115, allocations: 267.4 kB / 467.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1116, allocations: 365.9 kB / 467.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.1122, allocations: 351.9 kB / 467.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008952/0.1131, allocations: 0.7524 MB / 468.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.1146, allocations: 1.08 MB / 469.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1146, allocations: 0 / 469.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001931/0.1166, allocations: 1.269 MB / 471 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1166, allocations: 12 kB / 471 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.1166, allocations: 11.98 kB / 471 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1167, allocations: 19.94 kB / 471 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.1181, allocations: 347.9 kB / 471.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.1182, allocations: 23.94 kB / 471.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.1188, allocations: 134.6 kB / 471.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.1189, allocations: 56 kB / 471.6 MB, free: 3.824 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.0003828/0.1193, allocations: 277.4 kB / 471.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.1195, allocations: 126.4 kB / 472 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1212, allocations: 1.053 MB / 473 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.1213, allocations: 3.984 kB / 473 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1213, allocations: 0 / 473 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1214, allocations: 207.2 kB / 473.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.1216, allocations: 28 kB / 473.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005414/0.1221, allocations: 35.92 kB / 473.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.1223, allocations: 80.88 kB / 473.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003361/0.1257, allocations: 1.231 MB / 474.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002386/0.1281, allocations: 1.619 MB / 476.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006978/0.1288, allocations: 427.8 kB / 476.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007152/0.1295, allocations: 0.5826 MB / 477.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Backend: time 3.8e-07/0.1295, allocations: 0 / 477.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.131, allocations: 0.7614 MB / 478 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 0.003193/0.1342, allocations: 2.902 MB / 480.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of Templates: time 0.02108/0.1553, allocations: 11.56 MB / 492.5 MB, free: 14.86 MB / 382.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)