Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") 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: 97.33 kB / 16.5 MB, free: 6.641 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.001808/0.001808, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.406/1.406, allocations: 222.9 MB / 241.1 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.1836/0.1836, allocations: 38.03 MB / 329.3 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 65.47 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 58.06 MB / 456.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005339/0.1387, allocations: 3.666 MB / 459.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1408, allocations: 1.52 MB / 461.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1409, allocations: 11.94 kB / 461.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007602/0.1417, allocations: 231.2 kB / 461.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.1422, allocations: 263.1 kB / 461.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1425, allocations: 95.81 kB / 461.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.143, allocations: 0.569 MB / 462.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.1434, allocations: 138.1 kB / 462.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1436, allocations: 127.4 kB / 462.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1438, allocations: 159.5 kB / 462.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.1438, allocations: 16 kB / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.1444, allocations: 379.1 kB / 463.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1445, allocations: 95.75 kB / 463.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1446, allocations: 103.5 kB / 463.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.1451, allocations: 358.9 kB / 463.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1451, allocations: 0 / 463.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1451, allocations: 0 / 463.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1451, allocations: 0 / 463.8 MB, free: 0.8164 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007339/0.1459, allocations: 0.5181 MB / 464.4 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1459, allocations: 12.03 kB / 464.4 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.1468, allocations: 92.55 kB / 464.5 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1471, allocations: 260.4 kB / 464.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1471, allocations: 16.33 kB / 464.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.1472, allocations: 19.94 kB / 464.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.1477, allocations: 322.3 kB / 465.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1477, allocations: 0 / 465.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.1477, allocations: 4 kB / 465.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.1478, allocations: 12 kB / 465.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.1482, allocations: 295.7 kB / 465.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1499, allocations: 1.301 MB / 466.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.1505, allocations: 209.1 kB / 466.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.1506, allocations: 61.69 kB / 466.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1506, allocations: 4 kB / 466.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1506, allocations: 38.56 kB / 467 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.1507, allocations: 0 / 467 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009747/0.1516, allocations: 430.1 kB / 467.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1517, allocations: 81.11 kB / 467.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1519, allocations: 202.3 kB / 467.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1519, allocations: 25.7 kB / 467.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.152, allocations: 163.8 kB / 467.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1521, allocations: 47.3 kB / 467.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.1522, allocations: 49.83 kB / 468 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1523, allocations: 330.8 kB / 468.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.1524, allocations: 51.91 kB / 468.3 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1526, allocations: 153.7 kB / 468.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.1529, allocations: 232.6 kB / 468.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1529, allocations: 0 / 468.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004616/0.1533, allocations: 262 kB / 469 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1534, allocations: 8 kB / 469 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1534, allocations: 0 / 469 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.1536, allocations: 40.83 kB / 469 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1538, allocations: 44.23 kB / 469 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.155, allocations: 1.335 MB / 470.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1551, allocations: 8.156 kB / 470.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.1551, allocations: 16 kB / 470.4 MB, free: 9.676 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 (24): * Single equations (assignments): 23 * 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.0001653/0.1553, allocations: 160.2 kB / 470.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1553, allocations: 15.81 kB / 470.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.1557, allocations: 195.9 kB / 470.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1557, allocations: 0 / 470.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1558, allocations: 64 / 470.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1558, allocations: 15.94 kB / 470.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/0.1566, allocations: 0.56 MB / 471.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1566, allocations: 0 / 471.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.1567, allocations: 31.92 kB / 471.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.1568, allocations: 32.92 kB / 471.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1568, allocations: 4 kB / 471.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.1579, allocations: 1.319 MB / 472.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1579, allocations: 4.031 kB / 472.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.1582, allocations: 306.7 kB / 473 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.1583, allocations: 92.92 kB / 473.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1583, allocations: 0 / 473.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1585, allocations: 8 kB / 473.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1585, allocations: 7.984 kB / 473.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1585, allocations: 12 kB / 473.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1586, allocations: 148.3 kB / 473.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 473.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.159, allocations: 48 kB / 473.3 MB, free: 6.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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.000111/0.1591, allocations: 108 kB / 473.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.1596, allocations: 263.2 kB / 473.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1596, allocations: 0 / 473.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.1598, allocations: 178.5 kB / 473.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1602, allocations: 28.41 kB / 473.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007908/0.161, allocations: 0.5217 MB / 474.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1613, allocations: 0.7596 MB / 475.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1615, allocations: 49.5 kB / 475.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.1615, allocations: 15.44 kB / 475.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1615, allocations: 0 / 475.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004497/0.166, allocations: 1.603 MB / 476.9 MB, free: 2.855 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)