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.001857/0.001856, allocations: 99.41 kB / 16.5 MB, free: 6.641 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.001964/0.001964, allocations: 193.2 kB / 17.42 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.03 MB / 329.3 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001564, allocations: 65.22 kB / 398.1 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 58.07 MB / 456.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.008057/0.1326, allocations: 5.189 MB / 461.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.136, allocations: 1.764 MB / 463.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.1366, allocations: 23.81 kB / 463.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.1377, allocations: 267 kB / 463.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007681/0.1385, allocations: 250.9 kB / 463.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.1392, allocations: 227.6 kB / 463.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1403, allocations: 0.9315 MB / 464.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.1409, allocations: 232.3 kB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.1414, allocations: 227 kB / 465.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.1421, allocations: 342.9 kB / 465.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1422, allocations: 24 kB / 465.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.1426, allocations: 147.7 kB / 465.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.1429, allocations: 203.5 kB / 465.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.1433, allocations: 238.7 kB / 466.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.144, allocations: 0.58 MB / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1441, allocations: 8 kB / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1441, allocations: 0 / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.1441, allocations: 0 / 466.8 MB, free: 13.82 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.001656/0.1458, allocations: 0.7583 MB / 467.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1458, allocations: 8.031 kB / 467.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.1465, allocations: 92.2 kB / 467.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.1472, allocations: 400 kB / 468 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1473, allocations: 37.31 kB / 468 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.1474, allocations: 60.03 kB / 468.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1485, allocations: 0.6599 MB / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1485, allocations: 3.938 kB / 468.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.1486, allocations: 16 kB / 468.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.1487, allocations: 56.95 kB / 468.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.1496, allocations: 491.5 kB / 469.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.1534, allocations: 3.163 MB / 472.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.1539, allocations: 245.3 kB / 472.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1541, allocations: 113.7 kB / 472.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.1542, allocations: 15.94 kB / 472.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1542, allocations: 34.55 kB / 472.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.654e-06/0.1542, allocations: 0 / 472.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001645/0.1559, allocations: 0.8871 MB / 473.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.1559, allocations: 81.23 kB / 473.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.1563, allocations: 332.4 kB / 474.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1564, allocations: 29.7 kB / 474.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.1566, allocations: 295 kB / 474.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.1567, allocations: 86.75 kB / 474.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1568, allocations: 90.02 kB / 474.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.157, allocations: 354.7 kB / 475 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.1572, allocations: 128.8 kB / 475.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.1576, allocations: 329.1 kB / 475.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.1582, allocations: 0.4933 MB / 476 MB, free: 3.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1582, allocations: 4 kB / 476 MB, free: 3.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001204/0.1595, allocations: 0.592 MB / 476.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1595, allocations: 8 kB / 476.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006427/0.1601, allocations: 333.9 kB / 476.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004564/0.1606, allocations: 113.6 kB / 477 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1609, allocations: 91.83 kB / 477.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.1638, allocations: 3.041 MB / 480.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.1641, allocations: 15.98 kB / 480.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.1641, allocations: 24 kB / 480.2 MB, free: 15.47 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.0002755/0.1644, allocations: 217.5 kB / 480.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.1645, allocations: 31.62 kB / 480.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.165, allocations: 321 kB / 480.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1651, allocations: 4 kB / 480.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1651, allocations: 0 / 480.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1651, allocations: 0 / 480.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.1663, allocations: 0.812 MB / 481.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1663, allocations: 0 / 481.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.1667, allocations: 64.02 kB / 481.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1667, allocations: 0 / 481.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1667, allocations: 8 kB / 481.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1667, allocations: 11.88 kB / 481.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1667, allocations: 0 / 481.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.1674, allocations: 0.4992 MB / 482.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.1676, allocations: 128.7 kB / 482.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.1676, allocations: 8 kB / 482.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1678, allocations: 11.98 kB / 482.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1679, allocations: 19.86 kB / 482.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1679, allocations: 15.98 kB / 482.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.1682, allocations: 219.1 kB / 482.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.1682, allocations: 0 / 482.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.1687, allocations: 103.9 kB / 482.6 MB, free: 12.89 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.0001633/0.1688, allocations: 103.2 kB / 482.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.1698, allocations: 0.5725 MB / 483.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1698, allocations: 0 / 483.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.17, allocations: 131.7 kB / 483.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.1705, allocations: 57.41 kB / 483.5 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1723, allocations: 1.198 MB / 484.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.1729, allocations: 0.8701 MB / 485.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003701/0.1733, allocations: 111.2 kB / 485.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.1733, allocations: 27.44 kB / 485.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of SimCode: time 2.515e-06/0.1734, allocations: 4 kB / 485.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of Templates: time 0.008361/0.1817, allocations: 3.663 MB / 489.3 MB, free: 6.09 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)