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.001059/0.001059, allocations: 98.61 kB / 16.5 MB, free: 6.688 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.001114/0.001114, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1732/0.1732, allocations: 38.04 MB / 329.3 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 61.34 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1224, allocations: 58.06 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.008415/0.1309, allocations: 5.232 MB / 461.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.1343, allocations: 1.652 MB / 463 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.1347, allocations: 27.81 kB / 463.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1358, allocations: 364.5 kB / 463.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.1364, allocations: 223 kB / 463.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.1372, allocations: 223.5 kB / 463.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.138, allocations: 0.8459 MB / 464.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.1385, allocations: 314.4 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.1388, allocations: 223 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.1394, allocations: 334.9 kB / 465.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.1394, allocations: 24 kB / 465.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.1397, allocations: 151.7 kB / 465.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.14, allocations: 211.5 kB / 465.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.1402, allocations: 238.7 kB / 466.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.1409, allocations: 0.5801 MB / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1409, allocations: 4 kB / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1409, allocations: 0 / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1409, allocations: 0 / 466.7 MB, free: 13.88 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.001432/0.1423, allocations: 0.7621 MB / 467.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1424, allocations: 12.03 kB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006184/0.143, allocations: 92.22 kB / 467.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.1436, allocations: 404 kB / 468 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.1437, allocations: 29.38 kB / 468 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.1438, allocations: 56.11 kB / 468.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.1448, allocations: 0.6411 MB / 468.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.1448, allocations: 4 kB / 468.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.1448, allocations: 23.98 kB / 468.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.145, allocations: 32.98 kB / 468.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.1457, allocations: 479.5 kB / 469.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.1493, allocations: 3.022 MB / 472.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.1497, allocations: 183.6 kB / 472.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1499, allocations: 105.7 kB / 472.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.1499, allocations: 4 kB / 472.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1499, allocations: 38.56 kB / 472.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.15, allocations: 0 / 472.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001567/0.1515, allocations: 0.8347 MB / 473.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.1516, allocations: 93 kB / 473.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.152, allocations: 353.4 kB / 473.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.1521, allocations: 29.69 kB / 473.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.1523, allocations: 307.1 kB / 474.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1525, allocations: 78.89 kB / 474.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1526, allocations: 82.05 kB / 474.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1528, allocations: 346.8 kB / 474.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.153, allocations: 124.8 kB / 474.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.1534, allocations: 338.8 kB / 475.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.1541, allocations: 0.4891 MB / 475.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1541, allocations: 4 kB / 475.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001085/0.1552, allocations: 0.556 MB / 476.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1552, allocations: 11.98 kB / 476.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005202/0.1557, allocations: 279.9 kB / 476.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.1561, allocations: 85.41 kB / 476.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.1564, allocations: 91.83 kB / 476.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.1582, allocations: 1.601 MB / 478.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.1586, allocations: 16 kB / 478.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.1586, allocations: 27.98 kB / 478.3 MB, free: 1.523 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.0003371/0.159, allocations: 209.5 kB / 478.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.1591, allocations: 39.53 kB / 478.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.1596, allocations: 292.7 kB / 478.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1596, allocations: 4 kB / 478.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1596, allocations: 0 / 478.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1596, allocations: 3.984 kB / 478.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.161, allocations: 0.7945 MB / 479.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.161, allocations: 0 / 479.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1614, allocations: 60.11 kB / 479.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1614, allocations: 3.938 kB / 479.7 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.1614, allocations: 11.98 kB / 479.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1614, allocations: 4 kB / 479.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1614, allocations: 0 / 479.7 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.1621, allocations: 489.1 kB / 480.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1622, allocations: 100.7 kB / 480.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.1622, allocations: 12.03 kB / 480.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1624, allocations: 8 kB / 480.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1625, allocations: 15.92 kB / 480.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1625, allocations: 7.984 kB / 480.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.1627, allocations: 235.2 kB / 480.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 480.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.1632, allocations: 104 kB / 480.7 MB, free: 15.04 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.000141/0.1634, allocations: 99.19 kB / 480.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008319/0.1642, allocations: 447.2 kB / 481.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1643, allocations: 3.938 kB / 481.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1645, allocations: 118.8 kB / 481.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.165, allocations: 61.34 kB / 481.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1668, allocations: 1.16 MB / 482.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.1675, allocations: 0.8704 MB / 483.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.1678, allocations: 111.2 kB / 483.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.1679, allocations: 27.44 kB / 483.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1679, allocations: 0 / 483.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Templates: time 0.008067/0.176, allocations: 3.377 MB / 486.9 MB, free: 8.719 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)