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_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.856/1.856, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.493e-05/4.506e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.247, allocations: 38.78 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.3752, allocations: 85.11 MB / 348.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.3755, allocations: 83.94 kB / 349 MB, free: 4.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.699/4.075, allocations: 0.778 GB / 1.119 GB, free: 32.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.877e-06/4.075, allocations: 0 / 1.119 GB, free: 32.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009865/4.076, allocations: 383.9 kB / 1.119 GB, free: 32.17 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.06436/4.14, allocations: 15.12 MB / 1.134 GB, free: 27.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/4.14, allocations: 8.25 kB / 1.134 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/4.152, allocations: 2.082 MB / 1.136 GB, free: 27.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0272/4.179, allocations: 10.56 MB / 1.146 GB, free: 25.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001779/4.181, allocations: 1.265 MB / 1.147 GB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006464/4.187, allocations: 1.62 MB / 1.149 GB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07616/4.264, allocations: 27.39 MB / 1.176 GB, free: 23.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006401/4.264, allocations: 23.06 kB / 1.176 GB, free: 23.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005669/4.27, allocations: 0.7028 MB / 1.177 GB, free: 23.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009173/4.271, allocations: 0.7444 MB / 1.177 GB, free: 23.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05046/4.321, allocations: 20.04 MB / 1.197 GB, free: 19.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5506/4.872, allocations: 87.03 MB / 1.282 GB, free: 26.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/4.895, allocations: 13.75 MB / 1.295 GB, free: 24.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02444/4.919, allocations: 12.11 MB / 1.307 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/4.921, allocations: 236.9 kB / 1.307 GB, free: 24.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/4.921, allocations: 119.2 kB / 1.307 GB, free: 24.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 1.963e-05/4.921, allocations: 1.656 kB / 1.307 GB, free: 24.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.04818/4.969, allocations: 21.43 MB / 1.328 GB, free: 23.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/4.969, allocations: 214 kB / 1.329 GB, free: 23.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/4.975, allocations: 2.941 MB / 1.331 GB, free: 23.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002058/4.977, allocations: 153.2 kB / 1.332 GB, free: 23.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00341/4.981, allocations: 5.574 MB / 1.337 GB, free: 21.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005418/4.986, allocations: 3.652 MB / 1.341 GB, free: 18.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002299/4.989, allocations: 150.8 kB / 1.341 GB, free: 18.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001327/4.99, allocations: 0.7435 MB / 1.341 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01724/5.007, allocations: 7.676 MB / 1.349 GB, free: 18.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02119/5.029, allocations: 9.147 MB / 1.358 GB, free: 17.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/5.047, allocations: 9.232 MB / 1.367 GB, free: 14.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-05/5.047, allocations: 9.906 kB / 1.367 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.05353/5.101, allocations: 22.95 MB / 1.389 GB, free: 1.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/5.101, allocations: 20.94 kB / 1.389 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/5.101, allocations: 36 kB / 1.389 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03938/5.14, allocations: 11.37 MB / 1.4 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/5.146, allocations: 0.9316 MB / 1.401 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0477/5.194, allocations: 22.76 MB / 1.424 GB, free: 6.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007433/5.201, allocations: 0.8541 MB / 1.424 GB, free: 5.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002763/5.204, allocations: 356.5 kB / 1.425 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.00432/5.208, allocations: 498.5 kB / 1.425 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003135/5.211, allocations: 0.5629 MB / 1.426 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4046/5.616, allocations: 25.35 MB / 1.451 GB, free: 70.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06756/5.684, allocations: 21.25 MB / 1.471 GB, free: 70.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/5.684, allocations: 0 / 1.471 GB, free: 70.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/5.684, allocations: 44.72 kB / 1.471 GB, free: 70.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1003/5.784, allocations: 44.86 MB / 1.515 GB, free: 64.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001235/5.784, allocations: 3.219 kB / 1.515 GB, free: 64.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/5.788, allocations: 0.5931 MB / 1.516 GB, free: 64.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02689/5.815, allocations: 10.69 MB / 1.526 GB, free: 61.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002305/5.817, allocations: 224.6 kB / 1.526 GB, free: 61.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03556/5.853, allocations: 22.41 MB / 1.548 GB, free: 49.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.436e-06/5.853, allocations: 8.797 kB / 1.548 GB, free: 49.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06747/5.921, allocations: 34.08 MB / 1.582 GB, free: 25.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00684/5.927, allocations: 2.433 MB / 1.584 GB, free: 23.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002749/5.93, allocations: 130.6 kB / 1.584 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00546/5.936, allocations: 262.9 kB / 1.584 GB, free: 23.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003401/5.939, allocations: 0.8828 MB / 1.585 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001956/5.941, allocations: 274.2 kB / 1.585 GB, free: 22.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004679/5.946, allocations: 2.279 MB / 1.588 GB, free: 20.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.008e-06/5.946, allocations: 0 / 1.588 GB, free: 20.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0198/5.966, allocations: 3.742 MB / 1.591 GB, free: 17.06 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.003487/5.969, allocations: 356.9 kB / 1.592 GB, free: 16.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3989/6.368, allocations: 18.56 MB / 1.61 GB, free: 71.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/6.368, allocations: 4.453 kB / 1.61 GB, free: 71.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02413/6.392, allocations: 9.76 MB / 1.619 GB, free: 71.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009533/6.402, allocations: 1.317 MB / 1.621 GB, free: 71.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08356/6.486, allocations: 30.36 MB / 1.65 GB, free: 66.97 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03967/6.525, allocations: 11.57 MB / 1.662 GB, free: 65.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007627/6.533, allocations: 1.222 MB / 1.663 GB, free: 65.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/6.534, allocations: 243.9 kB / 1.663 GB, free: 65.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.765e-06/6.534, allocations: 0 / 1.663 GB, free: 65.7 MB / 474.7 MB Notification: Performance of Templates: time 0.7653/7.3, allocations: 189.5 MB / 1.848 GB, free: 59.45 MB / 474.7 MB