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.726/1.726, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.531e-05, allocations: 0 / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08316, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03867/0.1219, allocations: 22.92 MB / 289.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1382, allocations: 5.356 MB / 295.2 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005452/0.1437, allocations: 255.3 kB / 295.4 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006759/0.1505, allocations: 1.43 MB / 296.9 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008454/0.1591, allocations: 1.491 MB / 298.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2419/0.4011, allocations: 1.284 MB / 299.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.02087/0.4219, allocations: 8.397 MB / 308 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1125/0.5345, allocations: 34.08 MB / 342.1 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/0.5495, allocations: 4.456 MB / 346.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01742/0.567, allocations: 5.198 MB / 351.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007265/0.5743, allocations: 0.5897 MB / 352.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003306/0.5777, allocations: 452 kB / 352.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004745/0.5824, allocations: 2.057 MB / 354.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006927/0.5894, allocations: 1.188 MB / 356.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04915/0.6386, allocations: 32.7 MB / 388.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6387, allocations: 0 / 388.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.6387, allocations: 0 / 388.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0009891/0.6397, allocations: 0 / 388.8 MB, free: 9.258 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: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.07037/0.7101, allocations: 16.32 MB / 405.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.7102, allocations: 8.031 kB / 405.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.7273, allocations: 2.386 MB / 407.5 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0386/0.7659, allocations: 9.214 MB / 416.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00269/0.7687, allocations: 1.333 MB / 418 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009176/0.7779, allocations: 1.742 MB / 419.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5782/1.356, allocations: 26.26 MB / 446 MB, free: 68.88 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009951/1.357, allocations: 18.8 kB / 446 MB, free: 68.88 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005456/1.363, allocations: 0.7243 MB / 446.8 MB, free: 68.3 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004181/1.363, allocations: 445.4 kB / 447.2 MB, free: 68.3 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06263/1.426, allocations: 20.25 MB / 467.4 MB, free: 57.25 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1816/1.607, allocations: 82.94 MB / 0.5375 GB, free: 8.992 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009539/1.617, allocations: 5.13 MB / 0.5425 GB, free: 3.453 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/1.617, allocations: 36.72 kB / 0.5425 GB, free: 3.422 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.108e-05/1.618, allocations: 56.56 kB / 0.5426 GB, free: 3.359 MB / 378.8 MB Notification: Performance of pre-optimization done (n=198): time 6.843e-06/1.618, allocations: 0 / 0.5426 GB, free: 3.359 MB / 378.8 MB Notification: Performance of matching and sorting (n=198): time 0.05533/1.673, allocations: 9.499 MB / 0.5519 GB, free: 9.785 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.673, allocations: 150.5 kB / 0.552 GB, free: 9.605 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01645/1.69, allocations: 5.684 MB / 0.5576 GB, free: 3.945 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004436/1.69, allocations: 61.7 kB / 0.5576 GB, free: 3.879 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008357/1.698, allocations: 7.814 MB / 0.5652 GB, free: 12.02 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.7, allocations: 0.7785 MB / 0.566 GB, free: 11.25 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008637/1.701, allocations: 160 kB / 0.5662 GB, free: 11.09 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0009177/1.702, allocations: 0.6282 MB / 0.5668 GB, free: 10.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008487/1.71, allocations: 2.931 MB / 0.5696 GB, free: 7.516 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5303/2.241, allocations: 7.608 MB / 0.5771 GB, free: 116.3 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/2.253, allocations: 5.063 MB / 0.582 GB, free: 115.1 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002597/2.253, allocations: 50.41 kB / 0.5821 GB, free: 115.1 MB / 410.9 MB Notification: Performance of matching and sorting (n=984) (initialization): time 0.03069/2.284, allocations: 11.28 MB / 0.5931 GB, free: 110.8 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/2.284, allocations: 80.11 kB / 0.5931 GB, free: 110.8 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003168/2.284, allocations: 166 kB / 0.5933 GB, free: 110.8 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008598/2.293, allocations: 1.681 MB / 0.5949 GB, free: 110.4 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009261/2.302, allocations: 1.636 MB / 0.5965 GB, free: 110.2 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/2.329, allocations: 12.63 MB / 0.6089 GB, free: 103.8 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009049/2.339, allocations: 1.057 MB / 0.6099 GB, free: 103.3 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/2.34, allocations: 455 kB / 0.6103 GB, free: 103.2 MB / 410.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 759 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 882 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01544/2.356, allocations: 6.925 MB / 0.6171 GB, free: 100 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/2.357, allocations: 496.9 kB / 0.6176 GB, free: 99.76 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/2.369, allocations: 4.301 MB / 0.6218 GB, free: 98 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008424/2.377, allocations: 3.328 MB / 0.625 GB, free: 96.7 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/2.377, allocations: 15.25 kB / 0.625 GB, free: 96.7 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-05/2.377, allocations: 10.12 kB / 0.625 GB, free: 96.7 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04093/2.418, allocations: 14.98 MB / 0.6397 GB, free: 88.77 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/2.418, allocations: 0 / 0.6397 GB, free: 88.77 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/2.42, allocations: 211 kB / 0.6399 GB, free: 88.61 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007819/2.428, allocations: 1.438 MB / 0.6413 GB, free: 87.36 MB / 410.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/2.428, allocations: 43.92 kB / 0.6413 GB, free: 87.31 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0245/2.453, allocations: 12.19 MB / 0.6532 GB, free: 75.01 MB / 410.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.453, allocations: 0 / 0.6532 GB, free: 75.01 MB / 410.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/2.466, allocations: 6.139 MB / 0.6592 GB, free: 68.8 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00264/2.469, allocations: 0.8146 MB / 0.66 GB, free: 67.96 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/2.47, allocations: 35.98 kB / 0.6601 GB, free: 67.93 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003545/2.474, allocations: 115.9 kB / 0.6602 GB, free: 67.82 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000624/2.474, allocations: 146.8 kB / 0.6603 GB, free: 67.68 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/2.475, allocations: 55.39 kB / 0.6604 GB, free: 67.62 MB / 410.9 MB Notification: Performance of sorting global known variables: time 0.009969/2.485, allocations: 4.211 MB / 0.6645 GB, free: 63.44 MB / 410.9 MB Notification: Performance of sort global known variables: time 8.81e-07/2.485, allocations: 0 / 0.6645 GB, free: 63.44 MB / 410.9 MB Notification: Performance of remove unused functions: time 0.01296/2.498, allocations: 3.655 MB / 0.668 GB, free: 59.77 MB / 410.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma,source.voltageSource[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008378/2.499, allocations: 202.2 kB / 0.6682 GB, free: 59.58 MB / 410.9 MB Notification: Performance of simCode: created initialization part: time 0.0157/2.514, allocations: 6.932 MB / 0.675 GB, free: 52.65 MB / 410.9 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/2.514, allocations: 0.9375 kB / 0.675 GB, free: 52.65 MB / 410.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005532/2.52, allocations: 2.205 MB / 0.6772 GB, free: 50.43 MB / 410.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/2.531, allocations: 1.351 MB / 0.6785 GB, free: 49.09 MB / 410.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0654/2.596, allocations: 30.65 MB / 0.7084 GB, free: 18.38 MB / 410.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02255/2.619, allocations: 11.18 MB / 0.7193 GB, free: 7.156 MB / 410.9 MB Notification: Performance of simCode: alias equations: time 0.01174/2.63, allocations: 2.762 MB / 0.722 GB, free: 4.387 MB / 410.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/2.632, allocations: 311.4 kB / 0.7223 GB, free: 4.082 MB / 410.9 MB Notification: Performance of SimCode: time 1.353e-06/2.632, allocations: 4 kB / 0.7223 GB, free: 4.078 MB / 410.9 MB Notification: Performance of Templates: time 0.5673/3.199, allocations: 74.5 MB / 0.7951 GB, free: 67.54 MB / 410.9 MB