Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.613e-05, allocations: 0 / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08187, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4361, allocations: 102.1 MB / 419 MB, free: 2.164 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4364, allocations: 82.02 kB / 419.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.691/4.128, allocations: 0.816 GB / 1.225 GB, free: 33.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.078e-06/4.128, allocations: 0 / 1.225 GB, free: 33.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009305/4.129, allocations: 396 kB / 1.226 GB, free: 33.51 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06979/4.198, allocations: 16.49 MB / 1.242 GB, free: 28.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/4.198, allocations: 8.875 kB / 1.242 GB, free: 28.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06686/4.265, allocations: 8.639 MB / 1.25 GB, free: 27.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03064/4.296, allocations: 11.91 MB / 1.262 GB, free: 26.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001988/4.298, allocations: 1.338 MB / 1.263 GB, free: 26.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007487/4.305, allocations: 1.715 MB / 1.265 GB, free: 26.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08598/4.391, allocations: 31.66 MB / 1.296 GB, free: 24.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006867/4.392, allocations: 12.56 kB / 1.296 GB, free: 24.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006804/4.399, allocations: 0.7421 MB / 1.296 GB, free: 24.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001658/4.401, allocations: 1.258 MB / 1.298 GB, free: 24.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06762/4.468, allocations: 27.51 MB / 1.325 GB, free: 19.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6204/5.089, allocations: 99.06 MB / 1.421 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04832/5.137, allocations: 33.75 MB / 1.454 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03011/5.167, allocations: 15.12 MB / 1.469 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1025/5.27, allocations: 47.23 MB / 1.515 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/5.27, allocations: 150.4 kB / 1.515 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1454): time 2.246e-05/5.27, allocations: 0 / 1.515 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454): time 0.0582/5.328, allocations: 25.45 MB / 1.54 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/5.329, allocations: 193 kB / 1.54 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007519/5.336, allocations: 3.916 MB / 1.544 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002499/5.339, allocations: 201.7 kB / 1.544 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005624/5.344, allocations: 6.107 MB / 1.55 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008138/5.352, allocations: 4.766 MB / 1.555 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/5.354, allocations: 228 kB / 1.555 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00157/5.356, allocations: 0.9028 MB / 1.556 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02263/5.378, allocations: 9.814 MB / 1.566 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4075/5.786, allocations: 14.06 MB / 1.579 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02702/5.813, allocations: 11.87 MB / 1.591 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/5.813, allocations: 18 kB / 1.591 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.06382/5.877, allocations: 28.29 MB / 1.619 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/5.877, allocations: 31.06 kB / 1.619 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/5.877, allocations: 61.09 kB / 1.619 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02522/5.902, allocations: 10.41 MB / 1.629 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01223/5.915, allocations: 1.949 MB / 1.631 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03424/5.949, allocations: 21.2 MB / 1.651 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/5.96, allocations: 1.425 MB / 1.653 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00359/5.964, allocations: 0.5184 MB / 1.653 GB, free: 67.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004148/5.968, allocations: 0.7072 MB / 1.654 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002627/5.97, allocations: 0.7239 MB / 1.655 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06367/6.034, allocations: 27.79 MB / 1.682 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05552/6.09, allocations: 25.33 MB / 1.707 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.853e-05/6.09, allocations: 0 / 1.707 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000187/6.09, allocations: 60.3 kB / 1.707 GB, free: 49.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1106/6.201, allocations: 52.1 MB / 1.758 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000124/6.201, allocations: 0 / 1.758 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008695/6.209, allocations: 1.353 MB / 1.759 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3823/6.592, allocations: 10.43 MB / 1.769 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002904/6.595, allocations: 302.1 kB / 1.769 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03601/6.631, allocations: 21.09 MB / 1.79 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.514e-06/6.631, allocations: 0 / 1.79 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08669/6.718, allocations: 41.29 MB / 1.83 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009038/6.727, allocations: 3.137 MB / 1.833 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/6.729, allocations: 183.2 kB / 1.834 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006907/6.736, allocations: 0.5038 MB / 1.834 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003383/6.74, allocations: 1.064 MB / 1.835 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001547/6.741, allocations: 374.8 kB / 1.835 GB, free: 63.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005452/6.747, allocations: 2.925 MB / 1.838 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.002e-06/6.747, allocations: 1.031 kB / 1.838 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01578/6.762, allocations: 4.359 MB / 1.843 GB, free: 62.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {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.002899/6.765, allocations: 460.1 kB / 1.843 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04866/6.814, allocations: 23.42 MB / 1.866 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/6.814, allocations: 0 / 1.866 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02788/6.842, allocations: 12.15 MB / 1.878 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009406/6.851, allocations: 1.377 MB / 1.879 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07944/6.931, allocations: 35.75 MB / 1.914 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02161/6.953, allocations: 12.32 MB / 1.926 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01096/6.964, allocations: 2.792 MB / 1.929 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/6.966, allocations: 494.3 kB / 1.929 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.9e-06/6.966, allocations: 0 / 1.929 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.7791/7.745, allocations: 210.4 MB / 2.135 GB, free: 8.492 MB / 0.5417 GB