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.001267/0.001268, allocations: 102.1 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.001428/0.001428, allocations: 192.1 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05189/0.05189, allocations: 8.105 MB / 299.3 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 414.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 51.51 MB / 466 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.004817/0.132, allocations: 2.051 MB / 468 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1349, allocations: 1.645 MB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1352, allocations: 8 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.1357, allocations: 131.3 kB / 469.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.1365, allocations: 234.7 kB / 470.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.1388, allocations: 1.214 MB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.1394, allocations: 378.5 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1396, allocations: 111.7 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.14, allocations: 171.5 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.1404, allocations: 195.2 kB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.1405, allocations: 32 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.1411, allocations: 295.8 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1412, allocations: 83.67 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.1414, allocations: 183.1 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008748/0.1423, allocations: 0.5455 MB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1423, allocations: 3.984 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1423, allocations: 0 / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1423, allocations: 0 / 473.2 MB, free: 10.86 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.004017/0.1464, allocations: 1.108 MB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1464, allocations: 11.97 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1465, allocations: 36.56 kB / 474.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.147, allocations: 296.2 kB / 474.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.1472, allocations: 104.5 kB / 474.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.1472, allocations: 28.38 kB / 474.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1488, allocations: 0.7135 MB / 475.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1489, allocations: 3.938 kB / 475.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.1489, allocations: 19.98 kB / 475.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.1489, allocations: 8 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009921/0.1499, allocations: 449.4 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.1522, allocations: 1.53 MB / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.1538, allocations: 0.7006 MB / 478.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.1544, allocations: 326.5 kB / 478.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.1546, allocations: 93.09 kB / 478.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.155, allocations: 269.1 kB / 478.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.315e-06/0.155, allocations: 0 / 478.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003956/0.159, allocations: 1.23 MB / 480.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1591, allocations: 144.5 kB / 480.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1594, allocations: 231.9 kB / 480.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.1595, allocations: 33.7 kB / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1596, allocations: 152.8 kB / 480.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1597, allocations: 110.5 kB / 480.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1599, allocations: 102.1 kB / 480.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.16, allocations: 342.8 kB / 481.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.1604, allocations: 205 kB / 481.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.1608, allocations: 328.5 kB / 481.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.1616, allocations: 0.5452 MB / 482.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1616, allocations: 0 / 482.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001705/0.1634, allocations: 0.7903 MB / 483.1 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.1634, allocations: 4 kB / 483.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1634, allocations: 4 kB / 483.1 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/0.1656, allocations: 464.4 kB / 483.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.166, allocations: 95.78 kB / 483.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.1676, allocations: 0.9036 MB / 484.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.168, allocations: 47.53 kB / 484.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.168, allocations: 23.98 kB / 484.6 MB, free: 14.9 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.0002428/0.1683, allocations: 169.7 kB / 484.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007102/0.169, allocations: 261 kB / 485 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.1702, allocations: 0.571 MB / 485.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.1702, allocations: 4 kB / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1702, allocations: 0 / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1703, allocations: 0 / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.1729, allocations: 1.385 MB / 487 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1729, allocations: 4.094 kB / 487 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.1733, allocations: 83.83 kB / 487.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.1753, allocations: 460.3 kB / 487.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.1754, allocations: 12 kB / 487.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.1769, allocations: 0.9114 MB / 488.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.177, allocations: 0 / 488.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.1795, allocations: 1.005 MB / 489.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1797, allocations: 108.6 kB / 489.6 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.1797, allocations: 12 kB / 489.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.1802, allocations: 51.89 kB / 489.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.1803, allocations: 19.97 kB / 489.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1803, allocations: 12 kB / 489.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.1805, allocations: 171.1 kB / 489.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1805, allocations: 0 / 489.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.1811, allocations: 107.9 kB / 489.9 MB, free: 9.426 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.0002992/0.1814, allocations: 131.2 kB / 490 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1834, allocations: 0.6977 MB / 490.7 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1835, allocations: 0 / 490.7 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1845, allocations: 332.5 kB / 491.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.1853, allocations: 157.3 kB / 491.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1877, allocations: 0.848 MB / 492.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1881, allocations: 0.781 MB / 492.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.1882, allocations: 42.94 kB / 492.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.1883, allocations: 31.44 kB / 492.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1884, allocations: 7.938 kB / 492.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01103/0.1994, allocations: 5.893 MB / 498.8 MB, free: 472 kB / 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)