Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.752e-05, allocations: 4 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09235, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.4733, allocations: 104.5 MB / 447 MB, free: 5.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4736, allocations: 89.75 kB / 447.1 MB, free: 5.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.665/4.139, allocations: 0.8055 GB / 1.242 GB, free: 35.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/4.139, allocations: 0 / 1.242 GB, free: 35.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009587/4.14, allocations: 386.2 kB / 1.243 GB, free: 35.51 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.0674/4.207, allocations: 15.95 MB / 1.258 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/4.208, allocations: 13.94 kB / 1.258 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04704/4.255, allocations: 6.057 MB / 1.264 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03184/4.286, allocations: 11.99 MB / 1.276 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/4.288, allocations: 1.255 MB / 1.277 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00654/4.294, allocations: 1.627 MB / 1.279 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07513/4.37, allocations: 27.91 MB / 1.306 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006239/4.37, allocations: 19.09 kB / 1.306 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005301/4.376, allocations: 0.7127 MB / 1.307 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/4.377, allocations: 1.296 MB / 1.308 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05758/4.435, allocations: 21.99 MB / 1.329 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1774/4.612, allocations: 87.35 MB / 1.415 GB, free: 0 / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3856/4.998, allocations: 35.22 MB / 1.449 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01099/5.009, allocations: 5.376 MB / 1.454 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/5.01, allocations: 208.2 kB / 1.454 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/5.01, allocations: 98.34 kB / 1.454 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 1.289e-05/5.01, allocations: 0 / 1.454 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.01688/5.027, allocations: 8.438 MB / 1.463 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/5.027, allocations: 144.1 kB / 1.463 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/5.037, allocations: 5.674 MB / 1.468 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008939/5.038, allocations: 126.2 kB / 1.469 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004716/5.043, allocations: 7.562 MB / 1.476 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002325/5.045, allocations: 2.123 MB / 1.478 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007925/5.046, allocations: 206.7 kB / 1.478 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006492/5.047, allocations: 0.7541 MB / 1.479 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009371/5.056, allocations: 4.791 MB / 1.484 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/5.069, allocations: 9.433 MB / 1.493 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/5.082, allocations: 7.245 MB / 1.5 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/5.082, allocations: 42.81 kB / 1.5 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.03458/5.117, allocations: 15.07 MB / 1.515 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/5.117, allocations: 73.03 kB / 1.515 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/5.117, allocations: 163.5 kB / 1.515 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004547/5.122, allocations: 1.382 MB / 1.516 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/5.133, allocations: 2.351 MB / 1.519 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/5.152, allocations: 10.78 MB / 1.529 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/5.162, allocations: 1.366 MB / 1.53 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/5.165, allocations: 0.5353 MB / 1.531 GB, free: 21.56 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00198/5.167, allocations: 0.7962 MB / 1.532 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/5.168, allocations: 0.614 MB / 1.532 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/5.188, allocations: 10.44 MB / 1.542 GB, free: 20.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01591/5.204, allocations: 8.017 MB / 1.55 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/5.204, allocations: 14.38 kB / 1.55 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.346e-05/5.204, allocations: 27.52 kB / 1.55 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05785/5.262, allocations: 25.99 MB / 1.576 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/5.262, allocations: 8 kB / 1.576 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006272/5.269, allocations: 1.005 MB / 1.577 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004195/5.273, allocations: 1.17 MB / 1.578 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000937/5.274, allocations: 136.3 kB / 1.578 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/5.292, allocations: 10.37 MB / 1.588 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-05/5.292, allocations: 11 kB / 1.588 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04929/5.342, allocations: 16.91 MB / 1.605 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004602/5.346, allocations: 1.492 MB / 1.606 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/5.348, allocations: 114.6 kB / 1.606 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003925/5.352, allocations: 329.9 kB / 1.607 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009788/5.353, allocations: 417.8 kB / 1.607 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000607/5.353, allocations: 177.2 kB / 1.607 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009161/5.363, allocations: 4.214 MB / 1.611 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.425e-06/5.363, allocations: 0 / 1.611 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01661/5.379, allocations: 4.068 MB / 1.615 GB, free: 5.992 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (546): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/5.381, allocations: 446.5 kB / 1.616 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3755/5.756, allocations: 11.52 MB / 1.627 GB, free: 87.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/5.756, allocations: 4.781 kB / 1.627 GB, free: 87.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/5.767, allocations: 4.717 MB / 1.631 GB, free: 87.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008674/5.775, allocations: 1.402 MB / 1.633 GB, free: 87.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05905/5.835, allocations: 25.25 MB / 1.657 GB, free: 82.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0199/5.854, allocations: 11.53 MB / 1.669 GB, free: 81.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01417/5.869, allocations: 3.952 MB / 1.673 GB, free: 81.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002567/5.871, allocations: 0.5067 MB / 1.673 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of SimCode: time 3.086e-06/5.871, allocations: 0 / 1.673 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.2496/6.121, allocations: 97.54 MB / 1.768 GB, free: 60.8 MB / 0.5573 GB