Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 104 kB / 16.45 MB, free: 6.445 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.001415/0.001416, 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06767/0.06767, allocations: 8.094 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 63.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1409, allocations: 51.52 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002776/0.1437, allocations: 1.251 MB / 467.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1462, allocations: 1.497 MB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1464, allocations: 0 / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.1469, allocations: 115.5 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1475, allocations: 99.39 kB / 468.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.1497, allocations: 1.011 MB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1501, allocations: 155.2 kB / 470.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.1503, allocations: 53.52 kB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1504, allocations: 71.7 kB / 470.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1506, allocations: 87.61 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1507, allocations: 16 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.1512, allocations: 227.8 kB / 470.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.1512, allocations: 27.86 kB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1514, allocations: 83.59 kB / 470.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.152, allocations: 335.1 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.152, allocations: 0 / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.152, allocations: 0 / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.152, allocations: 0 / 471 MB, free: 13.14 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0026/0.1546, allocations: 0.7253 MB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1547, allocations: 8.031 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.473e-05/0.1548, allocations: 20.75 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1551, allocations: 220 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1551, allocations: 16.59 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1552, allocations: 16.31 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.1556, allocations: 206 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1556, allocations: 192 / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1556, allocations: 11.94 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1556, allocations: 0 / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.1559, allocations: 160.6 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1572, allocations: 0.7301 MB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.1577, allocations: 194.5 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1579, allocations: 96.83 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.1579, allocations: 7.984 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.158, allocations: 42.5 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.158, allocations: 0 / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002136/0.1601, allocations: 0.5924 MB / 474 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.1602, allocations: 81.11 kB / 474.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1604, allocations: 170.6 kB / 474.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1605, allocations: 29.7 kB / 474.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.1606, allocations: 120.3 kB / 474.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.1606, allocations: 55.2 kB / 474.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1607, allocations: 45.69 kB / 474.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1609, allocations: 334.8 kB / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.161, allocations: 95.97 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1613, allocations: 138.4 kB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1616, allocations: 224.8 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1616, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001119/0.1628, allocations: 426 kB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1628, allocations: 7.984 kB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1628, allocations: 0 / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.1639, allocations: 200.6 kB / 475.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1641, allocations: 43.97 kB / 475.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.1671, allocations: 1.969 MB / 477.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.1673, allocations: 23.75 kB / 477.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1673, allocations: 7.984 kB / 477.9 MB, free: 5.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.1675, allocations: 137.8 kB / 478.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1675, allocations: 11.91 kB / 478.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.1687, allocations: 392.1 kB / 478.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1687, allocations: 0 / 478.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1687, allocations: 7.938 kB / 478.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1687, allocations: 3.984 kB / 478.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1691, allocations: 305.3 kB / 478.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1691, allocations: 0 / 478.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.1692, allocations: 27.92 kB / 478.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.1702, allocations: 196.6 kB / 479 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1703, allocations: 8 kB / 479 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.173, allocations: 1.949 MB / 481 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1731, allocations: 0 / 481 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1742, allocations: 455 kB / 481.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.1743, allocations: 96.86 kB / 481.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.1744, allocations: 7.938 kB / 481.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1746, allocations: 11.98 kB / 481.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1746, allocations: 15.98 kB / 481.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1747, allocations: 4 kB / 481.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1748, allocations: 140.2 kB / 481.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1748, allocations: 0 / 481.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.1753, allocations: 64 kB / 481.7 MB, free: 1.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002433/0.1755, allocations: 115.2 kB / 481.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1765, allocations: 415.1 kB / 482.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1766, allocations: 4 kB / 482.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.1772, allocations: 282.5 kB / 482.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1775, allocations: 20 kB / 482.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.1782, allocations: 370.5 kB / 482.9 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1785, allocations: 0.7281 MB / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.1786, allocations: 21.39 kB / 483.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.1787, allocations: 23.44 kB / 483.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1787, allocations: 0 / 483.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.009379/0.1881, allocations: 4.207 MB / 487.9 MB, free: 11.46 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)