Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002439/0.002439, allocations: 356.2 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.556/3.556, 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.003496/0.003496, allocations: 249.2 kB / 451.6 MB, free: 14.51 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.6623/0.6623, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004864, allocations: 11.98 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06821/0.06872, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004347/0.07311, allocations: 4.452 MB / 0.678 GB, free: 56.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.07539, allocations: 1.548 MB / 0.6795 GB, free: 54.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.07564, allocations: 27.81 kB / 0.6795 GB, free: 54.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.07582, allocations: 67.52 kB / 0.6796 GB, free: 54.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.07641, allocations: 274.5 kB / 0.6798 GB, free: 54.42 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.07705, allocations: 227.4 kB / 0.68 GB, free: 54.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.07761, allocations: 0.643 MB / 0.6807 GB, free: 53.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.07843, allocations: 0.5191 MB / 0.6812 GB, free: 53 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.0787, allocations: 195.1 kB / 0.6814 GB, free: 52.81 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.0791, allocations: 291.1 kB / 0.6816 GB, free: 52.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.07917, allocations: 16 kB / 0.6816 GB, free: 52.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.07941, allocations: 91.84 kB / 0.6817 GB, free: 52.42 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.07961, allocations: 211.5 kB / 0.6819 GB, free: 52.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.07972, allocations: 105.5 kB / 0.682 GB, free: 52.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.08012, allocations: 430.9 kB / 0.6824 GB, free: 51.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.909e-06/0.08014, allocations: 4 kB / 0.6825 GB, free: 51.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.75e-06/0.08015, allocations: 0 / 0.6825 GB, free: 51.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.08018, allocations: 0 / 0.6825 GB, free: 51.68 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001022/0.08121, allocations: 0.6568 MB / 0.6831 GB, free: 50.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.08126, allocations: 8.828 kB / 0.6831 GB, free: 50.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/0.08188, allocations: 87.38 kB / 0.6832 GB, free: 50.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.08248, allocations: 386 kB / 0.6836 GB, free: 50.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.08253, allocations: 36.94 kB / 0.6836 GB, free: 50.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.08268, allocations: 47.98 kB / 0.6836 GB, free: 50.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.08354, allocations: 0.6131 MB / 0.6842 GB, free: 49.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.08358, allocations: 0 / 0.6842 GB, free: 49.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.08364, allocations: 28 kB / 0.6843 GB, free: 49.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.08377, allocations: 28.98 kB / 0.6843 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.0846, allocations: 471.5 kB / 0.6847 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.08767, allocations: 2.895 MB / 0.6876 GB, free: 46.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.08808, allocations: 225 kB / 0.6878 GB, free: 45.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.08833, allocations: 145.7 kB / 0.6879 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.08838, allocations: 7.984 kB / 0.6879 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.08841, allocations: 38.56 kB / 0.688 GB, free: 45.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.289e-06/0.08842, allocations: 3.984 kB / 0.688 GB, free: 45.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001606/0.09004, allocations: 0.9433 MB / 0.6889 GB, free: 44.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.09009, allocations: 85.11 kB / 0.689 GB, free: 44.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.09042, allocations: 328.3 kB / 0.6893 GB, free: 44.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.09046, allocations: 29.7 kB / 0.6893 GB, free: 44.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.09061, allocations: 279.4 kB / 0.6896 GB, free: 43.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.0907, allocations: 102.5 kB / 0.6897 GB, free: 43.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.09074, allocations: 12 kB / 0.6897 GB, free: 43.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.09082, allocations: 342.8 kB / 0.69 GB, free: 43.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.09108, allocations: 141 kB / 0.6901 GB, free: 43.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.09143, allocations: 343.2 kB / 0.6905 GB, free: 42.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.09177, allocations: 203.9 kB / 0.6907 GB, free: 42.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-06/0.09179, allocations: 0 / 0.6907 GB, free: 42.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000867/0.09267, allocations: 0.5202 MB / 0.6912 GB, free: 42.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.0927, allocations: 8 kB / 0.6912 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.09272, allocations: 4 kB / 0.6912 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.09275, allocations: 12 kB / 0.6912 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.09331, allocations: 112.5 kB / 0.6913 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.09334, allocations: 23.92 kB / 0.6913 GB, free: 42.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.09366, allocations: 23.98 kB / 0.6914 GB, free: 42.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.09372, allocations: 24 kB / 0.6914 GB, free: 41.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.0002176/0.09395, allocations: 217.5 kB / 0.6916 GB, free: 41.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.09403, allocations: 31.62 kB / 0.6916 GB, free: 41.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/0.09469, allocations: 358.8 kB / 0.692 GB, free: 41.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-06/0.09471, allocations: 4 kB / 0.692 GB, free: 41.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.224e-06/0.09472, allocations: 4 kB / 0.692 GB, free: 41.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-06/0.09474, allocations: 0 / 0.692 GB, free: 41.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.09623, allocations: 0.8836 MB / 0.6928 GB, free: 40.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.091e-06/0.09625, allocations: 3.984 kB / 0.6928 GB, free: 40.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.09674, allocations: 63.97 kB / 0.6929 GB, free: 40.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-06/0.09677, allocations: 8.031 kB / 0.6929 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.09681, allocations: 8 kB / 0.6929 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.315e-06/0.09683, allocations: 4 kB / 0.6929 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.24e-06/0.09684, allocations: 7.938 kB / 0.6929 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.0977, allocations: 0.577 MB / 0.6935 GB, free: 39.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.09778, allocations: 108.6 kB / 0.6936 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.09786, allocations: 15.97 kB / 0.6936 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.09814, allocations: 8 kB / 0.6936 GB, free: 39.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.0982, allocations: 23.92 kB / 0.6936 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.09823, allocations: 12 kB / 0.6936 GB, free: 39.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.09847, allocations: 215 kB / 0.6938 GB, free: 39.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.09848, allocations: 0 / 0.6938 GB, free: 39.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.09905, allocations: 100 kB / 0.6939 GB, free: 39.23 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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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.0001004/0.09917, allocations: 111.1 kB / 0.694 GB, free: 39.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.09977, allocations: 345.3 kB / 0.6944 GB, free: 38.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.744e-06/0.09979, allocations: 8 kB / 0.6944 GB, free: 38.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1, allocations: 143.8 kB / 0.6945 GB, free: 38.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.1006, allocations: 61.06 kB / 0.6946 GB, free: 38.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1023, allocations: 1.219 MB / 0.6958 GB, free: 37.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1027, allocations: 0.8701 MB / 0.6966 GB, free: 36.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.1032, allocations: 127.1 kB / 0.6967 GB, free: 36.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1033, allocations: 35.42 kB / 0.6968 GB, free: 36.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.38e-06/0.1033, allocations: 0 / 0.6968 GB, free: 36.26 MB / 442.7 MB Notification: Performance of Templates: time 0.008163/0.1115, allocations: 3.022 MB / 0.6997 GB, free: 33.24 MB / 442.7 MB