Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 108.9 kB / 17.28 MB, free: 6.059 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.002291/0.002291, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.271/2.271, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4146/0.4146, allocations: 38.02 MB / 330.1 MB, free: 8.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.002699, allocations: 62.2 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2325, allocations: 58.06 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.01388/0.2465, allocations: 5.065 MB / 462.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2571, allocations: 1.609 MB / 463.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009796/0.2582, allocations: 31.81 kB / 463.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.2601, allocations: 350.8 kB / 464 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.2616, allocations: 227.1 kB / 464.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2632, allocations: 223.5 kB / 464.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2647, allocations: 0.5651 MB / 465 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.2658, allocations: 305.1 kB / 465.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.2668, allocations: 251 kB / 465.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.268, allocations: 386.8 kB / 466 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.2684, allocations: 40 kB / 466 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.2697, allocations: 235.6 kB / 466.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005893/0.2703, allocations: 239.5 kB / 466.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.271, allocations: 258.7 kB / 466.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.2723, allocations: 0.499 MB / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.2723, allocations: 0 / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2724, allocations: 3.938 kB / 467.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.2724, allocations: 4 kB / 467.2 MB, free: 14.13 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002949/0.2754, allocations: 0.7661 MB / 468 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.2755, allocations: 15.89 kB / 468 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.2797, allocations: 96.22 kB / 468.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.2813, allocations: 407.2 kB / 468.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.2814, allocations: 29.38 kB / 468.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.2817, allocations: 52.09 kB / 468.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.2841, allocations: 0.6842 MB / 469.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.2841, allocations: 0 / 469.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.2843, allocations: 12 kB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003825/0.2847, allocations: 52.97 kB / 469.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.2869, allocations: 0.6713 MB / 470 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.2943, allocations: 2.437 MB / 472.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.2955, allocations: 361.7 kB / 472.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.2963, allocations: 254.3 kB / 473 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.2964, allocations: 8.281 kB / 473 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.2965, allocations: 34.84 kB / 473.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 7.845e-06/0.2965, allocations: 0 / 473.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.009117/0.3056, allocations: 1.47 MB / 474.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.3058, allocations: 85.23 kB / 474.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.3066, allocations: 286.8 kB / 474.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/0.3067, allocations: 37.7 kB / 474.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.3071, allocations: 247.7 kB / 475.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.3074, allocations: 157.7 kB / 475.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.3077, allocations: 94.23 kB / 475.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.308, allocations: 346.8 kB / 475.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.3088, allocations: 217 kB / 476 MB, free: 4.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.3097, allocations: 361.8 kB / 476.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.3113, allocations: 0.6277 MB / 477 MB, free: 3.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3113, allocations: 4 kB / 477 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002461/0.3138, allocations: 0.72 MB / 477.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.3139, allocations: 11.94 kB / 477.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001729/0.3156, allocations: 0.5147 MB / 478.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.3163, allocations: 81.12 kB / 478.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.3172, allocations: 107.8 kB / 478.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.3205, allocations: 1.722 MB / 480.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.3213, allocations: 27.97 kB / 480.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.3215, allocations: 20 kB / 480.2 MB, free: 0.5156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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.0007061/0.3222, allocations: 213.7 kB / 480.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.3226, allocations: 47.45 kB / 480.4 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006434/0.329, allocations: 0.5629 MB / 481 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.762e-05/0.3292, allocations: 15.98 kB / 481 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.3292, allocations: 4 kB / 481 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.3293, allocations: 0 / 481 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.3334, allocations: 1.203 MB / 482.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.3335, allocations: 4 kB / 482.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.3344, allocations: 79.89 kB / 482.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/0.3345, allocations: 7.984 kB / 482.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.3346, allocations: 8 kB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/0.3346, allocations: 4 kB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3346, allocations: 3.938 kB / 482.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.3371, allocations: 0.9258 MB / 483.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.3374, allocations: 112.6 kB / 483.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.3376, allocations: 12.03 kB / 483.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3381, allocations: 15.98 kB / 483.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3383, allocations: 35.84 kB / 483.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.3384, allocations: 11.98 kB / 483.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000427/0.3388, allocations: 198 kB / 483.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3388, allocations: 0 / 483.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001173/0.34, allocations: 116 kB / 483.7 MB, free: 12.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.000574/0.3406, allocations: 143.5 kB / 483.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.3433, allocations: 0.7732 MB / 484.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3433, allocations: 0 / 484.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.3442, allocations: 268.5 kB / 484.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3453, allocations: 85.61 kB / 485 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/0.3547, allocations: 1.417 MB / 486.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.3559, allocations: 0.8743 MB / 487.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.3563, allocations: 39.42 kB / 487.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of SimCode: time 2.846e-06/0.3564, allocations: 3.938 kB / 487.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of Templates: time 0.02796/0.3844, allocations: 6.413 MB / 493.7 MB, free: 2.738 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)