Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.089e-05, allocations: 4 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 50.41 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5302/0.6416, allocations: 167.8 MB / 0.4989 GB, free: 7.801 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.642, allocations: 101.3 kB / 0.499 GB, free: 7.746 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958/2.6, allocations: 391.4 MB / 0.8813 GB, free: 45.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.479e-06/2.6, allocations: 0.6875 kB / 0.8813 GB, free: 45.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008571/2.6, allocations: 259.1 kB / 0.8815 GB, free: 45.36 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03956/2.64, allocations: 10.15 MB / 0.8914 GB, free: 42.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/2.64, allocations: 12.86 kB / 0.8915 GB, free: 42.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/2.668, allocations: 3.731 MB / 0.8951 GB, free: 41.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02493/2.693, allocations: 8.9 MB / 0.9038 GB, free: 40.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008158/2.694, allocations: 0.8052 MB / 0.9046 GB, free: 40.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003839/2.698, allocations: 1.062 MB / 0.9056 GB, free: 40.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/2.739, allocations: 16.06 MB / 0.9213 GB, free: 39.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003806/2.74, allocations: 7.844 kB / 0.9213 GB, free: 39.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002735/2.742, allocations: 468.2 kB / 0.9217 GB, free: 39.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007813/2.743, allocations: 0.7112 MB / 0.9224 GB, free: 39.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03466/2.778, allocations: 13.26 MB / 0.9354 GB, free: 38.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/2.887, allocations: 55.5 MB / 0.9896 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03949/2.927, allocations: 21.08 MB / 1.01 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/2.938, allocations: 3.243 MB / 1.013 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/2.962, allocations: 9.64 MB / 1.023 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.962e-05/2.962, allocations: 67.06 kB / 1.023 GB, free: 3.727 MB / 490.7 MB Notification: Performance of pre-optimization done (n=314): time 7.315e-06/2.962, allocations: 4 kB / 1.023 GB, free: 3.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=347): time 0.03919/3.001, allocations: 14.05 MB / 1.037 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00538/3.007, allocations: 2.92 MB / 1.039 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/3.023, allocations: 4.447 MB / 1.044 GB, free: 144 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000837/3.024, allocations: 77.7 kB / 1.044 GB, free: 60 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3357/3.36, allocations: 5.146 MB / 1.049 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/3.361, allocations: 1.217 MB / 1.05 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007919/3.362, allocations: 127.4 kB / 1.05 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004933/3.363, allocations: 0.5565 MB / 1.051 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006298/3.369, allocations: 2.637 MB / 1.053 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008025/3.377, allocations: 5.3 MB / 1.058 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008578/3.386, allocations: 3.827 MB / 1.062 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002089/3.386, allocations: 26.31 kB / 1.062 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02227/3.408, allocations: 8.922 MB / 1.071 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/3.408, allocations: 48.16 kB / 1.071 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/3.408, allocations: 89.84 kB / 1.071 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/3.412, allocations: 0.925 MB / 1.072 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007567/3.419, allocations: 1.462 MB / 1.073 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/3.434, allocations: 9.714 MB / 1.083 GB, free: 64.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008563/3.443, allocations: 497.3 kB / 1.083 GB, free: 64.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/3.444, allocations: 334.7 kB / 1.084 GB, free: 64.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (755): * Single equations (assignments): 745 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 8,(1,100.0%) 5,(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001491/3.446, allocations: 0.5082 MB / 1.084 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/3.447, allocations: 0.4957 MB / 1.085 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/3.462, allocations: 6.16 MB / 1.091 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01121/3.473, allocations: 5.109 MB / 1.096 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/3.473, allocations: 14.86 kB / 1.096 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.856e-05/3.473, allocations: 24.86 kB / 1.096 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04794/3.521, allocations: 21.39 MB / 1.117 GB, free: 62.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/3.521, allocations: 10.66 kB / 1.117 GB, free: 62.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/3.525, allocations: 0.5839 MB / 1.117 GB, free: 62.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/3.529, allocations: 1.138 MB / 1.118 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005503/3.529, allocations: 91.08 kB / 1.118 GB, free: 62.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/3.55, allocations: 14.61 MB / 1.133 GB, free: 53.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004398/3.554, allocations: 2.823 MB / 1.135 GB, free: 51.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/3.572, allocations: 9.656 MB / 1.145 GB, free: 46.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003317/3.575, allocations: 1.034 MB / 1.146 GB, free: 45.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/3.577, allocations: 72.67 kB / 1.146 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004209/3.581, allocations: 256.2 kB / 1.146 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007833/3.582, allocations: 260.7 kB / 1.146 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003611/3.582, allocations: 111.2 kB / 1.146 GB, free: 45.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007091/3.589, allocations: 3.285 MB / 1.15 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.163e-06/3.589, allocations: 0 / 1.15 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01016/3.6, allocations: 1.953 MB / 1.152 GB, free: 44.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 4 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 1 {5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/3.601, allocations: 0.7077 MB / 1.152 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01358/3.615, allocations: 6.725 MB / 1.159 GB, free: 41.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/3.615, allocations: 0 / 1.159 GB, free: 41.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007165/3.622, allocations: 3.48 MB / 1.162 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006481/3.629, allocations: 1.068 MB / 1.163 GB, free: 39.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/3.668, allocations: 15.31 MB / 1.178 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/3.681, allocations: 6.773 MB / 1.185 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008221/3.689, allocations: 1.841 MB / 1.187 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/3.691, allocations: 381 kB / 1.187 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of SimCode: time 2.413e-06/3.691, allocations: 0 / 1.187 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.5241/4.216, allocations: 75.54 MB / 1.261 GB, free: 58.52 MB / 0.4948 GB