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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.701e-05, allocations: 6.812 kB / 292.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09097, allocations: 50.41 MB / 342.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.5683, allocations: 167.8 MB / 0.4984 GB, free: 7.711 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.5686, allocations: 102.7 kB / 0.4985 GB, free: 7.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.967/2.536, allocations: 391.4 MB / 0.8808 GB, free: 45.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.516e-06/2.536, allocations: 4.281 kB / 0.8808 GB, free: 45.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009072/2.536, allocations: 261.5 kB / 0.881 GB, free: 45.57 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.04157/2.578, allocations: 10.14 MB / 0.8909 GB, free: 42.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/2.578, allocations: 9.062 kB / 0.8909 GB, free: 42.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02852/2.607, allocations: 3.737 MB / 0.8946 GB, free: 41.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/2.633, allocations: 8.903 MB / 0.9033 GB, free: 40.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008777/2.634, allocations: 0.8033 MB / 0.9041 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003988/2.638, allocations: 1.061 MB / 0.9051 GB, free: 40.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04505/2.683, allocations: 16.05 MB / 0.9208 GB, free: 39.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004071/2.684, allocations: 12.84 kB / 0.9208 GB, free: 39.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002928/2.687, allocations: 465.5 kB / 0.9212 GB, free: 39.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008036/2.687, allocations: 0.7135 MB / 0.9219 GB, free: 39.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/2.722, allocations: 13.27 MB / 0.9349 GB, free: 39.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/2.826, allocations: 55.48 MB / 0.9891 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02646/2.853, allocations: 21.09 MB / 1.01 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006929/2.86, allocations: 3.247 MB / 1.013 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02194/2.882, allocations: 9.639 MB / 1.022 GB, free: 3.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.488e-05/2.882, allocations: 72.06 kB / 1.022 GB, free: 3.848 MB / 490.7 MB Notification: Performance of pre-optimization done (n=314): time 7.548e-06/2.882, allocations: 0 / 1.022 GB, free: 3.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=347): time 0.03784/2.92, allocations: 14.23 MB / 1.036 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005093/2.925, allocations: 2.918 MB / 1.039 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009663/2.934, allocations: 4.451 MB / 1.043 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006063/2.935, allocations: 85.7 kB / 1.044 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3247/3.26, allocations: 5.241 MB / 1.049 GB, free: 73.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/3.262, allocations: 1.216 MB / 1.05 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007476/3.262, allocations: 126.5 kB / 1.05 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005087/3.263, allocations: 0.5512 MB / 1.05 GB, free: 72.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006723/3.27, allocations: 2.637 MB / 1.053 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008403/3.278, allocations: 5.301 MB / 1.058 GB, free: 69.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008944/3.287, allocations: 3.828 MB / 1.062 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001872/3.287, allocations: 26.12 kB / 1.062 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02316/3.31, allocations: 8.923 MB / 1.071 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/3.311, allocations: 44.47 kB / 1.071 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/3.311, allocations: 91.28 kB / 1.071 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/3.314, allocations: 0.9258 MB / 1.072 GB, free: 68.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007754/3.322, allocations: 1.465 MB / 1.073 GB, free: 68.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/3.337, allocations: 9.706 MB / 1.083 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008369/3.345, allocations: 496.6 kB / 1.083 GB, free: 64.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/3.347, allocations: 334.9 kB / 1.083 GB, free: 64.81 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.00164/3.348, allocations: 0.5155 MB / 1.084 GB, free: 64.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/3.35, allocations: 0.5005 MB / 1.084 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/3.365, allocations: 6.155 MB / 1.09 GB, free: 63.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01203/3.377, allocations: 5.116 MB / 1.095 GB, free: 63.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.431e-05/3.377, allocations: 15.39 kB / 1.095 GB, free: 63.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/3.377, allocations: 17.2 kB / 1.095 GB, free: 63.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04849/3.425, allocations: 21.39 MB / 1.116 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/3.425, allocations: 6.938 kB / 1.116 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003826/3.429, allocations: 0.586 MB / 1.117 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/3.434, allocations: 1.138 MB / 1.118 GB, free: 62.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005963/3.434, allocations: 82.27 kB / 1.118 GB, free: 62.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/3.456, allocations: 14.62 MB / 1.132 GB, free: 54.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004375/3.46, allocations: 2.814 MB / 1.135 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/3.479, allocations: 9.658 MB / 1.145 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003565/3.482, allocations: 1.037 MB / 1.146 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/3.484, allocations: 71.31 kB / 1.146 GB, free: 46.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004774/3.489, allocations: 252 kB / 1.146 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009898/3.49, allocations: 265.9 kB / 1.146 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003833/3.49, allocations: 106.5 kB / 1.146 GB, free: 46.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007557/3.498, allocations: 3.283 MB / 1.149 GB, free: 45.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.113e-06/3.498, allocations: 0 / 1.149 GB, free: 45.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01051/3.508, allocations: 1.957 MB / 1.151 GB, free: 44.85 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.001557/3.51, allocations: 0.7137 MB / 1.152 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01394/3.524, allocations: 6.729 MB / 1.159 GB, free: 42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.481e-06/3.524, allocations: 0 / 1.159 GB, free: 42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00769/3.532, allocations: 3.479 MB / 1.162 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/3.538, allocations: 1.073 MB / 1.163 GB, free: 40.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03881/3.577, allocations: 15.31 MB / 1.178 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01673/3.594, allocations: 6.774 MB / 1.185 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01426/3.608, allocations: 1.844 MB / 1.186 GB, free: 24.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003049/3.611, allocations: 381.9 kB / 1.187 GB, free: 24.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.67e-06/3.611, allocations: 0 / 1.187 GB, free: 24.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.5859/4.197, allocations: 75.56 MB / 1.261 GB, free: 58.48 MB / 0.4948 GB