Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.156e-05/5.17e-05, allocations: 7.938 kB / 292.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5686, allocations: 120.6 MB / 463.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.569, allocations: 92.64 kB / 463.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7687/1.338, allocations: 160.9 MB / 0.6095 GB, free: 80.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.146e-06/1.338, allocations: 0 / 0.6095 GB, free: 80.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002843/1.338, allocations: 101.3 kB / 0.6096 GB, free: 80.85 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01174/1.35, allocations: 3.923 MB / 0.6134 GB, free: 77.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.35, allocations: 8.031 kB / 0.6134 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006911/1.357, allocations: 0.9158 MB / 0.6143 GB, free: 76.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.368, allocations: 3.827 MB / 0.618 GB, free: 72.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/1.368, allocations: 296.1 kB / 0.6183 GB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/1.37, allocations: 402.6 kB / 0.6187 GB, free: 71.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/1.382, allocations: 4.965 MB / 0.6236 GB, free: 66.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/1.382, allocations: 7.938 kB / 0.6236 GB, free: 66.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006026/1.382, allocations: 174.5 kB / 0.6237 GB, free: 66.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/1.383, allocations: 176 kB / 0.6239 GB, free: 66.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/1.393, allocations: 3.976 MB / 0.6278 GB, free: 62.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03259/1.425, allocations: 16.92 MB / 0.6443 GB, free: 45.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006704/1.432, allocations: 8.249 MB / 0.6524 GB, free: 35.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00326/1.435, allocations: 1.609 MB / 0.6539 GB, free: 34.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00978/1.445, allocations: 4.851 MB / 0.6587 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.445, allocations: 59.83 kB / 0.6587 GB, free: 29.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 4.733e-06/1.445, allocations: 0 / 0.6587 GB, free: 29.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.008915/1.454, allocations: 4.509 MB / 0.6631 GB, free: 24.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.454, allocations: 68.72 kB / 0.6632 GB, free: 24.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/1.458, allocations: 1.969 MB / 0.6651 GB, free: 22.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/1.458, allocations: 53.7 kB / 0.6652 GB, free: 22.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/1.46, allocations: 1.844 MB / 0.667 GB, free: 20.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/1.46, allocations: 0.5288 MB / 0.6675 GB, free: 20.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.46, allocations: 40 kB / 0.6675 GB, free: 20.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/1.46, allocations: 386 kB / 0.6679 GB, free: 19.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/1.462, allocations: 0.7539 MB / 0.6686 GB, free: 18.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.464, allocations: 1.418 MB / 0.67 GB, free: 17.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/1.466, allocations: 1.032 MB / 0.671 GB, free: 16.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.466, allocations: 8 kB / 0.671 GB, free: 16.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005214/1.471, allocations: 2.601 MB / 0.6736 GB, free: 13.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/1.471, allocations: 16.09 kB / 0.6736 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.471, allocations: 24 kB / 0.6736 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/1.472, allocations: 121.7 kB / 0.6737 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/1.474, allocations: 0.5266 MB / 0.6742 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/1.476, allocations: 1.813 MB / 0.676 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/1.478, allocations: 119.9 kB / 0.6761 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/1.479, allocations: 103.9 kB / 0.6762 GB, free: 10.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004474/1.479, allocations: 237.6 kB / 0.6765 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/1.48, allocations: 249 kB / 0.6767 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/1.485, allocations: 2.269 MB / 0.6789 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.485, allocations: 16 kB / 0.6789 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.485, allocations: 11.95 kB / 0.6789 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.485, allocations: 7.969 kB / 0.6789 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.496, allocations: 5.543 MB / 0.6844 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.496, allocations: 4.188 kB / 0.6844 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.498, allocations: 287.6 kB / 0.6846 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.499, allocations: 313.9 kB / 0.6849 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.499, allocations: 39.98 kB / 0.685 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2749/1.774, allocations: 6.29 MB / 0.6911 GB, free: 76.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.544e-06/1.774, allocations: 2.031 kB / 0.6911 GB, free: 76.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/1.781, allocations: 3.392 MB / 0.6944 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.783, allocations: 0.489 MB / 0.6949 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007878/1.784, allocations: 37.3 kB / 0.6949 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.786, allocations: 87.81 kB / 0.695 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000415/1.786, allocations: 118.3 kB / 0.6951 GB, free: 75.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.786, allocations: 43.08 kB / 0.6952 GB, free: 75.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003343/1.79, allocations: 1.494 MB / 0.6966 GB, free: 75.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.078e-06/1.79, allocations: 0 / 0.6966 GB, free: 75.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003686/1.793, allocations: 0.7233 MB / 0.6973 GB, free: 75.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009306/1.794, allocations: 484.7 kB / 0.6978 GB, free: 75.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/1.799, allocations: 2.034 MB / 0.6998 GB, free: 75.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.351e-06/1.799, allocations: 1.25 kB / 0.6998 GB, free: 75.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002832/1.802, allocations: 1.306 MB / 0.7011 GB, free: 75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/1.805, allocations: 0.5658 MB / 0.7016 GB, free: 74.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.821, allocations: 5.515 MB / 0.707 GB, free: 73.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/1.825, allocations: 2.737 MB / 0.7097 GB, free: 72.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003036/1.828, allocations: 0.5433 MB / 0.7102 GB, free: 72.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/1.829, allocations: 160.7 kB / 0.7104 GB, free: 72.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.65e-06/1.829, allocations: 3.688 kB / 0.7104 GB, free: 72.9 MB / 442.7 MB Notification: Performance of Templates: time 0.08758/1.917, allocations: 33.61 MB / 0.7432 GB, free: 71.29 MB / 442.7 MB