Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.993e-05, allocations: 5.562 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.08976, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5301, allocations: 137.5 MB / 480.6 MB, free: 5.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5304, allocations: 94.94 kB / 480.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7313/1.262, allocations: 131.6 MB / 0.5979 GB, free: 93.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.324e-06/1.262, allocations: 3.984 kB / 0.5979 GB, free: 93.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005263/1.262, allocations: 140.5 kB / 0.5981 GB, free: 93.26 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01796/1.28, allocations: 5.43 MB / 0.6034 GB, free: 89.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.28, allocations: 8.031 kB / 0.6034 GB, free: 89.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/1.288, allocations: 1.155 MB / 0.6045 GB, free: 88.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/1.303, allocations: 4.907 MB / 0.6093 GB, free: 83.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/1.304, allocations: 432.3 kB / 0.6097 GB, free: 82.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/1.306, allocations: 0.5639 MB / 0.6102 GB, free: 82.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/1.324, allocations: 6.972 MB / 0.6171 GB, free: 75.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002157/1.324, allocations: 15.94 kB / 0.6171 GB, free: 75.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/1.326, allocations: 243.4 kB / 0.6173 GB, free: 74.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/1.326, allocations: 247.3 kB / 0.6175 GB, free: 74.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/1.341, allocations: 5.532 MB / 0.6229 GB, free: 69.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05013/1.391, allocations: 23.92 MB / 0.6463 GB, free: 44.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008972/1.4, allocations: 8.607 MB / 0.6547 GB, free: 35.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004593/1.405, allocations: 2.237 MB / 0.6569 GB, free: 32.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/1.422, allocations: 6.957 MB / 0.6637 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.422, allocations: 64.55 kB / 0.6637 GB, free: 25.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=237): time 7.462e-06/1.422, allocations: 3.984 kB / 0.6638 GB, free: 25.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=288): time 0.03516/1.457, allocations: 12.13 MB / 0.6756 GB, free: 13.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/1.457, allocations: 81.64 kB / 0.6757 GB, free: 13.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006131/1.463, allocations: 2.934 MB / 0.6785 GB, free: 10.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004968/1.464, allocations: 69.7 kB / 0.6786 GB, free: 10.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.466, allocations: 2.678 MB / 0.6812 GB, free: 7.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.467, allocations: 0.9836 MB / 0.6822 GB, free: 6.832 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.467, allocations: 76 kB / 0.6823 GB, free: 6.758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/1.467, allocations: 453.9 kB / 0.6827 GB, free: 6.309 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/1.47, allocations: 1.475 MB / 0.6841 GB, free: 4.832 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003575/1.474, allocations: 2.629 MB / 0.6867 GB, free: 1.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.277/1.751, allocations: 1.95 MB / 0.6886 GB, free: 83.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.437e-05/1.751, allocations: 11.06 kB / 0.6886 GB, free: 83.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01353/1.764, allocations: 5.292 MB / 0.6938 GB, free: 83.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/1.764, allocations: 21.44 kB / 0.6938 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-05/1.765, allocations: 40.52 kB / 0.6938 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/1.768, allocations: 0.8654 MB / 0.6947 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004599/1.772, allocations: 0.8645 MB / 0.6955 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/1.787, allocations: 9.777 MB / 0.7051 GB, free: 79.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.791, allocations: 244.5 kB / 0.7053 GB, free: 79.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006959/1.792, allocations: 164.6 kB / 0.7055 GB, free: 79.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (421): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(6,72.2%) 23,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007821/1.793, allocations: 333.1 kB / 0.7058 GB, free: 79.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.794, allocations: 397 kB / 0.7062 GB, free: 79.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.805, allocations: 4.54 MB / 0.7106 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/1.805, allocations: 27.12 kB / 0.7106 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/1.805, allocations: 15.48 kB / 0.7106 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-05/1.805, allocations: 13.73 kB / 0.7106 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/1.827, allocations: 9.976 MB / 0.7204 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008298/1.836, allocations: 3.827 MB / 0.7241 GB, free: 77.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.839, allocations: 0.4987 MB / 0.7246 GB, free: 77.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/1.842, allocations: 0.9781 MB / 0.7256 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/1.843, allocations: 67.78 kB / 0.7256 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/1.861, allocations: 14.79 MB / 0.7401 GB, free: 66.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.684e-06/1.861, allocations: 5.688 kB / 0.7401 GB, free: 66.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.874, allocations: 7.145 MB / 0.7471 GB, free: 62.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/1.877, allocations: 0.7803 MB / 0.7478 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.878, allocations: 59.94 kB / 0.7479 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/1.881, allocations: 197.2 kB / 0.7481 GB, free: 62.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005889/1.881, allocations: 210 kB / 0.7483 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002928/1.882, allocations: 85.11 kB / 0.7483 GB, free: 62.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004902/1.887, allocations: 2.215 MB / 0.7505 GB, free: 61.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.047e-06/1.887, allocations: 3.609 kB / 0.7505 GB, free: 61.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005934/1.893, allocations: 1.205 MB / 0.7517 GB, free: 61.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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%) 13,(1,100.0%) 5,(1,100.0%) 8,(6,75.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/1.894, allocations: 0.6096 MB / 0.7523 GB, free: 61.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009057/1.903, allocations: 4.545 MB / 0.7567 GB, free: 59.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.428e-06/1.903, allocations: 0 / 0.7567 GB, free: 59.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005933/1.909, allocations: 2.915 MB / 0.7596 GB, free: 57.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005046/1.914, allocations: 0.8297 MB / 0.7604 GB, free: 57.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.935, allocations: 8.556 MB / 0.7687 GB, free: 53.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/1.939, allocations: 3.629 MB / 0.7723 GB, free: 50.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004359/1.944, allocations: 0.8344 MB / 0.7731 GB, free: 50.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.945, allocations: 252.5 kB / 0.7733 GB, free: 49.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.751e-06/1.945, allocations: 0 / 0.7733 GB, free: 49.86 MB / 442.7 MB Notification: Performance of Templates: time 0.1875/2.132, allocations: 56.24 MB / 0.8283 GB, free: 6.496 MB / 442.7 MB