Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 112.1 kB / 17.29 MB, free: 6.219 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.003623/0.003624, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.074/3.074, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4046/0.4046, allocations: 38.03 MB / 330 MB, free: 8.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 56.86 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2263, allocations: 58.07 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.01111/0.2375, allocations: 3.678 MB / 460.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004465/0.2421, allocations: 1.504 MB / 462.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.2425, allocations: 11.94 kB / 462.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.2441, allocations: 231.2 kB / 462.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2455, allocations: 263.1 kB / 462.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.2461, allocations: 99.81 kB / 462.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007945/0.2469, allocations: 331 kB / 463.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006283/0.2476, allocations: 155.4 kB / 463.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.2481, allocations: 159.3 kB / 463.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.2486, allocations: 163.5 kB / 463.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.2487, allocations: 12 kB / 463.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009556/0.2496, allocations: 311.2 kB / 463.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.2499, allocations: 95.77 kB / 464 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.2501, allocations: 111.4 kB / 464.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.2508, allocations: 259.5 kB / 464.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2509, allocations: 0 / 464.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.2509, allocations: 0 / 464.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2509, allocations: 4 kB / 464.3 MB, free: 1.051 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.001204/0.2521, allocations: 0.5065 MB / 464.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/0.2522, allocations: 11.89 kB / 464.9 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.2538, allocations: 88.56 kB / 464.9 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.2544, allocations: 256.4 kB / 465.2 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.2545, allocations: 16.33 kB / 465.2 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.2546, allocations: 24.06 kB / 465.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.2555, allocations: 318.4 kB / 465.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2555, allocations: 0 / 465.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.2556, allocations: 7.984 kB / 465.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.2557, allocations: 19.92 kB / 465.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.2565, allocations: 291.8 kB / 465.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.2595, allocations: 1.293 MB / 467.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.2602, allocations: 238.2 kB / 467.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.2604, allocations: 61.47 kB / 467.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.2605, allocations: 15.86 kB / 467.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.2605, allocations: 34.56 kB / 467.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.617e-06/0.2606, allocations: 0 / 467.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001213/0.2618, allocations: 288.2 kB / 467.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.2619, allocations: 77.11 kB / 467.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.2623, allocations: 198.5 kB / 468 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.2623, allocations: 33.64 kB / 468.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.2625, allocations: 159.8 kB / 468.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.2626, allocations: 43.31 kB / 468.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2628, allocations: 49.61 kB / 468.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.263, allocations: 326.8 kB / 468.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.2632, allocations: 47.97 kB / 468.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.2634, allocations: 141.7 kB / 468.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.2639, allocations: 220.6 kB / 469 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.264, allocations: 0 / 469 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000649/0.2646, allocations: 233.2 kB / 469.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.2647, allocations: 8 kB / 469.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.2647, allocations: 4 kB / 469.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.2647, allocations: 4 kB / 469.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.2651, allocations: 43.92 kB / 469.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.2651, allocations: 7.984 kB / 469.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.2653, allocations: 8 kB / 469.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2654, allocations: 8 kB / 469.3 MB, free: 11.61 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.2657, allocations: 162.5 kB / 469.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.2658, allocations: 23.78 kB / 469.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.2663, allocations: 151.1 kB / 469.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2663, allocations: 4 kB / 469.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.2663, allocations: 4.062 kB / 469.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.2663, allocations: 3.984 kB / 469.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.2681, allocations: 0.6654 MB / 470.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.2681, allocations: 4 kB / 470.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.2683, allocations: 27.92 kB / 470.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.2684, allocations: 7.938 kB / 470.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.2684, allocations: 12 kB / 470.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.2684, allocations: 4 kB / 470.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.2685, allocations: 7.938 kB / 470.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.2691, allocations: 338.2 kB / 470.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2693, allocations: 104.8 kB / 470.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.2694, allocations: 4 kB / 470.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2696, allocations: 4 kB / 470.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.2697, allocations: 27.86 kB / 470.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.2697, allocations: 8 kB / 470.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.27, allocations: 152.2 kB / 471 MB, free: 9.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.27, allocations: 0 / 471 MB, free: 9.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006514/0.2707, allocations: 43.98 kB / 471.1 MB, free: 9.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.2709, allocations: 103.2 kB / 471.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.2714, allocations: 151.6 kB / 471.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2714, allocations: 0 / 471.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.2716, allocations: 68.97 kB / 471.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.2724, allocations: 36.17 kB / 471.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2742, allocations: 0.6145 MB / 472 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.2752, allocations: 0.7593 MB / 472.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2753, allocations: 19.44 kB / 472.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2753, allocations: 0 / 472.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of Templates: time 0.008456/0.2838, allocations: 2.268 MB / 475.1 MB, free: 5.57 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)