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.001729/0.001729, allocations: 111.7 kB / 17.29 MB, free: 6.207 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.002173/0.002174, allocations: 197.3 kB / 18.21 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.636/2.636, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4219/0.4219, allocations: 38.02 MB / 330 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 57.44 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2173, allocations: 58.06 MB / 457 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.01574/0.2331, allocations: 5.231 MB / 462.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007207/0.2404, allocations: 1.644 MB / 463.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.2414, allocations: 27.81 kB / 463.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.2434, allocations: 364.7 kB / 464.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2448, allocations: 219.1 kB / 464.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.2463, allocations: 227.6 kB / 464.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.2479, allocations: 0.565 MB / 465.3 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.2493, allocations: 354.4 kB / 465.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009373/0.2502, allocations: 255 kB / 465.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.2514, allocations: 342.9 kB / 466.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.2516, allocations: 32 kB / 466.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.2525, allocations: 147.8 kB / 466.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006435/0.2532, allocations: 223.4 kB / 466.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009825/0.2542, allocations: 254.7 kB / 466.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2555, allocations: 459.1 kB / 467.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.2555, allocations: 4 kB / 467.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.2556, allocations: 4 kB / 467.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.2556, allocations: 0 / 467.3 MB, free: 14.09 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.002465/0.2581, allocations: 0.7582 MB / 468 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.216e-05/0.2582, allocations: 11.89 kB / 468.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.2592, allocations: 96.22 kB / 468.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.2604, allocations: 400 kB / 468.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.2605, allocations: 33.36 kB / 468.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.2607, allocations: 60.05 kB / 468.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.2624, allocations: 0.6372 MB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.2625, allocations: 0 / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.2626, allocations: 27.98 kB / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.2628, allocations: 32.98 kB / 469.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2641, allocations: 479.5 kB / 469.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006359/0.2705, allocations: 3.026 MB / 472.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.2712, allocations: 177.1 kB / 473 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.2715, allocations: 109.7 kB / 473.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.2716, allocations: 0 / 473.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.2717, allocations: 46.5 kB / 473.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 3.657e-06/0.2717, allocations: 0 / 473.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002932/0.2746, allocations: 0.8303 MB / 474 MB, free: 6.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2748, allocations: 81.06 kB / 474.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.2755, allocations: 349.4 kB / 474.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.2756, allocations: 33.7 kB / 474.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.276, allocations: 303.1 kB / 474.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.2762, allocations: 82.84 kB / 474.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.2764, allocations: 90.02 kB / 474.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.2767, allocations: 342.8 kB / 475.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.2771, allocations: 128.8 kB / 475.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.2778, allocations: 330.9 kB / 475.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.2791, allocations: 0.4969 MB / 476.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.2791, allocations: 4 kB / 476.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002092/0.2812, allocations: 0.5521 MB / 476.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.2813, allocations: 11.94 kB / 476.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001044/0.2824, allocations: 274.9 kB / 477 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000671/0.2831, allocations: 89.34 kB / 477.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.2838, allocations: 95.83 kB / 477.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.2874, allocations: 1.727 MB / 478.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.2881, allocations: 19.89 kB / 478.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.2882, allocations: 24 kB / 479 MB, free: 1.598 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.0005665/0.2888, allocations: 225.6 kB / 479.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2889, allocations: 27.62 kB / 479.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/0.2898, allocations: 288.6 kB / 479.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2899, allocations: 3.984 kB / 479.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2899, allocations: 4 kB / 479.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.2899, allocations: 0 / 479.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.2923, allocations: 0.7904 MB / 480.3 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.2923, allocations: 4 kB / 480.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.293, allocations: 55.91 kB / 480.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.537e-05/0.293, allocations: 4 kB / 480.3 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.2931, allocations: 11.94 kB / 480.4 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.2931, allocations: 3.984 kB / 480.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.2931, allocations: 3.938 kB / 480.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.2945, allocations: 482.4 kB / 480.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.2948, allocations: 108.8 kB / 480.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.2949, allocations: 7.938 kB / 481 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.2952, allocations: 15.92 kB / 481 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.2953, allocations: 15.98 kB / 481 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2954, allocations: 12 kB / 481 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004479/0.2958, allocations: 231.2 kB / 481.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2959, allocations: 0 / 481.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009957/0.2969, allocations: 96 kB / 481.3 MB, free: 15.12 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.0002534/0.2971, allocations: 107.2 kB / 481.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.2987, allocations: 470.5 kB / 481.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2987, allocations: 0 / 481.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.2991, allocations: 112.3 kB / 482 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/0.3001, allocations: 79.92 kB / 482.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.3038, allocations: 1.213 MB / 483.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.3049, allocations: 0.8739 MB / 484.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.3051, allocations: 31.42 kB / 484.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3051, allocations: 0 / 484.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01781/0.3229, allocations: 5.632 MB / 489.8 MB, free: 6.531 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)