Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 110.8 kB / 16.51 MB, free: 6.715 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.001077/0.001077, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1785/0.1785, allocations: 38.02 MB / 329.3 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 60.83 kB / 398.1 MB, free: 34.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1277, allocations: 58.06 MB / 456.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005112/0.1329, allocations: 3.705 MB / 459.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1352, allocations: 1.598 MB / 461.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1353, allocations: 11.94 kB / 461.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.1361, allocations: 235.2 kB / 461.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.1367, allocations: 271.1 kB / 462 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.137, allocations: 115.7 kB / 462.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1375, allocations: 0.5651 MB / 462.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.1379, allocations: 134.1 kB / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1381, allocations: 139.3 kB / 462.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1383, allocations: 159.5 kB / 463.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1384, allocations: 11.98 kB / 463.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.139, allocations: 399 kB / 463.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1391, allocations: 99.77 kB / 463.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1392, allocations: 103.5 kB / 463.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.1397, allocations: 382.8 kB / 464 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1397, allocations: 0 / 464 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1397, allocations: 0 / 464 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1397, allocations: 0 / 464 MB, free: 0.5586 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006889/0.1404, allocations: 0.5103 MB / 464.5 MB, free: 0 / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1405, allocations: 8.141 kB / 464.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.1414, allocations: 104.6 kB / 464.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1417, allocations: 266.6 kB / 464.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1417, allocations: 20.33 kB / 464.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1418, allocations: 24.2 kB / 465 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.1422, allocations: 329.8 kB / 465.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1423, allocations: 0 / 465.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.1423, allocations: 8 kB / 465.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.1423, allocations: 20 kB / 465.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.1428, allocations: 315.7 kB / 465.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1444, allocations: 1.264 MB / 466.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1447, allocations: 165.1 kB / 467 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1448, allocations: 105.7 kB / 467.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1448, allocations: 0 / 467.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1449, allocations: 42.48 kB / 467.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.1449, allocations: 0 / 467.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001508/0.1464, allocations: 0.6611 MB / 467.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1465, allocations: 89.17 kB / 467.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1467, allocations: 194.2 kB / 468.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1467, allocations: 29.7 kB / 468.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1468, allocations: 152 kB / 468.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.1469, allocations: 59.11 kB / 468.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.147, allocations: 45.7 kB / 468.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1471, allocations: 326.8 kB / 468.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1472, allocations: 83.89 kB / 468.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.1474, allocations: 161.2 kB / 469 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.1478, allocations: 254.7 kB / 469.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1478, allocations: 4 kB / 469.2 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006361/0.1484, allocations: 349.8 kB / 469.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.1485, allocations: 8 kB / 469.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1485, allocations: 0 / 469.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/0.1489, allocations: 93.06 kB / 469.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.1491, allocations: 47.91 kB / 469.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.1519, allocations: 1.955 MB / 471.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.152, allocations: 19.92 kB / 471.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1521, allocations: 8 kB / 471.7 MB, free: 8.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.1522, allocations: 161.7 kB / 471.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.1523, allocations: 19.81 kB / 471.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006/0.1529, allocations: 316.1 kB / 472.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1529, allocations: 4 kB / 472.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1529, allocations: 0 / 472.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1529, allocations: 3.984 kB / 472.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.154, allocations: 0.7487 MB / 472.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.154, allocations: 0 / 472.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1542, allocations: 23.98 kB / 472.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.1545, allocations: 80.84 kB / 473 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1545, allocations: 4 kB / 473 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.1564, allocations: 1.826 MB / 474.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.1564, allocations: 3.938 kB / 474.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.157, allocations: 410.6 kB / 475.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.157, allocations: 96.83 kB / 475.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1571, allocations: 7.938 kB / 475.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1572, allocations: 11.98 kB / 475.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1572, allocations: 19.92 kB / 475.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1573, allocations: 8 kB / 475.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1574, allocations: 140.3 kB / 475.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1574, allocations: 0 / 475.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000456/0.1578, allocations: 68 kB / 475.6 MB, free: 4.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.158, allocations: 103.2 kB / 475.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.1586, allocations: 374.5 kB / 476.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1587, allocations: 4 kB / 476.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.159, allocations: 250.6 kB / 476.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1594, allocations: 41.22 kB / 476.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.1602, allocations: 0.581 MB / 476.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1606, allocations: 0.7638 MB / 477.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1607, allocations: 41.55 kB / 477.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.1608, allocations: 19.44 kB / 477.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1608, allocations: 0 / 477.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Templates: time 0.005874/0.1667, allocations: 2.749 MB / 480.5 MB, free: 15.2 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)