Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.736e-05, allocations: 9.391 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09544, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4362, allocations: 81.06 MB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4364, allocations: 80.86 kB / 381 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09013/0.5266, allocations: 28.75 MB / 409.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.968e-06/0.5266, allocations: 0 / 409.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.5267, allocations: 15.62 kB / 409.8 MB, free: 14.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002978/0.5297, allocations: 1.07 MB / 410.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5297, allocations: 11.72 kB / 410.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/0.5361, allocations: 0.709 MB / 411.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008735/0.5371, allocations: 435.8 kB / 412 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.5371, allocations: 82.52 kB / 412.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.5374, allocations: 109.1 kB / 412.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.5398, allocations: 1.065 MB / 413.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.5398, allocations: 3.984 kB / 413.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.54, allocations: 50.72 kB / 413.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.54, allocations: 23.5 kB / 413.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.5425, allocations: 1.065 MB / 414.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007079/0.5496, allocations: 4.059 MB / 418.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.5525, allocations: 3.721 MB / 422.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.5531, allocations: 302.5 kB / 422.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.5533, allocations: 93.41 kB / 422.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.5533, allocations: 46.5 kB / 422.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.299e-06/0.5533, allocations: 0 / 422.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001163/0.5545, allocations: 0.5096 MB / 423.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.5546, allocations: 115.2 kB / 423.2 MB, free: 6.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.5549, allocations: 287 kB / 423.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.555, allocations: 40.23 kB / 423.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.5552, allocations: 497.6 kB / 424 MB, free: 6.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5554, allocations: 252.2 kB / 424.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.5554, allocations: 17.94 kB / 424.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.5555, allocations: 348.6 kB / 424.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.556, allocations: 217.9 kB / 424.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.5566, allocations: 0.5279 MB / 425.4 MB, free: 5.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.5573, allocations: 310.9 kB / 425.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5573, allocations: 3.906 kB / 425.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001667/0.559, allocations: 0.8138 MB / 426.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.559, allocations: 11.77 kB / 426.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5591, allocations: 11.72 kB / 426.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/0.5591, allocations: 23.47 kB / 426.5 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.5603, allocations: 238.7 kB / 426.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.5603, allocations: 19.59 kB / 426.8 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.5611, allocations: 108.9 kB / 426.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.5612, allocations: 42.75 kB / 426.9 MB, free: 4.945 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.00036/0.5616, allocations: 166.5 kB / 427.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5618, allocations: 42.94 kB / 427.1 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.5632, allocations: 0.648 MB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5632, allocations: 7.781 kB / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.198e-06/0.5632, allocations: 0 / 427.8 MB, free: 20.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.5632, allocations: 7.984 kB / 427.8 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/0.5663, allocations: 1.544 MB / 429.3 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.5663, allocations: 0 / 429.3 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009019/0.5673, allocations: 143.5 kB / 429.5 MB, free: 19.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.5673, allocations: 3.906 kB / 429.5 MB, free: 19.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.5674, allocations: 21.67 kB / 429.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.238e-06/0.5674, allocations: 3.953 kB / 429.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.879e-06/0.5674, allocations: 7.906 kB / 429.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.5692, allocations: 1.127 MB / 430.6 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.5695, allocations: 138.4 kB / 430.8 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.5696, allocations: 14.09 kB / 430.8 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.5701, allocations: 29.52 kB / 430.8 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5702, allocations: 45.03 kB / 430.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.5703, allocations: 20.66 kB / 430.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.5706, allocations: 204.5 kB / 431.1 MB, free: 19.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.813e-06/0.5706, allocations: 0 / 431.1 MB, free: 19.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001079/0.5717, allocations: 256.8 kB / 431.3 MB, free: 19.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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 Backend phase and start with SimCode phase: time 0.0002926/0.572, allocations: 154 kB / 431.5 MB, free: 19.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.5732, allocations: 0.6245 MB / 432.1 MB, free: 18.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.348e-06/0.5732, allocations: 0 / 432.1 MB, free: 18.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.5738, allocations: 300.3 kB / 432.4 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.5742, allocations: 37.42 kB / 432.4 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.5787, allocations: 1.518 MB / 434 MB, free: 17.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.5794, allocations: 0.9436 MB / 434.9 MB, free: 17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.5797, allocations: 63.48 kB / 435 MB, free: 16.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.859e-06/0.5798, allocations: 0 / 435 MB, free: 16.99 MB / 330.7 MB Notification: Performance of Templates: time 0.01379/0.5936, allocations: 7.69 MB / 442.7 MB, free: 12.52 MB / 330.7 MB