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.004271/0.004277, allocations: 359 kB / 17.21 MB, free: 4.945 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.824/3.824, allocations: 388.9 MB / 406.8 MB, free: 12 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.003712/0.003712, allocations: 237.6 kB / 452.2 MB, free: 14.59 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.7714/0.7714, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 8 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09296, allocations: 53.23 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.5856, allocations: 95.28 MB / 0.7673 GB, free: 81.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5859, allocations: 88.3 kB / 0.7674 GB, free: 81.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05396/0.6399, allocations: 13.18 MB / 0.7802 GB, free: 79.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.64, allocations: 0 / 0.7802 GB, free: 79.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.64, allocations: 7.812 kB / 0.7802 GB, free: 79.32 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.001832/0.6419, allocations: 0.7176 MB / 0.7809 GB, free: 78.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6419, allocations: 7.719 kB / 0.7809 GB, free: 78.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.6428, allocations: 89.8 kB / 0.781 GB, free: 78.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.6444, allocations: 0.5532 MB / 0.7816 GB, free: 78.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.6445, allocations: 26.38 kB / 0.7816 GB, free: 78.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.6446, allocations: 40.94 kB / 0.7816 GB, free: 78.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.646, allocations: 0.662 MB / 0.7823 GB, free: 78.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.6461, allocations: 3.844 kB / 0.7823 GB, free: 78.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.6461, allocations: 18.36 kB / 0.7823 GB, free: 78.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.6463, allocations: 56.47 kB / 0.7823 GB, free: 78.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.6477, allocations: 0.6394 MB / 0.783 GB, free: 77.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.6526, allocations: 2.431 MB / 0.7853 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.6534, allocations: 351.1 kB / 0.7857 GB, free: 76.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.654, allocations: 249.2 kB / 0.7859 GB, free: 76.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.654, allocations: 3.844 kB / 0.7859 GB, free: 76.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6541, allocations: 41.38 kB / 0.786 GB, free: 76.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.487e-06/0.6541, allocations: 0 / 0.786 GB, free: 76.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=47): time 0.003221/0.6573, allocations: 1.465 MB / 0.7874 GB, free: 75.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6574, allocations: 81.27 kB / 0.7875 GB, free: 75.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.6578, allocations: 285.9 kB / 0.7877 GB, free: 75.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.6579, allocations: 35.83 kB / 0.7878 GB, free: 75.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.658, allocations: 243.3 kB / 0.788 GB, free: 75.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.6582, allocations: 162.1 kB / 0.7882 GB, free: 75.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6582, allocations: 10.62 kB / 0.7882 GB, free: 75.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.6583, allocations: 353.3 kB / 0.7885 GB, free: 74.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.6588, allocations: 213.9 kB / 0.7887 GB, free: 74.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.6593, allocations: 371.9 kB / 0.7891 GB, free: 74.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.6599, allocations: 273.6 kB / 0.7893 GB, free: 74.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6599, allocations: 0 / 0.7893 GB, free: 74.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00136/0.6613, allocations: 0.6449 MB / 0.79 GB, free: 74.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.6613, allocations: 7.781 kB / 0.79 GB, free: 74.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6614, allocations: 4.5 kB / 0.79 GB, free: 74.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.6614, allocations: 11.75 kB / 0.79 GB, free: 74.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.6622, allocations: 116.5 kB / 0.7901 GB, free: 74.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.6623, allocations: 11.66 kB / 0.7901 GB, free: 74.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.6627, allocations: 24.97 kB / 0.7901 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.6628, allocations: 19.06 kB / 0.7901 GB, free: 74.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 52 * Array equations: 3 * 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.0003496/0.6632, allocations: 225.5 kB / 0.7904 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.6633, allocations: 30.94 kB / 0.7904 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.6645, allocations: 0.5506 MB / 0.7909 GB, free: 74.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.6645, allocations: 15.53 kB / 0.7909 GB, free: 74.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6645, allocations: 0 / 0.7909 GB, free: 74.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.6646, allocations: 6.609 kB / 0.7909 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.6671, allocations: 1.18 MB / 0.7921 GB, free: 73.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6672, allocations: 4.094 kB / 0.7921 GB, free: 73.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.6678, allocations: 80.84 kB / 0.7922 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.6679, allocations: 6.828 kB / 0.7922 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.6679, allocations: 7.531 kB / 0.7922 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.6679, allocations: 0 / 0.7922 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6679, allocations: 4.594 kB / 0.7922 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.6695, allocations: 0.9043 MB / 0.7931 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6696, allocations: 104.3 kB / 0.7932 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.6697, allocations: 15.45 kB / 0.7932 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.6701, allocations: 23.38 kB / 0.7932 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.6702, allocations: 23.45 kB / 0.7932 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.6703, allocations: 12.41 kB / 0.7933 GB, free: 73.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000264/0.6705, allocations: 203 kB / 0.7934 GB, free: 73.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6705, allocations: 4 kB / 0.7934 GB, free: 73.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006962/0.6712, allocations: 122.8 kB / 0.7936 GB, free: 73.03 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 (34): * Single equations (assignments): 30 * Array equations: 3 * 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.0002763/0.6715, allocations: 142.4 kB / 0.7937 GB, free: 72.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.6726, allocations: 0.5225 MB / 0.7942 GB, free: 72.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6727, allocations: 4.125 kB / 0.7942 GB, free: 72.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.6732, allocations: 246.1 kB / 0.7945 GB, free: 72.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.674, allocations: 67.11 kB / 0.7945 GB, free: 72.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.6763, allocations: 1.384 MB / 0.7959 GB, free: 71.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.6768, allocations: 0.8854 MB / 0.7967 GB, free: 71.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006366/0.6775, allocations: 126 kB / 0.7969 GB, free: 71.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.6776, allocations: 33.84 kB / 0.7969 GB, free: 71.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6777, allocations: 0 / 0.7969 GB, free: 71.12 MB / 442.7 MB Notification: Performance of Templates: time 0.01122/0.6889, allocations: 3.662 MB / 0.8005 GB, free: 69.43 MB / 442.7 MB