Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.19e-05, allocations: 0 / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08886, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5486, allocations: 125.7 MB / 468.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005945/0.5493, allocations: 100.6 kB / 468.4 MB, free: 1.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8654/1.415, allocations: 194.1 MB / 0.647 GB, free: 43.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.681e-06/1.415, allocations: 3.938 kB / 0.647 GB, free: 43.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006333/1.415, allocations: 203.8 kB / 0.6472 GB, free: 43.36 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02603/1.441, allocations: 7.928 MB / 0.6549 GB, free: 35.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.441, allocations: 12.03 kB / 0.6549 GB, free: 35.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/1.455, allocations: 1.905 MB / 0.6568 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02029/1.475, allocations: 7.053 MB / 0.6637 GB, free: 26.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/1.476, allocations: 0.6421 MB / 0.6643 GB, free: 25.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/1.479, allocations: 0.8436 MB / 0.6651 GB, free: 24.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/1.507, allocations: 10.82 MB / 0.6757 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002278/1.507, allocations: 11.91 kB / 0.6757 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/1.509, allocations: 360 kB / 0.676 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/1.509, allocations: 377.5 kB / 0.6764 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/1.532, allocations: 8.645 MB / 0.6849 GB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3542/1.886, allocations: 36.03 MB / 0.72 GB, free: 40.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/1.902, allocations: 16.76 MB / 0.7364 GB, free: 27.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007134/1.909, allocations: 3.393 MB / 0.7397 GB, free: 27.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/1.929, allocations: 9.595 MB / 0.7491 GB, free: 26.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.929, allocations: 68.36 kB / 0.7492 GB, free: 25.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=298): time 6.795e-06/1.929, allocations: 3.375 kB / 0.7492 GB, free: 25.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=350): time 0.02774/1.957, allocations: 11.59 MB / 0.7605 GB, free: 23.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/1.957, allocations: 88.7 kB / 0.7606 GB, free: 23.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00729/1.965, allocations: 3.832 MB / 0.7643 GB, free: 22.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004498/1.965, allocations: 86.23 kB / 0.7644 GB, free: 22.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.967, allocations: 3.881 MB / 0.7682 GB, free: 19.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.969, allocations: 1.193 MB / 0.7693 GB, free: 18.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/1.969, allocations: 93.25 kB / 0.7694 GB, free: 18.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002637/1.969, allocations: 483.2 kB / 0.7699 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/1.973, allocations: 1.729 MB / 0.7716 GB, free: 17.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/1.977, allocations: 3.131 MB / 0.7746 GB, free: 15.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/1.981, allocations: 2.318 MB / 0.7769 GB, free: 14.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-05/1.981, allocations: 13.94 kB / 0.7769 GB, free: 14.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01287/1.994, allocations: 6.02 MB / 0.7828 GB, free: 11.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/1.994, allocations: 27.08 kB / 0.7828 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.121e-05/1.994, allocations: 51.23 kB / 0.7829 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/1.997, allocations: 0.7301 MB / 0.7836 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/2.002, allocations: 1.044 MB / 0.7846 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/2.014, allocations: 10.06 MB / 0.7944 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/2.019, allocations: 247.2 kB / 0.7947 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007445/2.02, allocations: 202.8 kB / 0.7948 GB, free: 3.613 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008984/2.021, allocations: 385.2 kB / 0.7952 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/2.022, allocations: 487.5 kB / 0.7957 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/2.033, allocations: 5.114 MB / 0.8007 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/2.033, allocations: 33.19 kB / 0.8007 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/2.033, allocations: 16.97 kB / 0.8007 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/2.033, allocations: 16.69 kB / 0.8007 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/2.06, allocations: 12.48 MB / 0.8129 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/2.061, allocations: 3.375 kB / 0.8129 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/2.064, allocations: 0.5986 MB / 0.8135 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/2.067, allocations: 0.889 MB / 0.8144 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003218/2.067, allocations: 85.98 kB / 0.8145 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/2.089, allocations: 13.96 MB / 0.8281 GB, free: 100 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.813e-06/2.089, allocations: 10.72 kB / 0.8281 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/2.106, allocations: 8.059 MB / 0.836 GB, free: 8.434 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003421/2.109, allocations: 0.9573 MB / 0.8369 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/2.111, allocations: 76 kB / 0.837 GB, free: 7.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003253/2.114, allocations: 209.8 kB / 0.8372 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00074/2.115, allocations: 273.7 kB / 0.8374 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003665/2.115, allocations: 94 kB / 0.8375 GB, free: 7.062 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006699/2.122, allocations: 2.898 MB / 0.8404 GB, free: 4.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.195e-06/2.122, allocations: 0 / 0.8404 GB, free: 4.449 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008017/2.13, allocations: 1.53 MB / 0.8419 GB, free: 2.934 MB / 474.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,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 5 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001629/2.131, allocations: 0.7393 MB / 0.8426 GB, free: 2.312 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01735/2.149, allocations: 5.481 MB / 0.8479 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/2.149, allocations: 0 / 0.8479 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0071/2.156, allocations: 3.17 MB / 0.851 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005987/2.162, allocations: 1.053 MB / 0.8521 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3121/2.474, allocations: 12.15 MB / 0.8639 GB, free: 91.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009691/2.484, allocations: 5.216 MB / 0.869 GB, free: 90.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005787/2.49, allocations: 1.055 MB / 0.87 GB, free: 90.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/2.491, allocations: 312.9 kB / 0.8703 GB, free: 90.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.836e-06/2.491, allocations: 1.312 kB / 0.8703 GB, free: 90.76 MB / 490.7 MB Notification: Performance of Templates: time 0.1759/2.667, allocations: 68.16 MB / 0.9369 GB, free: 86.86 MB / 490.7 MB