Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002403/0.002408, allocations: 354.8 kB / 16.57 MB, free: 5.59 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.614/3.614, allocations: 388.9 MB / 406.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003465/0.003465, allocations: 241.3 kB / 451.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6697/0.6697, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0746/0.07509, allocations: 53.24 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004445/0.07958, allocations: 4.452 MB / 0.678 GB, free: 56.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.08189, allocations: 1.552 MB / 0.6795 GB, free: 54.78 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.08214, allocations: 27.81 kB / 0.6795 GB, free: 54.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.08233, allocations: 67.52 kB / 0.6796 GB, free: 54.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.08296, allocations: 270.5 kB / 0.6798 GB, free: 54.42 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.08362, allocations: 231.5 kB / 0.68 GB, free: 54.19 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.08421, allocations: 0.682 MB / 0.6807 GB, free: 53.51 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.08506, allocations: 0.5152 MB / 0.6812 GB, free: 52.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.08534, allocations: 203.1 kB / 0.6814 GB, free: 52.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.08583, allocations: 355 kB / 0.6817 GB, free: 52.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.08591, allocations: 20 kB / 0.6818 GB, free: 52.39 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.08631, allocations: 175.7 kB / 0.6819 GB, free: 52.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.08652, allocations: 227.4 kB / 0.6821 GB, free: 52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.08664, allocations: 109.5 kB / 0.6822 GB, free: 51.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.08713, allocations: 498.8 kB / 0.6827 GB, free: 51.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.014e-06/0.08715, allocations: 0 / 0.6827 GB, free: 51.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.622e-06/0.08716, allocations: 0 / 0.6827 GB, free: 51.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.186e-06/0.08718, allocations: 0 / 0.6827 GB, free: 51.39 MB / 442.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.001151/0.08834, allocations: 0.6974 MB / 0.6834 GB, free: 50.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.08839, allocations: 12.83 kB / 0.6834 GB, free: 50.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.08912, allocations: 91.36 kB / 0.6835 GB, free: 50.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.08977, allocations: 394.1 kB / 0.6839 GB, free: 50.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.08983, allocations: 40.94 kB / 0.6839 GB, free: 50.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.08998, allocations: 40 kB / 0.684 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.09103, allocations: 0.6687 MB / 0.6846 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.09108, allocations: 11.91 kB / 0.6846 GB, free: 49.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.09115, allocations: 19.92 kB / 0.6846 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/0.09134, allocations: 52.91 kB / 0.6847 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.09249, allocations: 0.6674 MB / 0.6853 GB, free: 48.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.09616, allocations: 2.513 MB / 0.6878 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.0968, allocations: 329.3 kB / 0.6881 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.09717, allocations: 225.7 kB / 0.6883 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.09722, allocations: 11.92 kB / 0.6883 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.09725, allocations: 46.5 kB / 0.6884 GB, free: 45.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 3.072e-06/0.09726, allocations: 0 / 0.6884 GB, free: 45.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.002236/0.09951, allocations: 1.334 MB / 0.6897 GB, free: 43.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.09956, allocations: 89.14 kB / 0.6898 GB, free: 43.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.09988, allocations: 300.4 kB / 0.6901 GB, free: 43.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.09993, allocations: 29.7 kB / 0.6901 GB, free: 43.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1001, allocations: 255.6 kB / 0.6903 GB, free: 43.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1002, allocations: 149.8 kB / 0.6905 GB, free: 43.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.1002, allocations: 4 kB / 0.6905 GB, free: 43.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.1003, allocations: 354.8 kB / 0.6908 GB, free: 42.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.1007, allocations: 201 kB / 0.691 GB, free: 42.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.1011, allocations: 361.2 kB / 0.6914 GB, free: 42.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.1015, allocations: 261.1 kB / 0.6916 GB, free: 41.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1015, allocations: 0 / 0.6916 GB, free: 41.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001054/0.1026, allocations: 0.6156 MB / 0.6922 GB, free: 41.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1026, allocations: 7.953 kB / 0.6922 GB, free: 41.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1027, allocations: 12.06 kB / 0.6922 GB, free: 41.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1027, allocations: 8 kB / 0.6922 GB, free: 41.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.1032, allocations: 111.8 kB / 0.6923 GB, free: 41.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1033, allocations: 8 kB / 0.6923 GB, free: 41.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.1036, allocations: 23.97 kB / 0.6924 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.1037, allocations: 24 kB / 0.6924 GB, free: 41.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.1039, allocations: 217.7 kB / 0.6926 GB, free: 40.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.104, allocations: 35.53 kB / 0.6926 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.1049, allocations: 0.4963 MB / 0.6931 GB, free: 40.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.1049, allocations: 12 kB / 0.6931 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.071e-06/0.1049, allocations: 0 / 0.6931 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-06/0.1049, allocations: 3.984 kB / 0.6931 GB, free: 40.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.1068, allocations: 1.089 MB / 0.6942 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-06/0.1069, allocations: 4 kB / 0.6942 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.1074, allocations: 67.89 kB / 0.6943 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-06/0.1074, allocations: 4 kB / 0.6943 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.1074, allocations: 15.92 kB / 0.6943 GB, free: 39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-06/0.1075, allocations: 4 kB / 0.6943 GB, free: 39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1075, allocations: 4 kB / 0.6943 GB, free: 38.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1087, allocations: 0.8204 MB / 0.6951 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.1087, allocations: 112.6 kB / 0.6952 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.1088, allocations: 8 kB / 0.6952 GB, free: 38.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.1091, allocations: 20.02 kB / 0.6952 GB, free: 37.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.1092, allocations: 23.97 kB / 0.6952 GB, free: 37.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.1092, allocations: 12 kB / 0.6953 GB, free: 37.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002096/0.1094, allocations: 215 kB / 0.6955 GB, free: 37.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.1095, allocations: 0 / 0.6955 GB, free: 37.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005678/0.11, allocations: 100 kB / 0.6956 GB, free: 37.65 MB / 442.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 (33): * Single equations (assignments): 30 * 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.0001679/0.1102, allocations: 127.2 kB / 0.6957 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007846/0.111, allocations: 493.8 kB / 0.6961 GB, free: 37.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.949e-06/0.111, allocations: 0 / 0.6961 GB, free: 37.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.1114, allocations: 220.5 kB / 0.6964 GB, free: 36.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.112, allocations: 66.19 kB / 0.6964 GB, free: 36.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1138, allocations: 1.361 MB / 0.6978 GB, free: 35.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1142, allocations: 0.8743 MB / 0.6986 GB, free: 34.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.1146, allocations: 131.1 kB / 0.6987 GB, free: 34.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1148, allocations: 35.44 kB / 0.6988 GB, free: 34.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.555e-06/0.1148, allocations: 0 / 0.6988 GB, free: 34.29 MB / 442.7 MB Notification: Performance of Templates: time 0.009173/0.124, allocations: 3.45 MB / 0.7021 GB, free: 30.84 MB / 442.7 MB