Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.768e-05, allocations: 4 kB / 269.4 MB, free: 6.359 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.08393, allocations: 47.57 MB / 317 MB, free: 6.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.5706, allocations: 167 MB / 484 MB, free: 2.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.571, allocations: 98.5 kB / 484.1 MB, free: 2.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.986/2.557, allocations: 393.9 MB / 0.8574 GB, free: 27.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.28e-06/2.557, allocations: 1.219 kB / 0.8574 GB, free: 27.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000886/2.558, allocations: 263.8 kB / 0.8576 GB, free: 27.82 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04329/2.601, allocations: 10.28 MB / 0.8677 GB, free: 24.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/2.601, allocations: 9.656 kB / 0.8677 GB, free: 24.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03657/2.638, allocations: 4.385 MB / 0.872 GB, free: 23.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0265/2.664, allocations: 8.858 MB / 0.8806 GB, free: 22.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/2.665, allocations: 0.8275 MB / 0.8814 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004288/2.67, allocations: 1.082 MB / 0.8825 GB, free: 22.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/2.717, allocations: 17.11 MB / 0.8992 GB, free: 21.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/2.717, allocations: 25.55 kB / 0.8992 GB, free: 21.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003378/2.721, allocations: 475.3 kB / 0.8997 GB, free: 21.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008437/2.721, allocations: 0.6935 MB / 0.9003 GB, free: 21.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03868/2.76, allocations: 14.83 MB / 0.9148 GB, free: 21.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/2.882, allocations: 58.18 MB / 0.9716 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02546/2.907, allocations: 17 MB / 0.9882 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01364/2.921, allocations: 6.184 MB / 0.9943 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05715/2.978, allocations: 19.55 MB / 1.013 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/2.978, allocations: 88.44 kB / 1.013 GB, free: 12.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=626): time 1.077e-05/2.978, allocations: 0 / 1.013 GB, free: 12.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=659): time 0.3634/3.342, allocations: 23.5 MB / 1.036 GB, free: 68.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004762/3.347, allocations: 2.935 MB / 1.039 GB, free: 66.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009711/3.356, allocations: 3.888 MB / 1.043 GB, free: 66.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001263/3.358, allocations: 120.4 kB / 1.043 GB, free: 66.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003686/3.361, allocations: 4.61 MB / 1.048 GB, free: 64.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002929/3.364, allocations: 2.203 MB / 1.05 GB, free: 62.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008209/3.365, allocations: 142.2 kB / 1.05 GB, free: 62.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005412/3.366, allocations: 0.6196 MB / 1.051 GB, free: 62.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009296/3.375, allocations: 4.363 MB / 1.055 GB, free: 62.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/3.386, allocations: 6.35 MB / 1.061 GB, free: 60.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/3.398, allocations: 5.503 MB / 1.066 GB, free: 60.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.952e-05/3.398, allocations: 19.53 kB / 1.066 GB, free: 60.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=997) (initialization): time 0.03031/3.428, allocations: 12.92 MB / 1.079 GB, free: 59.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/3.428, allocations: 36.5 kB / 1.079 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/3.428, allocations: 61.09 kB / 1.079 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006429/3.435, allocations: 2.4 MB / 1.081 GB, free: 59.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009229/3.444, allocations: 1.529 MB / 1.083 GB, free: 59.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/3.457, allocations: 10.4 MB / 1.093 GB, free: 54.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008855/3.466, allocations: 0.5351 MB / 1.094 GB, free: 54.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/3.468, allocations: 342.5 kB / 1.094 GB, free: 54.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (792): * Single equations (assignments): 723 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.002286/3.471, allocations: 0.5146 MB / 1.094 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001786/3.472, allocations: 0.5502 MB / 1.095 GB, free: 54.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02796/3.5, allocations: 11.7 MB / 1.106 GB, free: 53.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02396/3.524, allocations: 10.37 MB / 1.117 GB, free: 50.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/3.525, allocations: 3.75 kB / 1.117 GB, free: 50.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/3.525, allocations: 30.3 kB / 1.117 GB, free: 50.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06928/3.594, allocations: 30.54 MB / 1.146 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.826e-05/3.594, allocations: 7.453 kB / 1.146 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00615/3.6, allocations: 0.8805 MB / 1.147 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007879/3.608, allocations: 2.667 MB / 1.15 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/3.609, allocations: 146.3 kB / 1.15 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/3.631, allocations: 15.87 MB / 1.166 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004471/3.635, allocations: 2.813 MB / 1.168 GB, free: 22.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03529/3.671, allocations: 18.3 MB / 1.186 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004896/3.676, allocations: 1.575 MB / 1.188 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/3.677, allocations: 100 kB / 1.188 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004892/3.682, allocations: 351.2 kB / 1.188 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001671/3.684, allocations: 0.4963 MB / 1.189 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006705/3.685, allocations: 185.1 kB / 1.189 GB, free: 4.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005708/3.69, allocations: 2.889 MB / 1.192 GB, free: 1.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.431e-06/3.69, allocations: 2.531 kB / 1.192 GB, free: 1.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01621/3.707, allocations: 2.387 MB / 1.194 GB, free: 0 / 490.7 MB 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 (461): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 43,5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002339/3.709, allocations: 0.7021 MB / 1.195 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02557/3.735, allocations: 10.74 MB / 1.205 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/3.735, allocations: 0 / 1.205 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01496/3.75, allocations: 5.829 MB / 1.211 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009208/3.759, allocations: 1.15 MB / 1.212 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4005/4.159, allocations: 18.9 MB / 1.23 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01494/4.174, allocations: 7.002 MB / 1.237 GB, free: 79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009066/4.183, allocations: 1.709 MB / 1.239 GB, free: 78.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002624/4.186, allocations: 412.5 kB / 1.239 GB, free: 78.95 MB / 0.4948 GB Notification: Performance of SimCode: time 2.072e-06/4.186, allocations: 0 / 1.239 GB, free: 78.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.2759/4.462, allocations: 106.1 MB / 1.343 GB, free: 50.69 MB / 0.4948 GB