Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.872e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.545, allocations: 122.4 MB / 439.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.5453, allocations: 81.7 kB / 439.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8692/1.415, allocations: 193.1 MB / 0.6176 GB, free: 57.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.042e-06/1.415, allocations: 0 / 0.6176 GB, free: 57.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001125/1.416, allocations: 203.8 kB / 0.6178 GB, free: 57 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.04836/1.464, allocations: 7.915 MB / 0.6256 GB, free: 49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/1.464, allocations: 8.031 kB / 0.6256 GB, free: 48.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/1.491, allocations: 1.905 MB / 0.6274 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/1.514, allocations: 7.038 MB / 0.6343 GB, free: 39.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007084/1.515, allocations: 0.6382 MB / 0.6349 GB, free: 39.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/1.518, allocations: 0.8552 MB / 0.6358 GB, free: 38.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04906/1.567, allocations: 10.83 MB / 0.6463 GB, free: 27.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004617/1.568, allocations: 11.91 kB / 0.6464 GB, free: 27.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/1.571, allocations: 360 kB / 0.6467 GB, free: 27.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005702/1.571, allocations: 377.5 kB / 0.6471 GB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03775/1.609, allocations: 8.63 MB / 0.6555 GB, free: 18.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6744/2.283, allocations: 36.07 MB / 0.6907 GB, free: 39.61 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/2.3, allocations: 16.74 MB / 0.7071 GB, free: 27.16 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007513/2.308, allocations: 3.367 MB / 0.7103 GB, free: 27.11 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/2.33, allocations: 9.547 MB / 0.7197 GB, free: 25.32 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/2.33, allocations: 68.5 kB / 0.7197 GB, free: 25.28 MB / 426.8 MB Notification: Performance of pre-optimization done (n=296): time 6.843e-06/2.33, allocations: 0 / 0.7197 GB, free: 25.28 MB / 426.8 MB Notification: Performance of matching and sorting (n=348): time 0.03048/2.36, allocations: 11.55 MB / 0.731 GB, free: 23.26 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/2.36, allocations: 93.03 kB / 0.7311 GB, free: 23.2 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008197/2.368, allocations: 3.841 MB / 0.7349 GB, free: 22.87 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005994/2.369, allocations: 82.92 kB / 0.7349 GB, free: 22.84 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00263/2.372, allocations: 3.891 MB / 0.7387 GB, free: 21.09 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/2.373, allocations: 1.186 MB / 0.7399 GB, free: 20.34 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/2.373, allocations: 90.53 kB / 0.74 GB, free: 20.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002607/2.374, allocations: 485.9 kB / 0.7404 GB, free: 20.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/2.377, allocations: 1.719 MB / 0.7421 GB, free: 20.01 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/2.382, allocations: 3.136 MB / 0.7452 GB, free: 18.3 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004891/2.387, allocations: 2.304 MB / 0.7474 GB, free: 18.25 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/2.387, allocations: 15.81 kB / 0.7474 GB, free: 18.25 MB / 426.8 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01449/2.401, allocations: 6.011 MB / 0.7533 GB, free: 17.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/2.401, allocations: 29 kB / 0.7533 GB, free: 17.19 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-05/2.402, allocations: 55.3 kB / 0.7534 GB, free: 17.19 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/2.404, allocations: 0.7317 MB / 0.7541 GB, free: 16.95 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/2.41, allocations: 1.053 MB / 0.7551 GB, free: 16.91 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/2.422, allocations: 10.05 MB / 0.765 GB, free: 9.043 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/2.427, allocations: 249.8 kB / 0.7652 GB, free: 8.957 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008405/2.428, allocations: 207.8 kB / 0.7654 GB, free: 8.918 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009402/2.429, allocations: 379.9 kB / 0.7658 GB, free: 8.656 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/2.43, allocations: 485.8 kB / 0.7662 GB, free: 8.41 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/2.442, allocations: 5.084 MB / 0.7712 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/2.442, allocations: 32.78 kB / 0.7712 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/2.442, allocations: 11.31 kB / 0.7712 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-05/2.442, allocations: 17.06 kB / 0.7712 GB, free: 6.156 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/2.471, allocations: 12.45 MB / 0.7834 GB, free: 0.6914 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/2.471, allocations: 7.812 kB / 0.7834 GB, free: 0.6914 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/2.475, allocations: 0.5994 MB / 0.784 GB, free: 0.6719 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002998/2.478, allocations: 0.9018 MB / 0.7849 GB, free: 384 kB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004748/2.478, allocations: 87.59 kB / 0.785 GB, free: 336 kB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/2.5, allocations: 13.95 MB / 0.7986 GB, free: 5.82 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.308e-06/2.5, allocations: 8.125 kB / 0.7986 GB, free: 5.82 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/2.516, allocations: 8.103 MB / 0.8065 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/2.519, allocations: 0.9528 MB / 0.8074 GB, free: 36 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/2.521, allocations: 83.69 kB / 0.8075 GB, free: 15.98 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/2.524, allocations: 217.3 kB / 0.8077 GB, free: 15.82 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007437/2.525, allocations: 268 kB / 0.808 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003643/2.525, allocations: 102.3 kB / 0.8081 GB, free: 15.57 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00718/2.532, allocations: 2.9 MB / 0.8109 GB, free: 12.95 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.217e-06/2.532, allocations: 0 / 0.8109 GB, free: 12.95 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008368/2.541, allocations: 1.53 MB / 0.8124 GB, free: 11.43 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 265 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/2.542, allocations: 0.704 MB / 0.8131 GB, free: 10.89 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01288/2.555, allocations: 5.15 MB / 0.8181 GB, free: 6.102 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/2.555, allocations: 0 / 0.8181 GB, free: 6.102 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/2.568, allocations: 3.207 MB / 0.8212 GB, free: 3.145 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007186/2.575, allocations: 1.059 MB / 0.8223 GB, free: 2.301 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/2.61, allocations: 12.04 MB / 0.834 GB, free: 7.445 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009913/2.62, allocations: 5.214 MB / 0.8391 GB, free: 3.598 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006006/2.626, allocations: 1.053 MB / 0.8402 GB, free: 2.879 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/2.627, allocations: 315.6 kB / 0.8405 GB, free: 2.582 MB / 474.8 MB Notification: Performance of SimCode: time 1.718e-06/2.627, allocations: 0 / 0.8405 GB, free: 2.582 MB / 474.8 MB Notification: Performance of Templates: time 0.4791/3.106, allocations: 67.98 MB / 0.9068 GB, free: 90.12 MB / 474.8 MB