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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.034e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09067, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5267, allocations: 137.5 MB / 480.1 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.527, allocations: 95.12 kB / 480.2 MB, free: 5.746 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.692/1.219, allocations: 131.6 MB / 0.5974 GB, free: 93.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.926e-06/1.219, allocations: 0 / 0.5974 GB, free: 93.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004577/1.22, allocations: 148.2 kB / 0.5975 GB, free: 93.23 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.01707/1.237, allocations: 5.431 MB / 0.6029 GB, free: 89.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.237, allocations: 12.03 kB / 0.6029 GB, free: 89.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/1.244, allocations: 1.147 MB / 0.604 GB, free: 88.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/1.258, allocations: 4.914 MB / 0.6088 GB, free: 83.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/1.259, allocations: 430.1 kB / 0.6092 GB, free: 82.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/1.261, allocations: 0.5539 MB / 0.6097 GB, free: 82.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/1.277, allocations: 6.985 MB / 0.6166 GB, free: 75.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/1.277, allocations: 7.938 kB / 0.6166 GB, free: 75.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007713/1.278, allocations: 238.2 kB / 0.6168 GB, free: 74.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/1.278, allocations: 251.3 kB / 0.617 GB, free: 74.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/1.292, allocations: 5.528 MB / 0.6224 GB, free: 69.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/1.34, allocations: 23.93 MB / 0.6458 GB, free: 44.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00892/1.349, allocations: 8.607 MB / 0.6542 GB, free: 35.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/1.354, allocations: 2.242 MB / 0.6564 GB, free: 32.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/1.369, allocations: 6.955 MB / 0.6632 GB, free: 25.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.37, allocations: 60.56 kB / 0.6632 GB, free: 25.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=237): time 5.603e-06/1.37, allocations: 0 / 0.6632 GB, free: 25.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=288): time 0.03344/1.403, allocations: 12.13 MB / 0.6751 GB, free: 13.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.403, allocations: 81.64 kB / 0.6752 GB, free: 13.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005518/1.409, allocations: 2.938 MB / 0.678 GB, free: 10.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004588/1.409, allocations: 73.7 kB / 0.6781 GB, free: 10.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/1.411, allocations: 2.68 MB / 0.6807 GB, free: 7.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.412, allocations: 0.9862 MB / 0.6817 GB, free: 6.867 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/1.413, allocations: 72 kB / 0.6817 GB, free: 6.797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/1.413, allocations: 453.9 kB / 0.6822 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/1.416, allocations: 1.475 MB / 0.6836 GB, free: 4.871 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/1.419, allocations: 2.629 MB / 0.6862 GB, free: 1.723 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2787/1.698, allocations: 1.944 MB / 0.6881 GB, free: 83.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-05/1.698, allocations: 10.53 kB / 0.6881 GB, free: 83.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01429/1.712, allocations: 5.295 MB / 0.6933 GB, free: 83.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/1.712, allocations: 20.25 kB / 0.6933 GB, free: 83.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.964e-05/1.712, allocations: 40.92 kB / 0.6933 GB, free: 83.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/1.715, allocations: 0.8613 MB / 0.6942 GB, free: 83.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004744/1.72, allocations: 0.8659 MB / 0.695 GB, free: 83.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.735, allocations: 9.783 MB / 0.7046 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.739, allocations: 240.5 kB / 0.7048 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/1.74, allocations: 167.1 kB / 0.705 GB, free: 79.2 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.0007561/1.741, allocations: 339.5 kB / 0.7053 GB, free: 79.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009344/1.742, allocations: 393.8 kB / 0.7057 GB, free: 79.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009739/1.751, allocations: 4.542 MB / 0.7101 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/1.751, allocations: 27.53 kB / 0.7101 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.751, allocations: 11 kB / 0.7101 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/1.751, allocations: 15.09 kB / 0.7101 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.773, allocations: 9.982 MB / 0.7199 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007935/1.781, allocations: 3.826 MB / 0.7236 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002897/1.784, allocations: 0.4967 MB / 0.7241 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/1.787, allocations: 0.9711 MB / 0.7251 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/1.788, allocations: 73.53 kB / 0.7251 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.806, allocations: 14.78 MB / 0.7396 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.98e-06/1.806, allocations: 9.094 kB / 0.7396 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/1.82, allocations: 7.148 MB / 0.7466 GB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.822, allocations: 0.7797 MB / 0.7473 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000832/1.823, allocations: 65.3 kB / 0.7474 GB, free: 62.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.826, allocations: 192.1 kB / 0.7476 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006167/1.826, allocations: 218.4 kB / 0.7478 GB, free: 62.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002904/1.827, allocations: 80.41 kB / 0.7478 GB, free: 62.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004671/1.831, allocations: 2.215 MB / 0.75 GB, free: 61.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.038e-06/1.832, allocations: 0 / 0.75 GB, free: 61.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005763/1.837, allocations: 1.202 MB / 0.7512 GB, free: 61.21 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.001172/1.839, allocations: 0.6065 MB / 0.7518 GB, free: 61.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008671/1.847, allocations: 4.553 MB / 0.7562 GB, free: 59.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.847, allocations: 3.828 kB / 0.7562 GB, free: 59.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005893/1.853, allocations: 2.908 MB / 0.7591 GB, free: 57.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004942/1.858, allocations: 0.8363 MB / 0.7599 GB, free: 57.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.877, allocations: 8.556 MB / 0.7682 GB, free: 53.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004113/1.881, allocations: 3.622 MB / 0.7718 GB, free: 50.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004127/1.885, allocations: 0.8347 MB / 0.7726 GB, free: 50.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.886, allocations: 253 kB / 0.7728 GB, free: 49.87 MB / 442.7 MB Notification: Performance of SimCode: time 1.565e-06/1.886, allocations: 0 / 0.7728 GB, free: 49.87 MB / 442.7 MB Notification: Performance of Templates: time 0.1352/2.022, allocations: 56.24 MB / 0.8277 GB, free: 6.543 MB / 442.7 MB