Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00245/0.002454, allocations: 359.5 kB / 16.57 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.254/3.254, allocations: 388.9 MB / 406.2 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003448/0.003448, allocations: 228.6 kB / 451.6 MB, free: 0.5781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6431/0.6431, allocations: 76.03 MB / 0.5594 GB, free: 14.42 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 12 kB / 0.6216 GB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2691, allocations: 53.22 MB / 0.6736 GB, free: 62.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004284/0.2735, allocations: 4.458 MB / 0.678 GB, free: 58.15 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2757, allocations: 1.558 MB / 0.6795 GB, free: 56.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.276, allocations: 23.81 kB / 0.6795 GB, free: 56.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2762, allocations: 67.52 kB / 0.6796 GB, free: 56.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.2767, allocations: 262.6 kB / 0.6798 GB, free: 56.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.2774, allocations: 231.4 kB / 0.68 GB, free: 56.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.2781, allocations: 0.682 MB / 0.6807 GB, free: 55.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00094/0.279, allocations: 0.5152 MB / 0.6812 GB, free: 54.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.2793, allocations: 207 kB / 0.6814 GB, free: 54.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.2797, allocations: 359 kB / 0.6817 GB, free: 54.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.2798, allocations: 20 kB / 0.6818 GB, free: 54.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.2802, allocations: 183.6 kB / 0.6819 GB, free: 54.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.2804, allocations: 215.5 kB / 0.6821 GB, free: 53.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.2805, allocations: 109.5 kB / 0.6822 GB, free: 53.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.281, allocations: 494.9 kB / 0.6827 GB, free: 53.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.713e-06/0.281, allocations: 0 / 0.6827 GB, free: 53.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.281, allocations: 0 / 0.6827 GB, free: 53.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.362e-06/0.281, allocations: 0 / 0.6827 GB, free: 53.23 MB / 346.7 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.001106/0.2821, allocations: 0.6958 MB / 0.6834 GB, free: 52.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2822, allocations: 8.031 kB / 0.6834 GB, free: 52.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007657/0.283, allocations: 103.2 kB / 0.6835 GB, free: 52.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.2836, allocations: 398.1 kB / 0.6839 GB, free: 51.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2836, allocations: 28.94 kB / 0.6839 GB, free: 51.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.2838, allocations: 55.92 kB / 0.684 GB, free: 51.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.2848, allocations: 0.6687 MB / 0.6846 GB, free: 51.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.2849, allocations: 0 / 0.6846 GB, free: 51.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.2849, allocations: 23.92 kB / 0.6846 GB, free: 51.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.2851, allocations: 48.97 kB / 0.6847 GB, free: 51.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2863, allocations: 0.6596 MB / 0.6853 GB, free: 50.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.2898, allocations: 2.437 MB / 0.6877 GB, free: 47.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.2904, allocations: 351.3 kB / 0.688 GB, free: 47.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.2908, allocations: 246 kB / 0.6883 GB, free: 47.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.2909, allocations: 12.27 kB / 0.6883 GB, free: 47.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2909, allocations: 38.84 kB / 0.6883 GB, free: 47.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 2.878e-06/0.2909, allocations: 0 / 0.6883 GB, free: 47.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.002407/0.2933, allocations: 1.46 MB / 0.6898 GB, free: 45.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2934, allocations: 84.97 kB / 0.6898 GB, free: 45.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2937, allocations: 282.9 kB / 0.6901 GB, free: 45.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.2937, allocations: 33.83 kB / 0.6901 GB, free: 45.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2939, allocations: 251.7 kB / 0.6904 GB, free: 45.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.294, allocations: 157.8 kB / 0.6905 GB, free: 44.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.294, allocations: 8 kB / 0.6905 GB, free: 44.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.2941, allocations: 346.8 kB / 0.6909 GB, free: 44.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.2945, allocations: 217 kB / 0.6911 GB, free: 44.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.295, allocations: 361.7 kB / 0.6914 GB, free: 43.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.2954, allocations: 280.2 kB / 0.6917 GB, free: 43.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.589e-06/0.2955, allocations: 4 kB / 0.6917 GB, free: 43.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001378/0.2968, allocations: 0.697 MB / 0.6924 GB, free: 42.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2969, allocations: 12.03 kB / 0.6924 GB, free: 42.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009811/0.2979, allocations: 0.5146 MB / 0.6929 GB, free: 42.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.2982, allocations: 72.78 kB / 0.693 GB, free: 42.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.2987, allocations: 111.8 kB / 0.6931 GB, free: 42.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3002, allocations: 1.589 MB / 0.6946 GB, free: 40.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3006, allocations: 31.95 kB / 0.6946 GB, free: 40.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.3006, allocations: 20 kB / 0.6947 GB, free: 40.43 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.3009, allocations: 229.6 kB / 0.6949 GB, free: 40.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.301, allocations: 35.53 kB / 0.6949 GB, free: 40.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000976/0.302, allocations: 0.555 MB / 0.6955 GB, free: 39.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.302, allocations: 16 kB / 0.6955 GB, free: 39.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-06/0.302, allocations: 4 kB / 0.6955 GB, free: 39.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.866e-06/0.3021, allocations: 0 / 0.6955 GB, free: 39.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3042, allocations: 1.191 MB / 0.6966 GB, free: 38.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-06/0.3042, allocations: 0 / 0.6966 GB, free: 38.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.3048, allocations: 83.88 kB / 0.6967 GB, free: 38.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.498e-06/0.3048, allocations: 4 kB / 0.6967 GB, free: 38.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.3049, allocations: 12 kB / 0.6967 GB, free: 38.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-06/0.3049, allocations: 3.938 kB / 0.6967 GB, free: 38.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.355e-06/0.3049, allocations: 8.094 kB / 0.6967 GB, free: 38.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3063, allocations: 0.9102 MB / 0.6976 GB, free: 37.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.67e-05/0.3064, allocations: 104.6 kB / 0.6977 GB, free: 37.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.3065, allocations: 8 kB / 0.6977 GB, free: 37.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.3068, allocations: 28.02 kB / 0.6978 GB, free: 37.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.3069, allocations: 31.84 kB / 0.6978 GB, free: 37.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.3069, allocations: 16 kB / 0.6978 GB, free: 37.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3071, allocations: 197.9 kB / 0.698 GB, free: 36.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3071, allocations: 0 / 0.698 GB, free: 36.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005803/0.3077, allocations: 116 kB / 0.6981 GB, free: 36.76 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.3079, allocations: 130.3 kB / 0.6982 GB, free: 36.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.309, allocations: 0.6522 MB / 0.6989 GB, free: 35.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.997e-06/0.309, allocations: 0 / 0.6989 GB, free: 35.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.3095, allocations: 256.6 kB / 0.6991 GB, free: 35.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.3101, allocations: 74.84 kB / 0.6992 GB, free: 35.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.312, allocations: 1.407 MB / 0.7006 GB, free: 34.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3124, allocations: 0.886 MB / 0.7014 GB, free: 33.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004198/0.3128, allocations: 131.1 kB / 0.7016 GB, free: 33.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.313, allocations: 31.44 kB / 0.7016 GB, free: 33.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.388e-06/0.313, allocations: 0 / 0.7016 GB, free: 33.12 MB / 346.7 MB Notification: Performance of Templates: time 0.009853/0.3228, allocations: 4.05 MB / 0.7055 GB, free: 29.12 MB / 346.7 MB