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.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.073e-05, allocations: 7.984 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08372, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4258, allocations: 85.66 MB / 402.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4261, allocations: 78.27 kB / 402.7 MB, free: 2.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09797/0.5241, allocations: 28.99 MB / 431.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5241, allocations: 0 / 431.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.5242, allocations: 12 kB / 431.7 MB, free: 10.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002956/0.5271, allocations: 1.071 MB / 432.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5272, allocations: 8.031 kB / 432.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00644/0.5336, allocations: 0.7163 MB / 433.5 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009542/0.5346, allocations: 455.8 kB / 433.9 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.5347, allocations: 81.11 kB / 434 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.535, allocations: 103.1 kB / 434.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5374, allocations: 1.066 MB / 435.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.5375, allocations: 0 / 435.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5376, allocations: 42.5 kB / 435.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.5377, allocations: 32 kB / 435.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.5401, allocations: 1.063 MB / 436.3 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007768/0.5479, allocations: 4.067 MB / 440.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.5522, allocations: 3.723 MB / 444.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.5528, allocations: 288.7 kB / 444.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.553, allocations: 101.6 kB / 444.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.553, allocations: 51.02 kB / 444.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 4.064e-06/0.5531, allocations: 0 / 444.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.001328/0.5544, allocations: 0.5102 MB / 445 MB, free: 14.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.5545, allocations: 115.4 kB / 445.1 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.555, allocations: 290.4 kB / 445.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.5551, allocations: 37.7 kB / 445.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.5554, allocations: 445.9 kB / 445.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.5557, allocations: 252.5 kB / 446.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.5558, allocations: 20 kB / 446.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.556, allocations: 354.8 kB / 446.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.5565, allocations: 222 kB / 446.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.5574, allocations: 0.5223 MB / 447.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.5581, allocations: 313.9 kB / 447.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.266e-06/0.5581, allocations: 3.938 kB / 447.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001922/0.5601, allocations: 0.8206 MB / 448.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.5601, allocations: 12 kB / 448.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.5602, allocations: 11.95 kB / 448.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/0.5602, allocations: 24.06 kB / 448.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.5613, allocations: 231.6 kB / 448.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.5614, allocations: 23.92 kB / 448.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.5621, allocations: 107 kB / 448.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5622, allocations: 44 kB / 448.8 MB, free: 10.12 MB / 362.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.0002209/0.5624, allocations: 164.6 kB / 449 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.5626, allocations: 47.44 kB / 449 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.5642, allocations: 0.6497 MB / 449.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.5642, allocations: 11.95 kB / 449.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-06/0.5642, allocations: 0 / 449.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.5642, allocations: 3.984 kB / 449.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.5675, allocations: 1.535 MB / 451.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.857e-06/0.5676, allocations: 4 kB / 451.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.5684, allocations: 151.8 kB / 451.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5684, allocations: 4 kB / 451.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.5685, allocations: 19.98 kB / 451.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.397e-06/0.5685, allocations: 7.938 kB / 451.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.568e-06/0.5685, allocations: 3.953 kB / 451.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.5705, allocations: 1.123 MB / 452.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.5707, allocations: 136.3 kB / 452.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.5708, allocations: 19.98 kB / 452.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.5713, allocations: 24 kB / 452.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.5715, allocations: 52.75 kB / 452.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.5716, allocations: 20 kB / 452.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003057/0.5719, allocations: 210.2 kB / 453 MB, free: 5.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.5719, allocations: 0 / 453 MB, free: 5.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001096/0.573, allocations: 255.1 kB / 453.2 MB, free: 5.57 MB / 362.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.0003093/0.5733, allocations: 167.1 kB / 453.4 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.5747, allocations: 0.6207 MB / 454 MB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.593e-06/0.5747, allocations: 8 kB / 454 MB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.5753, allocations: 294.8 kB / 454.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.5758, allocations: 33.22 kB / 454.4 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.5807, allocations: 1.531 MB / 455.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.5815, allocations: 0.9399 MB / 456.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005791/0.5821, allocations: 96.88 kB / 456.9 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.5823, allocations: 55.42 kB / 457 MB, free: 1.773 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5823, allocations: 0 / 457 MB, free: 1.773 MB / 362.7 MB Notification: Performance of Templates: time 0.01513/0.5975, allocations: 4.734 MB / 461.7 MB, free: 13.04 MB / 378.7 MB