Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002602/0.002607, allocations: 364.8 kB / 17.21 MB, free: 4.953 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.694/3.694, 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.003621/0.003621, allocations: 225.7 kB / 452.2 MB, free: 14.61 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.7302/0.7302, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004517, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09371, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.5696, allocations: 105.1 MB / 0.7768 GB, free: 81.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5699, allocations: 97.3 kB / 0.7769 GB, free: 81.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.13/0.7, allocations: 29.62 MB / 0.8059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.7001, allocations: 0 / 0.8059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.98e-05/0.7002, allocations: 18.38 kB / 0.8059 GB, free: 69.63 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004026/0.7042, allocations: 1.204 MB / 0.8071 GB, free: 68.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7043, allocations: 7.812 kB / 0.8071 GB, free: 68.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.7071, allocations: 259.7 kB / 0.8073 GB, free: 68.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.7106, allocations: 1.008 MB / 0.8083 GB, free: 68.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.7107, allocations: 67.75 kB / 0.8084 GB, free: 68.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.7109, allocations: 79.86 kB / 0.8084 GB, free: 68.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.7142, allocations: 1.349 MB / 0.8098 GB, free: 67.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.7143, allocations: 7.938 kB / 0.8098 GB, free: 67.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.7144, allocations: 39.42 kB / 0.8098 GB, free: 67.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/0.7147, allocations: 100.7 kB / 0.8099 GB, free: 67.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/0.7177, allocations: 1.028 MB / 0.8109 GB, free: 66.42 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009813/0.7276, allocations: 5.763 MB / 0.8165 GB, free: 61.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.7293, allocations: 0.7945 MB / 0.8173 GB, free: 60.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008687/0.7303, allocations: 379.1 kB / 0.8177 GB, free: 60.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.198e-05/0.7304, allocations: 8.547 kB / 0.8177 GB, free: 60.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009845/0.7314, allocations: 0.5193 MB / 0.8182 GB, free: 59.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=73): time 3.707e-06/0.7314, allocations: 0 / 0.8182 GB, free: 59.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.005428/0.7368, allocations: 2.389 MB / 0.8205 GB, free: 57.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.7369, allocations: 177 kB / 0.8207 GB, free: 57.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.7379, allocations: 0.612 MB / 0.8213 GB, free: 57.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.7379, allocations: 38.45 kB / 0.8213 GB, free: 57.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.7383, allocations: 0.5068 MB / 0.8218 GB, free: 56.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.7386, allocations: 257.1 kB / 0.8221 GB, free: 56.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.7387, allocations: 18.69 kB / 0.8221 GB, free: 56.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7388, allocations: 391.5 kB / 0.8224 GB, free: 56.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.7396, allocations: 370.1 kB / 0.8228 GB, free: 55.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.7407, allocations: 0.7682 MB / 0.8235 GB, free: 55.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7418, allocations: 0.5362 MB / 0.8241 GB, free: 54.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.7418, allocations: 4 kB / 0.8241 GB, free: 54.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003849/0.7457, allocations: 1.476 MB / 0.8255 GB, free: 53.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.7458, allocations: 41.69 kB / 0.8256 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002489/0.7483, allocations: 0.8764 MB / 0.8264 GB, free: 52.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.7494, allocations: 259.8 kB / 0.8267 GB, free: 52.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.7509, allocations: 211.4 kB / 0.8269 GB, free: 52.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.7564, allocations: 4.022 MB / 0.8308 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.7577, allocations: 72.42 kB / 0.8309 GB, free: 48.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.7578, allocations: 64.41 kB / 0.8309 GB, free: 48.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007767/0.7586, allocations: 389.1 kB / 0.8313 GB, free: 48.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.7587, allocations: 79.02 kB / 0.8314 GB, free: 48.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.7609, allocations: 0.9593 MB / 0.8323 GB, free: 47.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.761, allocations: 23.92 kB / 0.8323 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.761, allocations: 2.062 kB / 0.8323 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.761, allocations: 3.984 kB / 0.8323 GB, free: 47.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.765, allocations: 1.922 MB / 0.8342 GB, free: 45.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.765, allocations: 0 / 0.8342 GB, free: 45.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.7664, allocations: 151.8 kB / 0.8344 GB, free: 45.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.7664, allocations: 4 kB / 0.8344 GB, free: 45.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/0.7665, allocations: 19.98 kB / 0.8344 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.7665, allocations: 7.938 kB / 0.8344 GB, free: 45.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7665, allocations: 8.156 kB / 0.8344 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.7694, allocations: 1.475 MB / 0.8358 GB, free: 43.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.7699, allocations: 212.1 kB / 0.836 GB, free: 43.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.77, allocations: 20 kB / 0.8361 GB, free: 43.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.7708, allocations: 47.88 kB / 0.8361 GB, free: 43.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.7709, allocations: 40.47 kB / 0.8361 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.7711, allocations: 48.59 kB / 0.8362 GB, free: 43.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006736/0.7717, allocations: 411 kB / 0.8366 GB, free: 42.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7718, allocations: 4 kB / 0.8366 GB, free: 42.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001382/0.7731, allocations: 260 kB / 0.8368 GB, free: 42.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 1 * 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.0003824/0.7735, allocations: 185 kB / 0.837 GB, free: 42.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.7764, allocations: 1.299 MB / 0.8383 GB, free: 41.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7764, allocations: 0 / 0.8383 GB, free: 41.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7774, allocations: 0.5107 MB / 0.8388 GB, free: 40.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.7787, allocations: 124.7 kB / 0.8389 GB, free: 40.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.7833, allocations: 2.425 MB / 0.8413 GB, free: 38.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.7841, allocations: 1.138 MB / 0.8424 GB, free: 36.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001298/0.7855, allocations: 287.1 kB / 0.8426 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.7858, allocations: 63.42 kB / 0.8427 GB, free: 36.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7858, allocations: 0 / 0.8427 GB, free: 36.5 MB / 442.7 MB Notification: Performance of Templates: time 0.0236/0.8094, allocations: 8.706 MB / 0.8512 GB, free: 27.89 MB / 442.7 MB