Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.rotorCage.strayInductor.inductor.4..i|aimcM.rotorCage.strayInductor.inductor.5..i|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.794e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.3649, allocations: 99.35 MB / 363.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.3652, allocations: 83.95 kB / 363.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102/1.467, allocations: 175.5 MB / 0.5261 GB, free: 45.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.467, allocations: 0 / 0.5261 GB, free: 45.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005742/1.468, allocations: 195 kB / 0.5263 GB, free: 45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2059 * Number of variables: 2059 Notification: Performance of Generate backend data structure: time 0.02458/1.493, allocations: 7.504 MB / 0.5336 GB, free: 42.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.493, allocations: 11.34 kB / 0.5336 GB, free: 42.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006969/1.5, allocations: 1.299 MB / 0.5349 GB, free: 42.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/1.515, allocations: 5.809 MB / 0.5406 GB, free: 41.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006942/1.515, allocations: 0.5705 MB / 0.5411 GB, free: 41.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/1.518, allocations: 0.7693 MB / 0.5419 GB, free: 41.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/1.546, allocations: 10.22 MB / 0.5519 GB, free: 40.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002768/1.547, allocations: 14.22 kB / 0.5519 GB, free: 40.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/1.549, allocations: 329.5 kB / 0.5522 GB, free: 40.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/1.549, allocations: 339 kB / 0.5525 GB, free: 40.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/1.571, allocations: 8.097 MB / 0.5604 GB, free: 39.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06974/1.64, allocations: 32.73 MB / 0.5924 GB, free: 22.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00983/1.65, allocations: 8.034 MB / 0.6002 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007633/1.658, allocations: 3.506 MB / 0.6037 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/1.658, allocations: 38.28 kB / 0.6037 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/1.658, allocations: 73.33 kB / 0.6038 GB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=351): time 8.166e-06/1.658, allocations: 0 / 0.6038 GB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=415): time 0.03836/1.697, allocations: 14.15 MB / 0.6176 GB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/1.697, allocations: 94.67 kB / 0.6177 GB, free: 14.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008805/1.706, allocations: 3.749 MB / 0.6213 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006936/1.706, allocations: 97.7 kB / 0.6214 GB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003551/1.71, allocations: 3.352 MB / 0.6247 GB, free: 8.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.712, allocations: 1.387 MB / 0.6261 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/1.712, allocations: 92 kB / 0.6261 GB, free: 6.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004055/1.713, allocations: 479.7 kB / 0.6266 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/1.718, allocations: 2.05 MB / 0.6286 GB, free: 4.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005963/1.724, allocations: 2.97 MB / 0.6315 GB, free: 1.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2794/2.003, allocations: 2.747 MB / 0.6342 GB, free: 55.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/2.003, allocations: 9.469 kB / 0.6342 GB, free: 55.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01638/2.019, allocations: 7.001 MB / 0.641 GB, free: 55.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/2.02, allocations: 17.44 kB / 0.6411 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/2.02, allocations: 28.62 kB / 0.6411 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004656/2.024, allocations: 1.466 MB / 0.6425 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004605/2.029, allocations: 0.8339 MB / 0.6433 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02823/2.057, allocations: 20.17 MB / 0.663 GB, free: 47.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/2.062, allocations: 181 kB / 0.6632 GB, free: 47.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/2.063, allocations: 165.9 kB / 0.6634 GB, free: 47.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,100.0%) 29,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 43,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009086/2.064, allocations: 356.2 kB / 0.6637 GB, free: 47.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/2.065, allocations: 477.3 kB / 0.6641 GB, free: 47.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/2.08, allocations: 7.011 MB / 0.671 GB, free: 46.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-05/2.08, allocations: 49.31 kB / 0.671 GB, free: 46.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/2.08, allocations: 23.47 kB / 0.6711 GB, free: 46.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.252e-05/2.08, allocations: 19.31 kB / 0.6711 GB, free: 46.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03838/2.119, allocations: 17.41 MB / 0.6881 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.057e-05/2.119, allocations: 11.06 kB / 0.6881 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/2.122, allocations: 486 kB / 0.6886 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005866/2.128, allocations: 1.795 MB / 0.6903 GB, free: 41.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007184/2.129, allocations: 107.6 kB / 0.6904 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/2.171, allocations: 28.03 MB / 0.7178 GB, free: 21.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/2.171, allocations: 16.28 kB / 0.7178 GB, free: 21.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/2.19, allocations: 11.12 MB / 0.7286 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003559/2.194, allocations: 1.083 MB / 0.7297 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/2.195, allocations: 100.3 kB / 0.7298 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/2.199, allocations: 195.2 kB / 0.73 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/2.2, allocations: 373.2 kB / 0.7303 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003882/2.2, allocations: 115.8 kB / 0.7305 GB, free: 14.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006212/2.207, allocations: 2.879 MB / 0.7333 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.06e-06/2.207, allocations: 0 / 0.7333 GB, free: 13.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007627/2.214, allocations: 1.561 MB / 0.7348 GB, free: 13.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcM.rotorCage.strayInductor.inductor[4].i,aimcM.rotorCage.strayInductor.inductor[5].i,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.port_n.Phi.re,aimc3.stator.port_n.Phi.im,aimc3.stator.strayReluctance.Phi.re,aimc3.stator.strayReluctance.Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 252 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,77.8%) 42,(6,72.2%) 45,(1,100.0%) 1,(1,100.0%) 8,(4,100.0%) 28,(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/2.215, allocations: 0.5551 MB / 0.7353 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01259/2.228, allocations: 6.506 MB / 0.7417 GB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/2.228, allocations: 0 / 0.7417 GB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009846/2.238, allocations: 4.95 MB / 0.7465 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00693/2.245, allocations: 1.192 MB / 0.7477 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07967/2.325, allocations: 13.15 MB / 0.7605 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03387/2.359, allocations: 5.378 MB / 0.7658 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005227/2.364, allocations: 0.9581 MB / 0.7667 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/2.366, allocations: 285.4 kB / 0.767 GB, free: 2.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.897e-06/2.366, allocations: 4 kB / 0.767 GB, free: 2.012 MB / 394.7 MB Notification: Performance of Templates: time 0.4403/2.806, allocations: 79.7 MB / 0.8448 GB, free: 72.34 MB / 410.7 MB