Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 108.6 kB / 16.51 MB, free: 6.691 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.001312/0.001312, 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1715/0.1715, allocations: 38.03 MB / 329.3 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 60.42 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 58.06 MB / 456.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00712/0.1373, allocations: 4.987 MB / 461.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1397, allocations: 1.13 MB / 462.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.1399, allocations: 27.81 kB / 462.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1402, allocations: 39.69 kB / 462.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.1408, allocations: 219.1 kB / 462.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.141, allocations: 91.84 kB / 462.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.1418, allocations: 0.8104 MB / 463.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.1421, allocations: 122.9 kB / 463.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.1424, allocations: 187.1 kB / 463.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.1429, allocations: 283.1 kB / 464 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1429, allocations: 16 kB / 464 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.143, allocations: 16 kB / 464.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1432, allocations: 147.6 kB / 464.2 MB, free: 420 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1434, allocations: 171.1 kB / 464.4 MB, free: 248 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1438, allocations: 350.7 kB / 464.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1438, allocations: 4 kB / 464.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.1438, allocations: 0 / 464.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1438, allocations: 3.938 kB / 464.7 MB, free: 15.89 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001382/0.1452, allocations: 0.6594 MB / 465.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1453, allocations: 12.03 kB / 465.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.1454, allocations: 40.47 kB / 465.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.1459, allocations: 359.8 kB / 465.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1459, allocations: 20.69 kB / 465.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.146, allocations: 28 kB / 465.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.1465, allocations: 352.7 kB / 466.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1466, allocations: 0 / 466.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.1466, allocations: 12 kB / 466.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.1467, allocations: 28.52 kB / 466.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.1471, allocations: 242 kB / 466.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.149, allocations: 1.37 MB / 467.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.1495, allocations: 173 kB / 468 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.1498, allocations: 97.72 kB / 468.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1498, allocations: 4 kB / 468.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.1499, allocations: 34.56 kB / 468.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.1499, allocations: 4 kB / 468.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001573/0.1515, allocations: 0.7593 MB / 468.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.1515, allocations: 77.11 kB / 469 MB, free: 11.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1519, allocations: 300.4 kB / 469.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1519, allocations: 37.83 kB / 469.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1521, allocations: 215.5 kB / 469.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.1522, allocations: 47.34 kB / 469.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.1523, allocations: 53.61 kB / 469.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1524, allocations: 338.8 kB / 469.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1526, allocations: 63.95 kB / 470 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1527, allocations: 172.8 kB / 470.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.1531, allocations: 255.7 kB / 470.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1531, allocations: 4 kB / 470.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005093/0.1536, allocations: 318 kB / 470.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1536, allocations: 4 kB / 470.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1536, allocations: 7.938 kB / 470.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.1539, allocations: 52.81 kB / 470.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1541, allocations: 51.91 kB / 470.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1555, allocations: 1.499 MB / 472.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1557, allocations: 16.02 kB / 472.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1557, allocations: 11.94 kB / 472.4 MB, free: 7.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.1559, allocations: 181.8 kB / 472.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.156, allocations: 27.62 kB / 472.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1564, allocations: 232.3 kB / 472.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1564, allocations: 7.984 kB / 472.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1564, allocations: 3.938 kB / 472.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1565, allocations: 0 / 472.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009326/0.1574, allocations: 0.6404 MB / 473.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1574, allocations: 0 / 473.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1575, allocations: 23.98 kB / 473.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.1578, allocations: 56.8 kB / 473.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1578, allocations: 11.98 kB / 473.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.1593, allocations: 1.479 MB / 475 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1593, allocations: 0 / 475 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.1598, allocations: 418.9 kB / 475.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.1599, allocations: 108.8 kB / 475.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.16, allocations: 4 kB / 475.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1601, allocations: 8 kB / 475.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1601, allocations: 23.91 kB / 475.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1602, allocations: 8.062 kB / 475.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.1604, allocations: 207.1 kB / 475.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1604, allocations: 0 / 475.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1608, allocations: 68 kB / 475.8 MB, free: 3.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.1609, allocations: 99.19 kB / 475.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.1615, allocations: 307.1 kB / 476.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1615, allocations: 4 kB / 476.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.1619, allocations: 202.5 kB / 476.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.1624, allocations: 60.92 kB / 476.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1637, allocations: 0.8564 MB / 477.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1641, allocations: 0.8106 MB / 478.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.1643, allocations: 38.95 kB / 478.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.1644, allocations: 27.44 kB / 478.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1644, allocations: 0 / 478.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of Templates: time 0.007032/0.1714, allocations: 2.829 MB / 481.1 MB, free: 14.6 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)