Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.963e-05, allocations: 4 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.6272, allocations: 125.7 MB / 468.9 MB, free: 0.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.6276, allocations: 96.94 kB / 469 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9681/1.596, allocations: 194.1 MB / 0.6476 GB, free: 43.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.396e-06/1.596, allocations: 4 kB / 0.6476 GB, free: 43.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007646/1.597, allocations: 195.8 kB / 0.6478 GB, free: 43 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.0331/1.63, allocations: 7.936 MB / 0.6555 GB, free: 34.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/1.63, allocations: 8.031 kB / 0.6555 GB, free: 34.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004257/1.634, allocations: 1.181 MB / 0.6567 GB, free: 33.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/1.649, allocations: 1.897 MB / 0.6585 GB, free: 31.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02351/1.673, allocations: 7.046 MB / 0.6654 GB, free: 24.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007396/1.674, allocations: 0.6343 MB / 0.666 GB, free: 24.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003467/1.677, allocations: 0.8552 MB / 0.6669 GB, free: 23.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03455/1.712, allocations: 10.81 MB / 0.6774 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/1.712, allocations: 7.906 kB / 0.6774 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0024/1.715, allocations: 371.9 kB / 0.6778 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003782/1.715, allocations: 377.5 kB / 0.6782 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/1.742, allocations: 8.641 MB / 0.6866 GB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.432/2.174, allocations: 36.04 MB / 0.7218 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02203/2.196, allocations: 16.74 MB / 0.7382 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008918/2.205, allocations: 3.401 MB / 0.7415 GB, free: 28.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02697/2.232, allocations: 9.587 MB / 0.7508 GB, free: 26.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/2.232, allocations: 71.52 kB / 0.7509 GB, free: 26.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=298): time 6.091e-06/2.232, allocations: 0 / 0.7509 GB, free: 26.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=350): time 0.03576/2.268, allocations: 11.6 MB / 0.7622 GB, free: 23.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/2.268, allocations: 88.11 kB / 0.7623 GB, free: 23.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0091/2.277, allocations: 3.832 MB / 0.7661 GB, free: 21.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006986/2.278, allocations: 85.27 kB / 0.7661 GB, free: 21.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003023/2.281, allocations: 3.884 MB / 0.7699 GB, free: 18.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001508/2.282, allocations: 1.191 MB / 0.7711 GB, free: 17.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/2.283, allocations: 90.56 kB / 0.7712 GB, free: 17.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/2.283, allocations: 479.7 kB / 0.7716 GB, free: 17.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/2.287, allocations: 1.735 MB / 0.7733 GB, free: 16.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/2.293, allocations: 3.132 MB / 0.7764 GB, free: 14.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005702/2.298, allocations: 2.315 MB / 0.7787 GB, free: 13.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.665e-05/2.299, allocations: 13.22 kB / 0.7787 GB, free: 13.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01695/2.316, allocations: 6.023 MB / 0.7845 GB, free: 11.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/2.316, allocations: 28.86 kB / 0.7846 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/2.316, allocations: 45.72 kB / 0.7846 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/2.319, allocations: 0.745 MB / 0.7853 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008042/2.327, allocations: 1.043 MB / 0.7864 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/2.342, allocations: 10.04 MB / 0.7962 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006918/2.349, allocations: 257.9 kB / 0.7964 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000986/2.35, allocations: 198.7 kB / 0.7966 GB, free: 2.824 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.001013/2.351, allocations: 384.3 kB / 0.797 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/2.352, allocations: 490 kB / 0.7974 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/2.366, allocations: 5.12 MB / 0.8024 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/2.366, allocations: 33.41 kB / 0.8025 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.077e-05/2.366, allocations: 14.44 kB / 0.8025 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.276e-05/2.366, allocations: 17.02 kB / 0.8025 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03625/2.403, allocations: 12.46 MB / 0.8147 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.072e-05/2.403, allocations: 7.406 kB / 0.8147 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005437/2.408, allocations: 0.5992 MB / 0.8153 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003835/2.412, allocations: 0.8868 MB / 0.8161 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006969/2.413, allocations: 83.39 kB / 0.8162 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/2.437, allocations: 13.99 MB / 0.8299 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/2.437, allocations: 13.17 kB / 0.8299 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/2.456, allocations: 8.051 MB / 0.8377 GB, free: 7.418 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004023/2.461, allocations: 0.9545 MB / 0.8387 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/2.462, allocations: 76 kB / 0.8388 GB, free: 6.469 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005679/2.468, allocations: 210.7 kB / 0.839 GB, free: 6.305 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/2.469, allocations: 276 kB / 0.8392 GB, free: 6.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/2.47, allocations: 94.05 kB / 0.8393 GB, free: 6.047 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008168/2.478, allocations: 2.894 MB / 0.8421 GB, free: 3.434 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.478, allocations: 0 / 0.8421 GB, free: 3.434 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009103/2.487, allocations: 1.536 MB / 0.8436 GB, free: 1.914 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.02295/2.51, allocations: 10.11 MB / 0.8535 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01418/2.524, allocations: 5.155 MB / 0.8585 GB, free: 3.418 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.524, allocations: 0 / 0.8585 GB, free: 3.418 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008578/2.533, allocations: 3.162 MB / 0.8616 GB, free: 448 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01178/2.545, allocations: 1.211 MB / 0.8628 GB, free: 0 / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3895/2.934, allocations: 14.13 MB / 0.8766 GB, free: 92.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/2.945, allocations: 5.226 MB / 0.8817 GB, free: 91.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00706/2.952, allocations: 1.05 MB / 0.8827 GB, free: 91.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007185/2.96, allocations: 3.28 MB / 0.8859 GB, free: 91.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/2.96, allocations: 0 / 0.8859 GB, free: 91.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/3.23, allocations: 124.9 MB / 1.008 GB, free: 26.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/3.23, allocations: 245.9 kB / 1.008 GB, free: 26.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/10.89, allocations: 4 kB / 1.008 GB, free: 26.65 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.mat does not exist to compare? outputFormat=mat