Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma|source.voltageSource.2..pin_p.reference.gamma|source.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.819e-05, allocations: 4 kB / 225 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3827, allocations: 85.11 MB / 348.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.383, allocations: 79.95 kB / 348.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.66/4.043, allocations: 0.778 GB / 1.119 GB, free: 32.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.856e-06/4.043, allocations: 0 / 1.119 GB, free: 32.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009007/4.044, allocations: 387.8 kB / 1.119 GB, free: 32.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.06403/4.108, allocations: 15.12 MB / 1.134 GB, free: 27.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/4.108, allocations: 7.094 kB / 1.134 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/4.12, allocations: 2.078 MB / 1.136 GB, free: 27.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02684/4.147, allocations: 10.57 MB / 1.146 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/4.149, allocations: 1.269 MB / 1.147 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006526/4.155, allocations: 1.624 MB / 1.149 GB, free: 25.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07716/4.233, allocations: 27.38 MB / 1.176 GB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006315/4.233, allocations: 19.09 kB / 1.176 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005761/4.239, allocations: 0.7043 MB / 1.177 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009004/4.24, allocations: 0.7363 MB / 1.177 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05162/4.292, allocations: 20.05 MB / 1.197 GB, free: 19.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5621/4.854, allocations: 87.02 MB / 1.282 GB, free: 27.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/4.877, allocations: 13.76 MB / 1.295 GB, free: 24.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0233/4.9, allocations: 12.11 MB / 1.307 GB, free: 24.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009389/4.901, allocations: 236.6 kB / 1.307 GB, free: 24.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.905e-05/4.901, allocations: 119.4 kB / 1.307 GB, free: 24.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 2.124e-05/4.901, allocations: 0 / 1.307 GB, free: 24.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.0464/4.947, allocations: 21.42 MB / 1.328 GB, free: 24.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/4.948, allocations: 218.2 kB / 1.329 GB, free: 23.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005826/4.953, allocations: 2.947 MB / 1.331 GB, free: 23.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001987/4.955, allocations: 149.9 kB / 1.332 GB, free: 23.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002942/4.958, allocations: 5.4 MB / 1.337 GB, free: 21.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005186/4.964, allocations: 3.655 MB / 1.34 GB, free: 18.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/4.965, allocations: 150.9 kB / 1.341 GB, free: 18.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001068/4.966, allocations: 0.7482 MB / 1.341 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.015/4.981, allocations: 7.677 MB / 1.349 GB, free: 18.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01774/4.999, allocations: 9.146 MB / 1.358 GB, free: 17.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/5.017, allocations: 9.231 MB / 1.367 GB, free: 14.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.157e-05/5.017, allocations: 10.62 kB / 1.367 GB, free: 14.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.05074/5.068, allocations: 22.75 MB / 1.389 GB, free: 2.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/5.068, allocations: 20 kB / 1.389 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/5.068, allocations: 36 kB / 1.389 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03665/5.105, allocations: 11.25 MB / 1.4 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005284/5.11, allocations: 0.9364 MB / 1.401 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04662/5.157, allocations: 22.75 MB / 1.423 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007098/5.164, allocations: 0.8506 MB / 1.424 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002474/5.167, allocations: 360.2 kB / 1.424 GB, free: 4.898 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.002946/5.17, allocations: 0.4909 MB / 1.425 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002333/5.172, allocations: 0.5629 MB / 1.425 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3972/5.569, allocations: 25.38 MB / 1.45 GB, free: 71.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04643/5.616, allocations: 21.26 MB / 1.471 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/5.616, allocations: 0 / 1.471 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/5.616, allocations: 43.62 kB / 1.471 GB, free: 70.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09974/5.716, allocations: 44.87 MB / 1.515 GB, free: 64.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000146/5.716, allocations: 0 / 1.515 GB, free: 64.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003906/5.72, allocations: 0.5881 MB / 1.515 GB, free: 64.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02613/5.746, allocations: 10.69 MB / 1.526 GB, free: 61.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002164/5.748, allocations: 220.9 kB / 1.526 GB, free: 61.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03478/5.783, allocations: 22.42 MB / 1.548 GB, free: 49.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.508e-06/5.783, allocations: 5.422 kB / 1.548 GB, free: 49.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06754/5.85, allocations: 34.07 MB / 1.581 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006762/5.857, allocations: 2.438 MB / 1.583 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002781/5.86, allocations: 128 kB / 1.584 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005176/5.865, allocations: 254.7 kB / 1.584 GB, free: 23.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002995/5.868, allocations: 0.8873 MB / 1.585 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00156/5.87, allocations: 270.9 kB / 1.585 GB, free: 22.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004376/5.874, allocations: 2.279 MB / 1.587 GB, free: 20.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.075e-06/5.874, allocations: 2.344 kB / 1.587 GB, free: 20.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01334/5.888, allocations: 3.741 MB / 1.591 GB, free: 17.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (368): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002423/5.89, allocations: 364.3 kB / 1.591 GB, free: 16.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3426/6.233, allocations: 18.53 MB / 1.609 GB, free: 71.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.763e-06/6.233, allocations: 0.8438 kB / 1.609 GB, free: 71.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02415/6.257, allocations: 9.761 MB / 1.619 GB, free: 71.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009551/6.267, allocations: 1.318 MB / 1.62 GB, free: 71.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07626/6.343, allocations: 29.71 MB / 1.649 GB, free: 67.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02374/6.367, allocations: 11.21 MB / 1.66 GB, free: 65.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/6.369, allocations: 271.9 kB / 1.66 GB, free: 65.93 MB / 474.7 MB Notification: Performance of SimCode: time 2.037e-06/6.369, allocations: 5.312 kB / 1.66 GB, free: 65.93 MB / 474.7 MB Notification: Performance of Templates: time 2.764/9.132, allocations: 0.9421 GB / 2.602 GB, free: 74.97 MB / 0.4948 GB