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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001118/0.001118, allocations: 107.7 kB / 16.45 MB, free: 6.449 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.001057/0.001057, allocations: 189.5 kB / 17.39 MB, free: 5.668 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.461/1.461, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05493/0.05493, allocations: 8.106 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 51.51 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003146/0.1117, allocations: 2.062 MB / 468.1 MB, free: 112 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.1142, allocations: 1.637 MB / 469.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1143, allocations: 4 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.1147, allocations: 139.2 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.1154, allocations: 226.8 kB / 470 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1175, allocations: 1.217 MB / 471.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.118, allocations: 374.5 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.1182, allocations: 115.7 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1185, allocations: 163.5 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.1188, allocations: 199.2 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.1188, allocations: 32 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.1193, allocations: 291.7 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1194, allocations: 87.7 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1196, allocations: 179.1 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.1203, allocations: 0.5532 MB / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1203, allocations: 0 / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1203, allocations: 0 / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1203, allocations: 4 kB / 473.2 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.003927/0.1242, allocations: 1.104 MB / 474.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1243, allocations: 8.031 kB / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1244, allocations: 40.56 kB / 474.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1248, allocations: 300.1 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.125, allocations: 100.5 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.1251, allocations: 32.38 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.1266, allocations: 0.7097 MB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1267, allocations: 3.938 kB / 475.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.1267, allocations: 12 kB / 475.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1267, allocations: 8 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.1277, allocations: 453.4 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.1299, allocations: 1.534 MB / 477.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.1316, allocations: 0.7077 MB / 478.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.1322, allocations: 322.4 kB / 478.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.1323, allocations: 93.09 kB / 478.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.1327, allocations: 276.9 kB / 478.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.754e-06/0.1328, allocations: 0 / 478.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003725/0.1365, allocations: 1.23 MB / 480.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1366, allocations: 136.5 kB / 480.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1369, allocations: 231.9 kB / 480.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.1369, allocations: 37.7 kB / 480.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.137, allocations: 152.8 kB / 480.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1372, allocations: 114.5 kB / 480.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.1373, allocations: 98.14 kB / 480.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1375, allocations: 338.8 kB / 481.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.1378, allocations: 205 kB / 481.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.1382, allocations: 336.4 kB / 481.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.1389, allocations: 0.5375 MB / 482.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.139, allocations: 0 / 482.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001601/0.1406, allocations: 0.7903 MB / 483.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1406, allocations: 7.984 kB / 483.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1406, allocations: 4 kB / 483.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.1429, allocations: 460.4 kB / 483.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.1433, allocations: 95.83 kB / 483.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.1448, allocations: 0.8997 MB / 484.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.1452, allocations: 51.52 kB / 484.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.1452, allocations: 20 kB / 484.6 MB, free: 14.95 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.0002377/0.1454, allocations: 177.7 kB / 484.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.1462, allocations: 249.1 kB / 485 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.1474, allocations: 0.571 MB / 485.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1474, allocations: 4 kB / 485.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1474, allocations: 0 / 485.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.1474, allocations: 7.984 kB / 485.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.1501, allocations: 1.39 MB / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1501, allocations: 4 kB / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.1505, allocations: 83.88 kB / 487.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/0.1526, allocations: 456.4 kB / 487.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.1526, allocations: 15.97 kB / 487.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.1542, allocations: 0.9153 MB / 488.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1542, allocations: 0 / 488.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.1568, allocations: 0.997 MB / 489.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1569, allocations: 108.6 kB / 489.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.157, allocations: 15.98 kB / 489.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.1575, allocations: 43.91 kB / 489.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.1576, allocations: 23.97 kB / 489.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.1576, allocations: 15.98 kB / 489.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1578, allocations: 167.1 kB / 489.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1578, allocations: 0 / 489.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.1583, allocations: 107.9 kB / 489.9 MB, free: 9.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002524/0.1586, allocations: 131.2 kB / 490 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.1606, allocations: 0.7015 MB / 490.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1606, allocations: 4 kB / 490.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1617, allocations: 324.9 kB / 491.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.1625, allocations: 156.6 kB / 491.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.1648, allocations: 0.8554 MB / 492.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1652, allocations: 0.7771 MB / 492.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.1653, allocations: 42.94 kB / 492.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.1654, allocations: 35.42 kB / 492.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1654, allocations: 4 kB / 492.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01134/0.1768, allocations: 5.891 MB / 498.8 MB, free: 0.5078 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)