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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.86e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07661/0.07666, allocations: 44.51 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.5181, allocations: 81.06 MB / 381 MB, free: 21.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002086/0.5203, allocations: 80.16 kB / 381 MB, free: 21.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1222/0.6425, allocations: 28.76 MB / 409.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.072e-06/0.6426, allocations: 0 / 409.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.6426, allocations: 15.53 kB / 409.8 MB, free: 14.37 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.004377/0.647, allocations: 1.068 MB / 410.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.6471, allocations: 11.69 kB / 410.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.6579, allocations: 0.7063 MB / 411.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.6587, allocations: 438.2 kB / 412 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.6588, allocations: 78.3 kB / 412.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.659, allocations: 109.9 kB / 412.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.6613, allocations: 1.066 MB / 413.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.6613, allocations: 0 / 413.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.6615, allocations: 48.25 kB / 413.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.6615, allocations: 23.53 kB / 413.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.6637, allocations: 1.062 MB / 414.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00649/0.6703, allocations: 4.058 MB / 418.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.6732, allocations: 3.721 MB / 422.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.6738, allocations: 302.5 kB / 422.5 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.6739, allocations: 97.39 kB / 422.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6739, allocations: 43.94 kB / 422.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.966e-06/0.6739, allocations: 0 / 422.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001128/0.6751, allocations: 0.5136 MB / 423.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6751, allocations: 111.2 kB / 423.2 MB, free: 6.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.6755, allocations: 290.4 kB / 423.5 MB, free: 6.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.6756, allocations: 37.23 kB / 423.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.6758, allocations: 437 kB / 424 MB, free: 5.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.6759, allocations: 252.6 kB / 424.2 MB, free: 5.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.676, allocations: 22.16 kB / 424.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.6761, allocations: 351 kB / 424.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.6766, allocations: 220.1 kB / 424.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.6772, allocations: 0.5256 MB / 425.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.6779, allocations: 316.5 kB / 425.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.468e-06/0.6779, allocations: 0 / 425.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001674/0.6796, allocations: 0.8222 MB / 426.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.6796, allocations: 11.77 kB / 426.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6797, allocations: 11.78 kB / 426.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.6797, allocations: 15.62 kB / 426.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.6808, allocations: 238.1 kB / 426.7 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.6808, allocations: 23.64 kB / 426.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.6816, allocations: 109.2 kB / 426.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.6817, allocations: 46.55 kB / 426.9 MB, free: 4.52 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.0003035/0.682, allocations: 166.3 kB / 427.1 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.6821, allocations: 46.84 kB / 427.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.6835, allocations: 0.6464 MB / 427.8 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.6835, allocations: 7.812 kB / 427.8 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.878e-06/0.6836, allocations: 0 / 427.8 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6836, allocations: 7.969 kB / 427.8 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.6864, allocations: 1.544 MB / 429.3 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.6864, allocations: 0 / 429.3 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007762/0.6872, allocations: 148.1 kB / 429.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.6873, allocations: 3.844 kB / 429.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.6873, allocations: 19.38 kB / 429.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.37e-06/0.6873, allocations: 3.953 kB / 429.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.205e-06/0.6874, allocations: 7.844 kB / 429.5 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.6891, allocations: 1.119 MB / 430.6 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.6893, allocations: 138 kB / 430.8 MB, free: 18.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.6894, allocations: 13.66 kB / 430.8 MB, free: 18.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.6899, allocations: 32.39 kB / 430.8 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.69, allocations: 43 kB / 430.8 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.6901, allocations: 19.5 kB / 430.9 MB, free: 18.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002832/0.6904, allocations: 204.5 kB / 431.1 MB, free: 18.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.6904, allocations: 0 / 431.1 MB, free: 18.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001028/0.6914, allocations: 255.7 kB / 431.3 MB, free: 18.82 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.0002789/0.6917, allocations: 167.9 kB / 431.5 MB, free: 18.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.6929, allocations: 0.6236 MB / 432.1 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.611e-06/0.6929, allocations: 0 / 432.1 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.6934, allocations: 293.3 kB / 432.4 MB, free: 18.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.6938, allocations: 45.72 kB / 432.4 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.6982, allocations: 1.475 MB / 433.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.6989, allocations: 0.9382 MB / 434.8 MB, free: 16.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.6994, allocations: 94.5 kB / 434.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.6996, allocations: 57.05 kB / 435 MB, free: 16.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.738e-06/0.6997, allocations: 4 kB / 435 MB, free: 16.59 MB / 330.7 MB Notification: Performance of Templates: time 0.01316/0.7128, allocations: 4.659 MB / 439.7 MB, free: 14.3 MB / 330.7 MB