Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.024e-05, allocations: 4 kB / 292.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 50.41 MB / 342.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.5989, allocations: 125.7 MB / 468.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.5993, allocations: 106.8 kB / 468.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9867/1.586, allocations: 194.1 MB / 0.6471 GB, free: 43.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.586, allocations: 0 / 0.6471 GB, free: 43.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000775/1.587, allocations: 207.8 kB / 0.6473 GB, free: 43.19 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.03281/1.62, allocations: 7.936 MB / 0.655 GB, free: 35.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.62, allocations: 8.031 kB / 0.655 GB, free: 35.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00455/1.624, allocations: 1.177 MB / 0.6562 GB, free: 33.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/1.64, allocations: 1.897 MB / 0.658 GB, free: 32.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02526/1.665, allocations: 7.049 MB / 0.6649 GB, free: 24.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007965/1.666, allocations: 0.6421 MB / 0.6655 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/1.67, allocations: 0.8474 MB / 0.6664 GB, free: 23.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03518/1.705, allocations: 10.82 MB / 0.6769 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004408/1.705, allocations: 11.84 kB / 0.6769 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/1.708, allocations: 371.9 kB / 0.6773 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004017/1.709, allocations: 377.5 kB / 0.6776 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02855/1.737, allocations: 8.641 MB / 0.6861 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4328/2.17, allocations: 36.03 MB / 0.7213 GB, free: 40.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02297/2.193, allocations: 16.76 MB / 0.7376 GB, free: 28.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009806/2.203, allocations: 3.391 MB / 0.7409 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04413/2.247, allocations: 9.592 MB / 0.7503 GB, free: 26.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/2.247, allocations: 68.36 kB / 0.7504 GB, free: 26.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=298): time 5.45e-06/2.247, allocations: 2.844 kB / 0.7504 GB, free: 26.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=350): time 0.03558/2.283, allocations: 11.6 MB / 0.7617 GB, free: 23.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/2.283, allocations: 92.39 kB / 0.7618 GB, free: 23.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009074/2.292, allocations: 3.833 MB / 0.7655 GB, free: 21.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006809/2.293, allocations: 83.58 kB / 0.7656 GB, free: 21.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002955/2.296, allocations: 3.878 MB / 0.7694 GB, free: 19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/2.297, allocations: 1.188 MB / 0.7706 GB, free: 18.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004284/2.298, allocations: 90.22 kB / 0.7707 GB, free: 18.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002512/2.298, allocations: 482.5 kB / 0.7711 GB, free: 17.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004161/2.302, allocations: 1.739 MB / 0.7728 GB, free: 16.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/2.307, allocations: 3.127 MB / 0.7759 GB, free: 14.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005739/2.313, allocations: 2.313 MB / 0.7781 GB, free: 13.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.572e-05/2.313, allocations: 15.09 kB / 0.7781 GB, free: 13.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01591/2.329, allocations: 6.023 MB / 0.784 GB, free: 11.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/2.329, allocations: 34.5 kB / 0.7841 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.275e-05/2.329, allocations: 45.75 kB / 0.7841 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/2.332, allocations: 0.74 MB / 0.7848 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/2.34, allocations: 1.039 MB / 0.7858 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/2.354, allocations: 10.04 MB / 0.7956 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/2.361, allocations: 257.1 kB / 0.7959 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000885/2.361, allocations: 198.6 kB / 0.7961 GB, free: 2.98 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.0009777/2.362, allocations: 384.9 kB / 0.7964 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/2.364, allocations: 488.4 kB / 0.7969 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/2.377, allocations: 5.115 MB / 0.8019 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/2.377, allocations: 34.31 kB / 0.8019 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/2.377, allocations: 9.969 kB / 0.8019 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-05/2.378, allocations: 18.38 kB / 0.802 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03683/2.414, allocations: 12.61 MB / 0.8143 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/2.414, allocations: 2.844 kB / 0.8143 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005299/2.42, allocations: 0.6074 MB / 0.8149 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003788/2.424, allocations: 0.8884 MB / 0.8157 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006218/2.424, allocations: 81.34 kB / 0.8158 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02366/2.448, allocations: 13.99 MB / 0.8295 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/2.448, allocations: 8 kB / 0.8295 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/2.469, allocations: 8.049 MB / 0.8373 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003991/2.473, allocations: 0.9605 MB / 0.8383 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/2.475, allocations: 75.61 kB / 0.8384 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005714/2.481, allocations: 207.9 kB / 0.8386 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/2.482, allocations: 279.2 kB / 0.8388 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003762/2.483, allocations: 98.66 kB / 0.8389 GB, free: 6.691 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007901/2.491, allocations: 2.893 MB / 0.8417 GB, free: 4.078 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.491, allocations: 0 / 0.8417 GB, free: 4.078 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009214/2.5, allocations: 1.533 MB / 0.8432 GB, free: 2.562 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.0287/2.529, allocations: 10.43 MB / 0.8534 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/2.542, allocations: 5.153 MB / 0.8585 GB, free: 4.879 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/2.543, allocations: 4 kB / 0.8585 GB, free: 4.875 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008632/2.551, allocations: 3.161 MB / 0.8616 GB, free: 1.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008388/2.56, allocations: 1.058 MB / 0.8626 GB, free: 1.055 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3981/2.958, allocations: 14.49 MB / 0.8767 GB, free: 92.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/2.969, allocations: 5.221 MB / 0.8818 GB, free: 91.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007037/2.977, allocations: 1.056 MB / 0.8829 GB, free: 91.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007244/2.984, allocations: 3.28 MB / 0.8861 GB, free: 91.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/2.984, allocations: 0 / 0.8861 GB, free: 91.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3128/3.297, allocations: 124.9 MB / 1.008 GB, free: 28.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/3.297, allocations: 251.8 kB / 1.008 GB, free: 27.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/10.84, allocations: 0 / 1.008 GB, free: 27.75 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase_res.mat does not exist to compare? outputFormat=mat