Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 115 kB / 16.63 MB, free: 6.812 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.001586/0.001586, allocations: 186 kB / 17.55 MB, free: 5.934 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.478/1.478, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1726/0.1726, allocations: 38.02 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 70.36 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 58.06 MB / 456.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00684/0.1272, allocations: 5.224 MB / 461.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.13, allocations: 1.64 MB / 463.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.1303, allocations: 27.81 kB / 463.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.1314, allocations: 362.7 kB / 463.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.132, allocations: 219.1 kB / 463.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.1327, allocations: 231.5 kB / 464 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000614/0.1334, allocations: 0.5612 MB / 464.6 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.134, allocations: 354.5 kB / 464.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.1343, allocations: 251 kB / 465.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.1348, allocations: 342.9 kB / 465.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.1349, allocations: 36 kB / 465.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1351, allocations: 143.8 kB / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.1354, allocations: 223.5 kB / 465.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.1356, allocations: 254.7 kB / 466.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.1362, allocations: 0.588 MB / 466.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1362, allocations: 4 kB / 466.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1362, allocations: 0 / 466.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1362, allocations: 3.938 kB / 466.7 MB, free: 13.98 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001404/0.1377, allocations: 0.7698 MB / 467.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1377, allocations: 11.89 kB / 467.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.1384, allocations: 92.22 kB / 467.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.1389, allocations: 396 kB / 468 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.139, allocations: 33.38 kB / 468 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1391, allocations: 60.09 kB / 468.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.14, allocations: 0.6411 MB / 468.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1401, allocations: 0 / 468.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.1401, allocations: 19.98 kB / 468.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.1402, allocations: 32.98 kB / 468.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.141, allocations: 483.5 kB / 469.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.1443, allocations: 3.018 MB / 472.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1447, allocations: 189 kB / 472.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1448, allocations: 112.4 kB / 472.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.1449, allocations: 4 kB / 472.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1449, allocations: 38.56 kB / 472.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.1449, allocations: 0 / 472.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001414/0.1464, allocations: 0.8308 MB / 473.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1464, allocations: 85 kB / 473.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1467, allocations: 353.6 kB / 473.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1468, allocations: 29.7 kB / 473.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.147, allocations: 307 kB / 474.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.147, allocations: 78.91 kB / 474.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1471, allocations: 82.05 kB / 474.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1473, allocations: 342.8 kB / 474.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1474, allocations: 128.8 kB / 474.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.1478, allocations: 334.8 kB / 475.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.1485, allocations: 0.493 MB / 475.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1485, allocations: 4 kB / 475.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.1495, allocations: 0.5558 MB / 476.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1495, allocations: 14.83 kB / 476.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000495/0.15, allocations: 278.9 kB / 476.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.1504, allocations: 80.78 kB / 476.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.1507, allocations: 95.83 kB / 476.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.1526, allocations: 1.719 MB / 478.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.1529, allocations: 19.89 kB / 478.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1529, allocations: 24 kB / 478.4 MB, free: 1.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002813/0.1532, allocations: 221.7 kB / 478.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.1533, allocations: 39.61 kB / 478.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.1538, allocations: 288.6 kB / 479 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1538, allocations: 7.938 kB / 479 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.1538, allocations: 0 / 479 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1538, allocations: 0 / 479 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.155, allocations: 0.7945 MB / 479.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.155, allocations: 0 / 479.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.1553, allocations: 59.91 kB / 479.8 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1553, allocations: 3.938 kB / 479.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1554, allocations: 11.98 kB / 479.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1554, allocations: 4 kB / 479.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-05/0.1554, allocations: 8.203 kB / 479.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.156, allocations: 482.1 kB / 480.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1561, allocations: 100.7 kB / 480.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.1561, allocations: 8 kB / 480.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1563, allocations: 19.92 kB / 480.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1563, allocations: 11.98 kB / 480.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1564, allocations: 12 kB / 480.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.1566, allocations: 231.2 kB / 480.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1566, allocations: 0 / 480.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.1571, allocations: 96 kB / 480.8 MB, free: 15.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0001366/0.1572, allocations: 107.2 kB / 480.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.158, allocations: 467.7 kB / 481.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.158, allocations: 0 / 481.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.1582, allocations: 119 kB / 481.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1587, allocations: 76.67 kB / 481.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1604, allocations: 1.165 MB / 482.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.1609, allocations: 0.8778 MB / 483.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003022/0.1612, allocations: 115.1 kB / 483.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1614, allocations: 27.44 kB / 483.7 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1614, allocations: 0 / 483.7 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.007678/0.169, allocations: 3.517 MB / 487.2 MB, free: 8.5 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)