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.889/1.889, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.696e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07662/0.07667, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.4039, allocations: 81.05 MB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4041, allocations: 77.41 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09047/0.4946, allocations: 28.76 MB / 409.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.812e-06/0.4947, allocations: 0 / 409.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.4947, allocations: 15.62 kB / 409.7 MB, free: 14.78 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.002613/0.4973, allocations: 1.069 MB / 410.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4974, allocations: 7.781 kB / 410.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00609/0.5035, allocations: 0.7161 MB / 411.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.5043, allocations: 434.8 kB / 412 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.5043, allocations: 77.8 kB / 412 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.5045, allocations: 111.1 kB / 412.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.5067, allocations: 1.082 MB / 413.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.5067, allocations: 0 / 413.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.5069, allocations: 40.69 kB / 413.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.5069, allocations: 27.53 kB / 413.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.5096, allocations: 1.077 MB / 414.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00675/0.5163, allocations: 4.062 MB / 418.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.5193, allocations: 3.723 MB / 422.2 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.5199, allocations: 299.8 kB / 422.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.52, allocations: 104.9 kB / 422.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.52, allocations: 42.16 kB / 422.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.26e-06/0.5201, allocations: 0 / 422.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001099/0.5212, allocations: 0.5105 MB / 423.1 MB, free: 6.848 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.5212, allocations: 115.2 kB / 423.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.5216, allocations: 286.1 kB / 423.5 MB, free: 6.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.5216, allocations: 36.3 kB / 423.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5218, allocations: 0.4954 MB / 424 MB, free: 6.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.522, allocations: 243.2 kB / 424.3 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.522, allocations: 17.94 kB / 424.3 MB, free: 5.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.5223, allocations: 345.4 kB / 424.6 MB, free: 21.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.5228, allocations: 221.8 kB / 424.8 MB, free: 21.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.5234, allocations: 0.5397 MB / 425.4 MB, free: 21.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.524, allocations: 313.6 kB / 425.7 MB, free: 21.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.492e-06/0.524, allocations: 0 / 425.7 MB, free: 21.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001592/0.5257, allocations: 0.8497 MB / 426.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5257, allocations: 7.719 kB / 426.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.5257, allocations: 11.72 kB / 426.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.5258, allocations: 19.62 kB / 426.6 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5268, allocations: 234.9 kB / 426.8 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.5269, allocations: 23.55 kB / 426.8 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.5276, allocations: 108.7 kB / 426.9 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.5277, allocations: 42.59 kB / 427 MB, free: 20.84 MB / 330.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.0001996/0.5279, allocations: 166 kB / 427.1 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.528, allocations: 50.75 kB / 427.2 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.5294, allocations: 0.6399 MB / 427.8 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.835e-06/0.5294, allocations: 11.75 kB / 427.8 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-06/0.5295, allocations: 0 / 427.8 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5295, allocations: 11.89 kB / 427.8 MB, free: 20.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5324, allocations: 1.532 MB / 429.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.5324, allocations: 7.906 kB / 429.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.5332, allocations: 150 kB / 429.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.5332, allocations: 3.844 kB / 429.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.5333, allocations: 20.08 kB / 429.6 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.239e-06/0.5333, allocations: 3.812 kB / 429.6 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.682e-06/0.5334, allocations: 7.984 kB / 429.6 MB, free: 19.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.5352, allocations: 1.121 MB / 430.7 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5353, allocations: 135.5 kB / 430.8 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.5354, allocations: 17 kB / 430.8 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.536, allocations: 27.55 kB / 430.9 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5361, allocations: 46.97 kB / 430.9 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.5361, allocations: 19.2 kB / 430.9 MB, free: 19.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.5364, allocations: 204.7 kB / 431.1 MB, free: 19.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.368e-06/0.5364, allocations: 3.938 kB / 431.1 MB, free: 19.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001056/0.5375, allocations: 258.5 kB / 431.4 MB, free: 19.06 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.0002795/0.5378, allocations: 161.8 kB / 431.5 MB, free: 18.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.5389, allocations: 0.641 MB / 432.2 MB, free: 18.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.518e-06/0.539, allocations: 0.8125 kB / 432.2 MB, free: 18.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.5395, allocations: 302 kB / 432.5 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.5399, allocations: 44.23 kB / 432.5 MB, free: 18.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.5443, allocations: 1.516 MB / 434 MB, free: 17.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.545, allocations: 0.9438 MB / 435 MB, free: 16.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.5453, allocations: 67.42 kB / 435 MB, free: 16.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.59e-06/0.5453, allocations: 0 / 435 MB, free: 16.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01236/0.5577, allocations: 7.733 MB / 442.8 MB, free: 12.38 MB / 330.7 MB