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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.376e-05/2.392e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.08985, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.5711, allocations: 125.7 MB / 468.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5715, allocations: 108.4 kB / 468.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9333/1.505, allocations: 194.1 MB / 0.6475 GB, free: 43.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.309e-06/1.505, allocations: 0 / 0.6475 GB, free: 43.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005689/1.505, allocations: 211.8 kB / 0.6477 GB, free: 43.37 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.02581/1.531, allocations: 7.921 MB / 0.6554 GB, free: 35.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.531, allocations: 12.03 kB / 0.6554 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/1.545, allocations: 1.909 MB / 0.6573 GB, free: 33.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/1.566, allocations: 7.049 MB / 0.6642 GB, free: 26.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006161/1.566, allocations: 0.6421 MB / 0.6648 GB, free: 25.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002556/1.569, allocations: 0.8436 MB / 0.6656 GB, free: 24.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/1.597, allocations: 10.82 MB / 0.6762 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/1.597, allocations: 15.84 kB / 0.6762 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/1.598, allocations: 360 kB / 0.6766 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003309/1.599, allocations: 385.5 kB / 0.6769 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/1.623, allocations: 8.641 MB / 0.6854 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6624/2.285, allocations: 36.03 MB / 0.7205 GB, free: 38.66 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/2.303, allocations: 16.76 MB / 0.7369 GB, free: 26.21 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007977/2.311, allocations: 3.39 MB / 0.7402 GB, free: 26.16 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/2.333, allocations: 9.602 MB / 0.7496 GB, free: 24.31 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/2.333, allocations: 61.7 kB / 0.7497 GB, free: 24.27 MB / 442.8 MB Notification: Performance of pre-optimization done (n=298): time 7.7e-06/2.333, allocations: 0 / 0.7497 GB, free: 24.27 MB / 442.8 MB Notification: Performance of matching and sorting (n=350): time 0.02909/2.362, allocations: 11.6 MB / 0.761 GB, free: 22.25 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/2.362, allocations: 84.36 kB / 0.7611 GB, free: 22.18 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007993/2.37, allocations: 3.838 MB / 0.7648 GB, free: 20.86 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004489/2.371, allocations: 84.17 kB / 0.7649 GB, free: 20.78 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002378/2.373, allocations: 3.873 MB / 0.7687 GB, free: 17.99 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001083/2.374, allocations: 1.19 MB / 0.7698 GB, free: 17.07 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/2.374, allocations: 88.91 kB / 0.7699 GB, free: 17 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002938/2.375, allocations: 486.3 kB / 0.7704 GB, free: 16.62 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00401/2.379, allocations: 1.732 MB / 0.7721 GB, free: 15.9 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004693/2.383, allocations: 3.137 MB / 0.7751 GB, free: 13.39 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/2.388, allocations: 2.317 MB / 0.7774 GB, free: 12.49 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/2.389, allocations: 17.38 kB / 0.7774 GB, free: 12.49 MB / 442.8 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01343/2.402, allocations: 6.023 MB / 0.7833 GB, free: 10.21 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/2.402, allocations: 27.06 kB / 0.7833 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.844e-05/2.402, allocations: 49.95 kB / 0.7834 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/2.405, allocations: 0.721 MB / 0.7841 GB, free: 9.969 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/2.41, allocations: 1.049 MB / 0.7851 GB, free: 9.926 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/2.423, allocations: 10.04 MB / 0.7949 GB, free: 2.086 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005434/2.429, allocations: 254.8 kB / 0.7952 GB, free: 1.996 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000817/2.43, allocations: 203.5 kB / 0.7953 GB, free: 1.961 MB / 442.8 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.0009244/2.431, allocations: 383.1 kB / 0.7957 GB, free: 1.699 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/2.432, allocations: 484.4 kB / 0.7962 GB, free: 1.453 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02004/2.452, allocations: 5.185 MB / 0.8012 GB, free: 15.47 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.072e-05/2.452, allocations: 35.06 kB / 0.8013 GB, free: 15.47 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/2.452, allocations: 15.97 kB / 0.8013 GB, free: 15.47 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-05/2.452, allocations: 17.44 kB / 0.8013 GB, free: 15.47 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/2.498, allocations: 12.46 MB / 0.8135 GB, free: 10.01 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/2.498, allocations: 8.984 kB / 0.8135 GB, free: 10.01 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003443/2.502, allocations: 0.6001 MB / 0.8141 GB, free: 9.984 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/2.505, allocations: 0.8837 MB / 0.8149 GB, free: 9.691 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005322/2.505, allocations: 89.56 kB / 0.815 GB, free: 9.641 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/2.529, allocations: 13.99 MB / 0.8287 GB, free: 14.66 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.861e-06/2.529, allocations: 4 kB / 0.8287 GB, free: 14.66 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/2.548, allocations: 8.053 MB / 0.8366 GB, free: 7 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003444/2.551, allocations: 0.9566 MB / 0.8375 GB, free: 6.121 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009806/2.552, allocations: 76 kB / 0.8376 GB, free: 6.047 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/2.555, allocations: 210.2 kB / 0.8378 GB, free: 5.883 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006995/2.556, allocations: 266.8 kB / 0.838 GB, free: 5.719 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003526/2.556, allocations: 94.89 kB / 0.8381 GB, free: 5.633 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.007296/2.564, allocations: 2.899 MB / 0.8409 GB, free: 3.016 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.99e-07/2.564, allocations: 0 / 0.8409 GB, free: 3.016 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007445/2.571, allocations: 1.537 MB / 0.8424 GB, free: 1.496 MB / 474.8 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.001445/2.573, allocations: 0.7348 MB / 0.8432 GB, free: 0.875 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01448/2.587, allocations: 5.313 MB / 0.8483 GB, free: 12.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.587, allocations: 4 kB / 0.8483 GB, free: 12.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007213/2.594, allocations: 3.162 MB / 0.8514 GB, free: 9.344 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005963/2.6, allocations: 1.048 MB / 0.8525 GB, free: 8.508 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/2.633, allocations: 12.02 MB / 0.8642 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00889/2.642, allocations: 5.217 MB / 0.8693 GB, free: 9.797 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006378/2.649, allocations: 1.05 MB / 0.8703 GB, free: 9.082 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/2.65, allocations: 317.4 kB / 0.8706 GB, free: 8.785 MB / 0.4949 GB Notification: Performance of SimCode: time 1.777e-06/2.65, allocations: 0 / 0.8706 GB, free: 8.785 MB / 0.4949 GB Notification: Performance of Templates: time 0.4685/3.119, allocations: 68.27 MB / 0.9373 GB, free: 98.3 MB / 0.4949 GB