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.858/1.858, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.334e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 44.5 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.00787/0.299, allocations: 4.714 MB / 308 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.3035, allocations: 1.57 MB / 309.6 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.3043, allocations: 24 kB / 309.6 MB, free: 7.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.305, allocations: 170.8 kB / 309.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.3078, allocations: 0.6503 MB / 310.4 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.3088, allocations: 215.6 kB / 310.7 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.3102, allocations: 479.3 kB / 311.1 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004049/0.3143, allocations: 1.331 MB / 312.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.3149, allocations: 259.3 kB / 312.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.3156, allocations: 382.9 kB / 313.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.3163, allocations: 155.8 kB / 313.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.3165, allocations: 32 kB / 313.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3166, allocations: 131.5 kB / 313.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3169, allocations: 68 kB / 313.5 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.3186, allocations: 0.9386 MB / 314.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3186, allocations: 0 / 314.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3186, allocations: 0 / 314.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.3187, allocations: 0 / 314.4 MB, free: 2.473 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.004841/0.3235, allocations: 1.218 MB / 315.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3236, allocations: 8.031 kB / 315.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.3343, allocations: 0.9628 MB / 316.6 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3354, allocations: 457.8 kB / 317 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.3355, allocations: 78.17 kB / 317.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.3358, allocations: 104 kB / 317.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.339, allocations: 1.113 MB / 318.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.3391, allocations: 7.734 kB / 318.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.3393, allocations: 48 kB / 318.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.3393, allocations: 24 kB / 318.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.3427, allocations: 1.136 MB / 319.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009221/0.352, allocations: 3.972 MB / 323.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.3575, allocations: 3.748 MB / 327.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.3577, allocations: 97.66 kB / 327.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/0.3578, allocations: 43.12 kB / 327.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.748e-06/0.3578, allocations: 0 / 327.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.002423/0.3603, allocations: 0.768 MB / 328.2 MB, free: 3.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.3604, allocations: 115.4 kB / 328.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.3609, allocations: 279.4 kB / 328.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/0.361, allocations: 37.7 kB / 328.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.3614, allocations: 441.9 kB / 329 MB, free: 2.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.3617, allocations: 248.6 kB / 329.3 MB, free: 2.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.3617, allocations: 20 kB / 329.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.362, allocations: 358.8 kB / 329.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008273/0.3628, allocations: 245.9 kB / 329.9 MB, free: 1.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.3638, allocations: 0.5591 MB / 330.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.3648, allocations: 339 kB / 330.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.3649, allocations: 4 kB / 330.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002508/0.3674, allocations: 0.9071 MB / 331.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.3675, allocations: 9.406 kB / 331.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.3675, allocations: 12 kB / 331.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.229e-05/0.3675, allocations: 16 kB / 331.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.3692, allocations: 235.6 kB / 331.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.086e-05/0.3693, allocations: 27.86 kB / 332 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/0.3701, allocations: 107.2 kB / 332.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.3702, allocations: 51.92 kB / 332.1 MB, free: 15.45 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.0004736/0.3707, allocations: 233.5 kB / 332.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.3709, allocations: 47.44 kB / 332.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3729, allocations: 0.6932 MB / 333.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.373, allocations: 8 kB / 333.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.373, allocations: 0 / 333.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.373, allocations: 7.984 kB / 333.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.3771, allocations: 1.598 MB / 334.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.3771, allocations: 0 / 334.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.3783, allocations: 143.8 kB / 334.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.3784, allocations: 11.97 kB / 334.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.3785, allocations: 20 kB / 334.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.3785, allocations: 4 kB / 334.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3785, allocations: 4 kB / 334.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.3812, allocations: 1.2 MB / 336.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3815, allocations: 128.5 kB / 336.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.3816, allocations: 15.98 kB / 336.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.3823, allocations: 24 kB / 336.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3824, allocations: 52.64 kB / 336.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.3825, allocations: 20 kB / 336.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003238/0.3829, allocations: 207 kB / 336.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3829, allocations: 0 / 336.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001134/0.384, allocations: 247 kB / 336.8 MB, free: 10.69 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.000367/0.3844, allocations: 139.1 kB / 336.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.3865, allocations: 0.6989 MB / 337.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3866, allocations: 0 / 337.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008733/0.3875, allocations: 323.7 kB / 337.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.388, allocations: 36.64 kB / 337.9 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.3919, allocations: 1.704 MB / 339.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.3926, allocations: 0.94 MB / 340.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007585/0.3934, allocations: 84.91 kB / 340.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.3937, allocations: 55.42 kB / 340.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3937, allocations: 0 / 340.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of Templates: time 0.01744/0.4111, allocations: 4.625 MB / 345.4 MB, free: 2.027 MB / 282.7 MB