Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 101.7 kB / 17.13 MB, free: 5.941 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.001231/0.001231, allocations: 191.2 kB / 18.06 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04622/0.04622, allocations: 8.102 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.09 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08608, allocations: 51.52 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003344/0.08945, allocations: 2.047 MB / 468.7 MB, free: 112 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.09201, allocations: 1.641 MB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.09225, allocations: 4 kB / 470.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.09273, allocations: 135.2 kB / 470.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008243/0.09359, allocations: 230.7 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.09583, allocations: 1.217 MB / 471.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.09638, allocations: 378.5 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.09659, allocations: 119.6 kB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.09683, allocations: 163.5 kB / 472.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.0971, allocations: 199.2 kB / 472.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.555e-05/0.09719, allocations: 32 kB / 472.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.09773, allocations: 283.8 kB / 473.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.09783, allocations: 91.66 kB / 473.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.09802, allocations: 175.1 kB / 473.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.09865, allocations: 0.5493 MB / 473.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.09866, allocations: 4 kB / 473.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09867, allocations: 0 / 473.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09868, allocations: 0 / 473.9 MB, free: 10.9 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003842/0.1025, allocations: 1.111 MB / 475 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1026, allocations: 15.83 kB / 475 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1027, allocations: 36.56 kB / 475.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1031, allocations: 292.2 kB / 475.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.1033, allocations: 108.5 kB / 475.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.1034, allocations: 32.36 kB / 475.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.105, allocations: 0.7213 MB / 476.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.105, allocations: 3.938 kB / 476.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.105, allocations: 12 kB / 476.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1051, allocations: 8 kB / 476.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.1061, allocations: 457.4 kB / 476.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1083, allocations: 1.514 MB / 478.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.1098, allocations: 0.7125 MB / 478.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.1105, allocations: 318.5 kB / 479.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.1106, allocations: 97.08 kB / 479.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.111, allocations: 273 kB / 479.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.111, allocations: 0 / 479.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003644/0.1147, allocations: 1.23 MB / 480.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.1148, allocations: 136.5 kB / 480.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.115, allocations: 231.9 kB / 481.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.1151, allocations: 37.7 kB / 481.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.1152, allocations: 152.8 kB / 481.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.1153, allocations: 106.5 kB / 481.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.1154, allocations: 98.14 kB / 481.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1156, allocations: 342.8 kB / 481.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.1159, allocations: 205 kB / 482.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.1163, allocations: 332.5 kB / 482.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.117, allocations: 0.5413 MB / 483 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.117, allocations: 0 / 483 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001598/0.1186, allocations: 0.7864 MB / 483.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1187, allocations: 11.98 kB / 483.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1187, allocations: 4 kB / 483.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.121, allocations: 456.4 kB / 484.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1213, allocations: 91.83 kB / 484.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.1231, allocations: 0.9153 MB / 485.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.1235, allocations: 47.52 kB / 485.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.1235, allocations: 20 kB / 485.3 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.1237, allocations: 165.6 kB / 485.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1238, allocations: 39.72 kB / 485.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.1255, allocations: 0.571 MB / 486 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1255, allocations: 7.922 kB / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1255, allocations: 0 / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.1256, allocations: 116.6 kB / 486.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.1257, allocations: 11.94 kB / 486.2 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.1262, allocations: 39.97 kB / 486.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1264, allocations: 27.95 kB / 486.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003751/0.1301, allocations: 1.035 MB / 487.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003142/0.1333, allocations: 1.202 MB / 488.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009547/0.1343, allocations: 275.7 kB / 488.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1345, allocations: 163.1 kB / 488.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Backend: time 7.61e-07/0.1345, allocations: 0 / 488.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003338/0.1379, allocations: 0.6489 MB / 489.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 0.001697/0.1396, allocations: 1.051 MB / 490.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of Templates: time 0.02338/0.163, allocations: 8.277 MB / 498.9 MB, free: 1.227 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)