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 2.403/2.403, allocations: 194.9 MB / 211.2 MB, free: 8.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.029e-05, allocations: 4 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3098, allocations: 44.5 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007955/0.3178, allocations: 4.71 MB / 308 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.3226, allocations: 1.576 MB / 309.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.3234, allocations: 24 kB / 309.6 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.3242, allocations: 170.8 kB / 309.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.327, allocations: 0.6464 MB / 310.4 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.328, allocations: 223.5 kB / 310.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.3295, allocations: 475.3 kB / 311.1 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.3336, allocations: 1.331 MB / 312.4 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.3342, allocations: 263.3 kB / 312.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.335, allocations: 386.8 kB / 313.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.3357, allocations: 151.9 kB / 313.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.3358, allocations: 32 kB / 313.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.336, allocations: 135.5 kB / 313.4 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.3362, allocations: 64 kB / 313.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.3378, allocations: 0.9308 MB / 314.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3379, allocations: 0 / 314.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3379, allocations: 0 / 314.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.3379, allocations: 4 kB / 314.4 MB, free: 2.582 MB / 250.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.004885/0.3428, allocations: 1.222 MB / 315.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.3429, allocations: 8.031 kB / 315.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.3534, allocations: 0.9628 MB / 316.6 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3546, allocations: 461.6 kB / 317 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.3547, allocations: 74.17 kB / 317.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.355, allocations: 108 kB / 317.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.3581, allocations: 1.113 MB / 318.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.3582, allocations: 7.906 kB / 318.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.3584, allocations: 51.98 kB / 318.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.3585, allocations: 24 kB / 318.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.3619, allocations: 1.128 MB / 319.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008943/0.3709, allocations: 3.964 MB / 323.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/0.376, allocations: 3.756 MB / 327.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.3763, allocations: 97.64 kB / 327.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.3764, allocations: 47.12 kB / 327.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.777e-06/0.3764, allocations: 0 / 327.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.002447/0.3788, allocations: 0.768 MB / 328.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.3789, allocations: 107.4 kB / 328.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.3794, allocations: 287.4 kB / 328.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.3795, allocations: 37.7 kB / 328.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.3799, allocations: 0.4964 MB / 329.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.3802, allocations: 236.6 kB / 329.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.3802, allocations: 20 kB / 329.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3804, allocations: 350.8 kB / 329.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007838/0.3812, allocations: 253.9 kB / 329.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.3822, allocations: 0.5552 MB / 330.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009738/0.3832, allocations: 339 kB / 330.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.3833, allocations: 4 kB / 330.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002462/0.3857, allocations: 0.8879 MB / 331.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.3858, allocations: 8.125 kB / 331.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.3858, allocations: 16 kB / 331.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.043e-05/0.3859, allocations: 19.98 kB / 331.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.3875, allocations: 235.6 kB / 332 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/0.3876, allocations: 27.86 kB / 332 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.3885, allocations: 106.7 kB / 332.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3886, allocations: 51.98 kB / 332.1 MB, free: 15.52 MB / 282.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.0004941/0.3891, allocations: 237.5 kB / 332.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.3893, allocations: 47.44 kB / 332.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.3913, allocations: 0.6815 MB / 333.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.3914, allocations: 12 kB / 333.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3914, allocations: 4 kB / 333.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3914, allocations: 3.984 kB / 333.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.3954, allocations: 1.594 MB / 334.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.3954, allocations: 4 kB / 334.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.3967, allocations: 155.8 kB / 334.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.3967, allocations: 3.938 kB / 334.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.3968, allocations: 23.97 kB / 334.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.3968, allocations: 4 kB / 334.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3968, allocations: 0 / 334.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.3996, allocations: 1.204 MB / 336.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.3998, allocations: 124.5 kB / 336.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3999, allocations: 16 kB / 336.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.4006, allocations: 27.98 kB / 336.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.4008, allocations: 44.59 kB / 336.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.4008, allocations: 23.98 kB / 336.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.4012, allocations: 207.1 kB / 336.5 MB, free: 11 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4012, allocations: 0 / 336.5 MB, free: 11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001122/0.4023, allocations: 247.1 kB / 336.8 MB, free: 10.76 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.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.0003326/0.4027, allocations: 151 kB / 336.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.4047, allocations: 0.6938 MB / 337.6 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4047, allocations: 0 / 337.6 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.4056, allocations: 321.1 kB / 337.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.4062, allocations: 36.66 kB / 338 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.41, allocations: 1.736 MB / 339.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.4107, allocations: 0.9361 MB / 340.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.4111, allocations: 63.42 kB / 340.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4111, allocations: 0 / 340.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of Templates: time 0.01918/0.4303, allocations: 7.739 MB / 348.4 MB, free: 15 MB / 298.7 MB