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.0008058/0.000806, allocations: 92.09 kB / 16.65 MB, free: 6.535 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.001028/0.001028, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.466/1.466, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1678/0.1678, allocations: 38.09 MB / 330.8 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004016, allocations: 9.375 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1456, allocations: 59.16 MB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006655/0.1523, allocations: 4.81 MB / 464.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.1558, allocations: 1.722 MB / 466.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.1565, allocations: 27.81 kB / 466.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1568, allocations: 63.47 kB / 466.5 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.1578, allocations: 258.9 kB / 466.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008847/0.1587, allocations: 223.6 kB / 467 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.16, allocations: 0.9276 MB / 467.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.1609, allocations: 472.5 kB / 468.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.1613, allocations: 226.9 kB / 468.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000529/0.1619, allocations: 319 kB / 468.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1619, allocations: 20 kB / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.1622, allocations: 135.7 kB / 469 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.1625, allocations: 203.4 kB / 469.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.1627, allocations: 256.4 kB / 469.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.1634, allocations: 0.5683 MB / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1634, allocations: 0 / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1634, allocations: 0 / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1634, allocations: 0 / 470.1 MB, free: 12.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.001294/0.1647, allocations: 0.688 MB / 470.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1648, allocations: 12.03 kB / 470.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006196/0.1654, allocations: 92.22 kB / 470.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.166, allocations: 396 kB / 471.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.166, allocations: 29.38 kB / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1662, allocations: 56.09 kB / 471.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.1671, allocations: 0.656 MB / 472 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1672, allocations: 11.94 kB / 472 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.1672, allocations: 19.98 kB / 472 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.1674, allocations: 44.97 kB / 472 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.1681, allocations: 499.4 kB / 472.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.1715, allocations: 3.159 MB / 475.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.172, allocations: 249.3 kB / 475.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1722, allocations: 117.7 kB / 476 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.1723, allocations: 11.94 kB / 476.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.1723, allocations: 34.5 kB / 476.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.1723, allocations: 0 / 476.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001721/0.1741, allocations: 0.8882 MB / 477 MB, free: 5.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/0.1742, allocations: 85.09 kB / 477.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.1746, allocations: 328.4 kB / 477.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1746, allocations: 29.7 kB / 477.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.1749, allocations: 299 kB / 477.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.175, allocations: 90.72 kB / 477.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.1751, allocations: 41.7 kB / 477.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1753, allocations: 350.7 kB / 478.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.1755, allocations: 140.8 kB / 478.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.176, allocations: 317.2 kB / 478.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.1767, allocations: 0.501 MB / 479.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1767, allocations: 0 / 479.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001143/0.1778, allocations: 0.592 MB / 479.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1778, allocations: 8 kB / 479.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006047/0.1785, allocations: 330 kB / 480 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.1789, allocations: 113.6 kB / 480.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.1792, allocations: 87.83 kB / 480.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.1824, allocations: 3.038 MB / 483.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.1828, allocations: 20 kB / 483.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1828, allocations: 16 kB / 483.3 MB, free: 14.6 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.0003404/0.1832, allocations: 220.5 kB / 483.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.1833, allocations: 39.59 kB / 483.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.1838, allocations: 324.8 kB / 483.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1838, allocations: 3.938 kB / 483.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1839, allocations: 4 kB / 483.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1839, allocations: 0 / 483.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.185, allocations: 0.8082 MB / 484.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.185, allocations: 3.984 kB / 484.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.1853, allocations: 55.91 kB / 484.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1853, allocations: 4 kB / 484.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.1854, allocations: 8 kB / 484.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1854, allocations: 0 / 484.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1854, allocations: 0 / 484.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.1861, allocations: 0.5128 MB / 485.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1862, allocations: 124.8 kB / 485.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1863, allocations: 8 kB / 485.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1864, allocations: 11.98 kB / 485.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1865, allocations: 19.92 kB / 485.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1865, allocations: 7.984 kB / 485.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.1867, allocations: 223.1 kB / 485.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1867, allocations: 0 / 485.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.1872, allocations: 100 kB / 485.8 MB, free: 12.02 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.0001362/0.1874, allocations: 111.2 kB / 485.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.1884, allocations: 0.5765 MB / 486.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1884, allocations: 0 / 486.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.1886, allocations: 131.7 kB / 486.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.1891, allocations: 65.27 kB / 486.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1909, allocations: 1.262 MB / 487.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.1914, allocations: 0.8701 MB / 488.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.1917, allocations: 111.2 kB / 488.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.1918, allocations: 35.42 kB / 488.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1919, allocations: 0 / 488.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of Templates: time 0.008323/0.2002, allocations: 3.619 MB / 492.5 MB, free: 5.18 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)