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.001055/0.001055, allocations: 105.5 kB / 17.59 MB, free: 5.438 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.001007/0.001007, allocations: 191.3 kB / 18.52 MB, free: 4.516 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.313/1.313, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1785/0.1785, allocations: 38.03 MB / 330.4 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 61.52 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 58.06 MB / 457.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007432/0.1264, allocations: 4.569 MB / 462.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.1292, allocations: 1.476 MB / 463.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.1296, allocations: 11.94 kB / 463.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.131, allocations: 385.8 kB / 464 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008855/0.1319, allocations: 238.8 kB / 464.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.1328, allocations: 259.4 kB / 464.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.1338, allocations: 0.5534 MB / 465 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005938/0.1344, allocations: 334.4 kB / 465.3 MB, free: 260 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.1349, allocations: 255 kB / 465.6 MB, free: 4 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.1355, allocations: 315 kB / 465.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1356, allocations: 36 kB / 465.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.136, allocations: 143.8 kB / 466.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.1362, allocations: 227.4 kB / 466.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.1366, allocations: 246.8 kB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.1374, allocations: 0.5879 MB / 467.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1375, allocations: 0 / 467.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1375, allocations: 0 / 467.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.56e-05/0.1375, allocations: 0 / 467.1 MB, free: 14.46 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.001763/0.1393, allocations: 0.766 MB / 467.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1393, allocations: 11.89 kB / 467.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006838/0.14, allocations: 92.22 kB / 468 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.1407, allocations: 396 kB / 468.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.1407, allocations: 41.34 kB / 468.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1409, allocations: 52.12 kB / 468.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1419, allocations: 0.645 MB / 469.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.142, allocations: 7.938 kB / 469.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.142, allocations: 19.98 kB / 469.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.1422, allocations: 28.98 kB / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.1429, allocations: 483.5 kB / 469.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.1467, allocations: 3.018 MB / 472.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.1471, allocations: 189 kB / 472.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1473, allocations: 101.7 kB / 472.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1473, allocations: 8 kB / 472.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.1474, allocations: 34.56 kB / 473 MB, free: 8.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.725e-06/0.1474, allocations: 0 / 473 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001582/0.149, allocations: 0.8407 MB / 473.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.1491, allocations: 85.06 kB / 473.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.1495, allocations: 345.5 kB / 474.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1495, allocations: 29.7 kB / 474.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.1498, allocations: 306.9 kB / 474.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.1499, allocations: 75 kB / 474.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1501, allocations: 89.92 kB / 474.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1502, allocations: 350.8 kB / 475.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1505, allocations: 124.8 kB / 475.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.1508, allocations: 326.8 kB / 475.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.1515, allocations: 0.5047 MB / 476 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.1515, allocations: 4 kB / 476 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001062/0.1526, allocations: 0.5526 MB / 476.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1526, allocations: 8 kB / 476.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004998/0.1531, allocations: 278.9 kB / 476.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.1535, allocations: 84.77 kB / 476.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.1538, allocations: 95.83 kB / 477 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.1556, allocations: 1.731 MB / 478.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.1559, allocations: 16 kB / 478.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.156, allocations: 24 kB / 478.8 MB, free: 1.969 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.0002947/0.1563, allocations: 213.5 kB / 479 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.1564, allocations: 35.53 kB / 479 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.1569, allocations: 296.7 kB / 479.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1569, allocations: 4 kB / 479.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1569, allocations: 0 / 479.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1569, allocations: 0 / 479.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.1582, allocations: 0.7946 MB / 480.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1582, allocations: 0 / 480.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.1585, allocations: 56.03 kB / 480.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1585, allocations: 0 / 480.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1585, allocations: 11.98 kB / 480.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1586, allocations: 7.984 kB / 480.2 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1586, allocations: 7.875 kB / 480.2 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.1592, allocations: 484.3 kB / 480.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1594, allocations: 101 kB / 480.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.1594, allocations: 11.94 kB / 480.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1596, allocations: 8.031 kB / 480.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1597, allocations: 23.91 kB / 480.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1597, allocations: 4 kB / 480.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.16, allocations: 239.2 kB / 481.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.16, allocations: 3.938 kB / 481.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005177/0.1605, allocations: 96 kB / 481.2 MB, free: 15.49 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.0001779/0.1607, allocations: 99.25 kB / 481.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008681/0.1616, allocations: 471.8 kB / 481.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1616, allocations: 4.125 kB / 481.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1618, allocations: 119.8 kB / 481.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1623, allocations: 64.69 kB / 481.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1643, allocations: 1.041 MB / 482.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.1649, allocations: 0.8661 MB / 483.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1651, allocations: 35.44 kB / 483.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1651, allocations: 0 / 483.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01065/0.1757, allocations: 5.634 MB / 489.5 MB, free: 7.078 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)