Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001279/0.00128, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.468/1.468, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1696/0.1696, allocations: 38.03 MB / 329.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.05 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1241, allocations: 58.06 MB / 456.8 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006636/0.1307, allocations: 4.56 MB / 461.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.1336, allocations: 1.554 MB / 463 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1339, allocations: 15.88 kB / 463 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.135, allocations: 290.6 kB / 463.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.1356, allocations: 262.7 kB / 463.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.1364, allocations: 263.4 kB / 463.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.1371, allocations: 0.604 MB / 464.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/0.1376, allocations: 252.3 kB / 464.6 MB, free: 232 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.1379, allocations: 270.9 kB / 464.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.1384, allocations: 330.9 kB / 465.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.1385, allocations: 36 kB / 465.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.1388, allocations: 135.8 kB / 465.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.139, allocations: 223.4 kB / 465.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.1392, allocations: 242.8 kB / 465.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.1399, allocations: 0.5917 MB / 466.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1399, allocations: 0 / 466.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1399, allocations: 0 / 466.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1399, allocations: 4 kB / 466.4 MB, free: 14.41 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001355/0.1413, allocations: 0.7543 MB / 467.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1413, allocations: 15.89 kB / 467.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006519/0.142, allocations: 96.2 kB / 467.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.1426, allocations: 400 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1426, allocations: 29.36 kB / 467.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.1428, allocations: 64.05 kB / 467.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.1437, allocations: 0.6599 MB / 468.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1438, allocations: 4 kB / 468.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.1438, allocations: 15.98 kB / 468.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.144, allocations: 52.97 kB / 468.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.1448, allocations: 495.5 kB / 469 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.1484, allocations: 3.163 MB / 472.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.1489, allocations: 241.3 kB / 472.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1491, allocations: 121.7 kB / 472.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1492, allocations: 7.938 kB / 472.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1492, allocations: 38.56 kB / 472.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.867e-06/0.1492, allocations: 0 / 472.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001547/0.1508, allocations: 0.8971 MB / 473.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.1509, allocations: 81.11 kB / 473.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1512, allocations: 328.4 kB / 473.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1513, allocations: 33.7 kB / 473.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.1515, allocations: 291.2 kB / 474.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.1516, allocations: 94.72 kB / 474.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1517, allocations: 86.05 kB / 474.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1519, allocations: 346.7 kB / 474.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1521, allocations: 132.8 kB / 474.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.1524, allocations: 329.6 kB / 475.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.153, allocations: 0.4972 MB / 475.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.153, allocations: 0 / 475.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001075/0.1541, allocations: 0.5923 MB / 476.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1541, allocations: 4 kB / 476.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006092/0.1548, allocations: 329.3 kB / 476.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.1552, allocations: 117.9 kB / 476.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1555, allocations: 95.81 kB / 476.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/0.1588, allocations: 3.277 MB / 480 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1591, allocations: 20 kB / 480.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1591, allocations: 19.98 kB / 480.1 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.1594, allocations: 217.7 kB / 480.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.1595, allocations: 27.62 kB / 480.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.1601, allocations: 320.9 kB / 480.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1601, allocations: 0 / 480.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1601, allocations: 7.938 kB / 480.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1601, allocations: 0 / 480.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1613, allocations: 0.8159 MB / 481.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1613, allocations: 144 / 481.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.1616, allocations: 51.97 kB / 481.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1616, allocations: 11.92 kB / 481.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1616, allocations: 8 kB / 481.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1616, allocations: 3.938 kB / 481.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1616, allocations: 64 / 481.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.1623, allocations: 0.5031 MB / 482 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1624, allocations: 136.5 kB / 482.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1625, allocations: 8 kB / 482.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1626, allocations: 11.98 kB / 482.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.1627, allocations: 27.91 kB / 482.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1627, allocations: 4 kB / 482.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.163, allocations: 219.1 kB / 482.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.163, allocations: 0 / 482.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.1635, allocations: 100 kB / 482.5 MB, free: 13.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.1636, allocations: 107.2 kB / 482.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009577/0.1646, allocations: 0.6078 MB / 483.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1646, allocations: 4 kB / 483.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1648, allocations: 126.5 kB / 483.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.1653, allocations: 79.91 kB / 483.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.167, allocations: 0.992 MB / 484.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.1676, allocations: 0.8699 MB / 485.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000306/0.1679, allocations: 115.2 kB / 485.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.168, allocations: 31.42 kB / 485.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.168, allocations: 0 / 485.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Templates: time 0.008701/0.1767, allocations: 3.797 MB / 489.2 MB, free: 6.449 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)