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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0007661/0.0007664, allocations: 91.36 kB / 16.65 MB, free: 6.234 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.0009527/0.0009528, allocations: 177.5 kB / 17.56 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1751/0.1751, allocations: 38.05 MB / 310.1 MB, free: 5.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005653, allocations: 15.98 kB / 377.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2776, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005377/0.2831, allocations: 4.675 MB / 438.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.2859, allocations: 1.649 MB / 439.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.2866, allocations: 23.81 kB / 439.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.2869, allocations: 55.61 kB / 439.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008453/0.2878, allocations: 243 kB / 440.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.2885, allocations: 207.6 kB / 440.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008443/0.2894, allocations: 0.8731 MB / 441.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009921/0.2904, allocations: 0.5437 MB / 441.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.2909, allocations: 207 kB / 441.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.2915, allocations: 351 kB / 442.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.962e-05/0.2916, allocations: 24 kB / 442.3 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.2921, allocations: 239.5 kB / 442.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.2924, allocations: 207.5 kB / 442.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.2928, allocations: 260.4 kB / 443 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.2936, allocations: 0.6346 MB / 443.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2936, allocations: 0 / 443.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2936, allocations: 0 / 443.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.2937, allocations: 0 / 443.6 MB, free: 8.617 MB / 318.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.001609/0.2953, allocations: 0.692 MB / 444.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.2953, allocations: 12.03 kB / 444.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/0.2961, allocations: 88.22 kB / 444.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.2967, allocations: 407.2 kB / 444.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2967, allocations: 37.36 kB / 444.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.2969, allocations: 52.06 kB / 444.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/0.2978, allocations: 0.6765 MB / 445.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.2978, allocations: 0 / 445.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.2979, allocations: 16 kB / 445.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.2981, allocations: 60.88 kB / 445.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.299, allocations: 0.6674 MB / 446.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.302, allocations: 2.437 MB / 448.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.3025, allocations: 361.7 kB / 449.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.3028, allocations: 249.9 kB / 449.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.3028, allocations: 8.219 kB / 449.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3028, allocations: 46.83 kB / 449.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/0.3028, allocations: 0 / 449.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.00195/0.3048, allocations: 1.475 MB / 450.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3049, allocations: 81.11 kB / 451 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.3051, allocations: 294.8 kB / 451.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3051, allocations: 29.7 kB / 451.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3053, allocations: 251.8 kB / 451.5 MB, free: 356 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.3054, allocations: 157.7 kB / 451.7 MB, free: 196 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.3054, allocations: 45.7 kB / 451.7 MB, free: 144 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3056, allocations: 350.8 kB / 452.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.3059, allocations: 217 kB / 452.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.3063, allocations: 357.8 kB / 452.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008027/0.3071, allocations: 0.6278 MB / 453.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3071, allocations: 4 kB / 453.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001269/0.3084, allocations: 0.72 MB / 454 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3085, allocations: 15.97 kB / 454 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000871/0.3093, allocations: 0.5225 MB / 454.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.3097, allocations: 68.78 kB / 454.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.3101, allocations: 107.8 kB / 454.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3117, allocations: 1.596 MB / 456.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.312, allocations: 31.97 kB / 456.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.3121, allocations: 31.97 kB / 456.4 MB, free: 11.24 MB / 334.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.0003272/0.3124, allocations: 217.6 kB / 456.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3126, allocations: 43.52 kB / 456.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009894/0.3136, allocations: 0.5553 MB / 457.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.3136, allocations: 15.94 kB / 457.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3136, allocations: 3.938 kB / 457.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3136, allocations: 0 / 457.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.3156, allocations: 1.192 MB / 458.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3156, allocations: 4 kB / 458.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.316, allocations: 83.88 kB / 458.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.316, allocations: 7.938 kB / 458.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.3161, allocations: 8 kB / 458.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3161, allocations: 4 kB / 458.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3161, allocations: 4.094 kB / 458.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.3173, allocations: 0.9257 MB / 459.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.3174, allocations: 112.7 kB / 459.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.3175, allocations: 12 kB / 459.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3177, allocations: 16.22 kB / 459.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3178, allocations: 31.81 kB / 459.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3178, allocations: 12 kB / 459.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.318, allocations: 198 kB / 459.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.318, allocations: 0 / 459.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.3185, allocations: 123.9 kB / 459.9 MB, free: 7.551 MB / 334.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.0002391/0.3188, allocations: 143.1 kB / 460.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.3199, allocations: 0.6617 MB / 460.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.3199, allocations: 0 / 460.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.3203, allocations: 271.7 kB / 461 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.3208, allocations: 69.03 kB / 461 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.3227, allocations: 1.428 MB / 462.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.3232, allocations: 0.8782 MB / 463.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.3236, allocations: 131.1 kB / 463.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3237, allocations: 35.44 kB / 463.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3237, allocations: 3.938 kB / 463.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Templates: time 0.009347/0.3331, allocations: 4.184 MB / 467.7 MB, free: 15.68 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: