Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.546e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.08983, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5008, allocations: 119.5 MB / 462.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5012, allocations: 93.75 kB / 462.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7054/1.207, allocations: 133.5 MB / 0.5823 GB, free: 93.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.069e-06/1.207, allocations: 0 / 0.5823 GB, free: 93.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003781/1.207, allocations: 127.2 kB / 0.5824 GB, free: 93.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01314/1.22, allocations: 4.784 MB / 0.5871 GB, free: 91.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.22, allocations: 11.19 kB / 0.5871 GB, free: 91.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/1.227, allocations: 0.9761 MB / 0.588 GB, free: 91.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/1.239, allocations: 4.485 MB / 0.5924 GB, free: 89.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/1.239, allocations: 366.9 kB / 0.5928 GB, free: 89.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/1.24, allocations: 480.5 kB / 0.5932 GB, free: 88.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/1.255, allocations: 6.539 MB / 0.5996 GB, free: 85.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000216/1.255, allocations: 7.828 kB / 0.5996 GB, free: 85.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/1.255, allocations: 206.5 kB / 0.5998 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002425/1.256, allocations: 237.7 kB / 0.6 GB, free: 85.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/1.268, allocations: 5.341 MB / 0.6052 GB, free: 83.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04134/1.31, allocations: 20.99 MB / 0.6257 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009805/1.319, allocations: 9.797 MB / 0.6353 GB, free: 53.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00481/1.324, allocations: 2.41 MB / 0.6377 GB, free: 50.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/1.339, allocations: 6.51 MB / 0.644 GB, free: 44.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.339, allocations: 56.56 kB / 0.6441 GB, free: 44.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 6.258e-06/1.339, allocations: 0 / 0.6441 GB, free: 44.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01548/1.354, allocations: 7.268 MB / 0.6512 GB, free: 36.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.354, allocations: 73.41 kB / 0.6512 GB, free: 36.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/1.359, allocations: 2.612 MB / 0.6538 GB, free: 34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003631/1.36, allocations: 61.7 kB / 0.6538 GB, free: 33.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.361, allocations: 2.16 MB / 0.656 GB, free: 31.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006469/1.362, allocations: 0.7577 MB / 0.6567 GB, free: 31.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.362, allocations: 48 kB / 0.6567 GB, free: 30.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/1.362, allocations: 410.9 kB / 0.6571 GB, free: 30.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.364, allocations: 1.211 MB / 0.6583 GB, free: 29.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/1.367, allocations: 1.752 MB / 0.66 GB, free: 27.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/1.369, allocations: 1.513 MB / 0.6615 GB, free: 25.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/1.369, allocations: 4 kB / 0.6615 GB, free: 25.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00774/1.377, allocations: 3.987 MB / 0.6654 GB, free: 21.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.377, allocations: 12 kB / 0.6654 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.377, allocations: 16 kB / 0.6654 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/1.379, allocations: 0.6439 MB / 0.6661 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/1.382, allocations: 0.5461 MB / 0.6666 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.394, allocations: 9.994 MB / 0.6764 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/1.396, allocations: 107.9 kB / 0.6765 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/1.397, allocations: 96 kB / 0.6765 GB, free: 9.863 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005275/1.397, allocations: 256.4 kB / 0.6768 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/1.398, allocations: 316.2 kB / 0.6771 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007402/1.405, allocations: 3.772 MB / 0.6808 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.405, allocations: 23.94 kB / 0.6808 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/1.405, allocations: 16 kB / 0.6808 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/1.405, allocations: 11.95 kB / 0.6808 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2825/1.688, allocations: 8.381 MB / 0.689 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.688, allocations: 2.75 kB / 0.689 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.69, allocations: 345 kB / 0.6893 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/1.693, allocations: 0.8095 MB / 0.6901 GB, free: 83.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003484/1.694, allocations: 57.19 kB / 0.6902 GB, free: 83.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/1.713, allocations: 14.38 MB / 0.7042 GB, free: 75.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.612e-06/1.713, allocations: 2.594 kB / 0.7042 GB, free: 75.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.724, allocations: 5.664 MB / 0.7098 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/1.727, allocations: 0.6859 MB / 0.7104 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/1.727, allocations: 54.8 kB / 0.7105 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.73, allocations: 122.8 kB / 0.7106 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005828/1.73, allocations: 184.3 kB / 0.7108 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.73, allocations: 68.84 kB / 0.7108 GB, free: 74.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004038/1.734, allocations: 2.002 MB / 0.7128 GB, free: 74.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.48e-07/1.734, allocations: 0 / 0.7128 GB, free: 74.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004527/1.739, allocations: 0.9828 MB / 0.7138 GB, free: 74.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009663/1.74, allocations: 0.5191 MB / 0.7143 GB, free: 74.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007093/1.747, allocations: 3.655 MB / 0.7178 GB, free: 73.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.747, allocations: 6.859 kB / 0.7178 GB, free: 73.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004811/1.752, allocations: 2.478 MB / 0.7203 GB, free: 73.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004598/1.757, allocations: 0.859 MB / 0.7211 GB, free: 73.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/1.774, allocations: 7.723 MB / 0.7286 GB, free: 70.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/1.779, allocations: 3.52 MB / 0.7321 GB, free: 69.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003799/1.783, allocations: 0.7379 MB / 0.7328 GB, free: 69.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/1.784, allocations: 196.6 kB / 0.733 GB, free: 69.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.474e-06/1.784, allocations: 0 / 0.733 GB, free: 69.41 MB / 442.7 MB Notification: Performance of Templates: time 0.1232/1.907, allocations: 51.11 MB / 0.7829 GB, free: 52.98 MB / 442.7 MB