Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.997e-05, allocations: 0 / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3013, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4459, allocations: 73.42 MB / 331.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.4463, allocations: 79.95 kB / 331.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1537/0.6, allocations: 29.27 MB / 361.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6001, allocations: 0 / 361.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001995/0.6003, allocations: 39.94 kB / 361.2 MB, free: 6.672 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008993/0.6093, allocations: 1.642 MB / 362.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.6094, allocations: 12.02 kB / 362.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.6116, allocations: 234 kB / 363 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.6164, allocations: 1.051 MB / 364.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.6166, allocations: 40 kB / 364.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/0.6172, allocations: 80 kB / 364.2 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005651/0.6229, allocations: 1.293 MB / 365.5 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007218/0.6302, allocations: 1.484 MB / 367 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/0.6303, allocations: 4 kB / 367 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/0.6307, allocations: 3.938 kB / 367 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.6309, allocations: 49.98 kB / 367 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2818/0.9126, allocations: 4.979 MB / 372 MB, free: 79.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.9143, allocations: 1.028 MB / 373 MB, free: 79.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.9151, allocations: 348.7 kB / 373.4 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/0.9152, allocations: 11.33 kB / 373.4 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.9152, allocations: 41.39 kB / 373.4 MB, free: 79.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.067e-06/0.9152, allocations: 0 / 373.4 MB, free: 79.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002301/0.9176, allocations: 0.7182 MB / 374.2 MB, free: 79.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.9177, allocations: 85.77 kB / 374.2 MB, free: 79.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.9195, allocations: 0.8617 MB / 375.1 MB, free: 78.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.9197, allocations: 28.36 kB / 375.1 MB, free: 78.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.9203, allocations: 0.6606 MB / 375.8 MB, free: 78.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.9205, allocations: 160.6 kB / 375.9 MB, free: 78.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.9206, allocations: 0 / 375.9 MB, free: 78.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.9207, allocations: 333.6 kB / 376.3 MB, free: 78.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.9213, allocations: 298.5 kB / 376.6 MB, free: 78.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.922, allocations: 446.9 kB / 377 MB, free: 78.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.9227, allocations: 354.4 kB / 377.3 MB, free: 78.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.9228, allocations: 3.969 kB / 377.3 MB, free: 78.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001795/0.9246, allocations: 0.8329 MB / 378.2 MB, free: 78.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.9246, allocations: 10.69 kB / 378.2 MB, free: 78.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.9247, allocations: 3.969 kB / 378.2 MB, free: 78.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/0.9247, allocations: 11.62 kB / 378.2 MB, free: 78.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.9261, allocations: 174 kB / 378.4 MB, free: 78.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.9261, allocations: 14.84 kB / 378.4 MB, free: 78.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/0.9271, allocations: 68.7 kB / 378.5 MB, free: 78.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.9272, allocations: 36.58 kB / 378.5 MB, free: 78.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.9274, allocations: 117.8 kB / 378.6 MB, free: 77.91 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001794/0.9292, allocations: 0.7164 MB / 379.3 MB, free: 77.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.9296, allocations: 92.19 kB / 379.4 MB, free: 77.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.9299, allocations: 100.3 kB / 379.5 MB, free: 77.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.9299, allocations: 3.875 kB / 379.5 MB, free: 77.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.93, allocations: 7.406 kB / 379.5 MB, free: 77.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.93, allocations: 0 / 379.5 MB, free: 77.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00478/0.9348, allocations: 1.975 MB / 381.5 MB, free: 77.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9348, allocations: 3.406 kB / 381.5 MB, free: 77.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.9356, allocations: 88.89 kB / 381.6 MB, free: 77.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/0.9363, allocations: 146.1 kB / 381.7 MB, free: 77.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.9365, allocations: 10.94 kB / 381.7 MB, free: 77.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.9402, allocations: 2.532 MB / 384.3 MB, free: 76.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.9403, allocations: 3.953 kB / 384.3 MB, free: 76.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.9428, allocations: 1.303 MB / 385.6 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/0.9435, allocations: 254.5 kB / 385.8 MB, free: 75.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.9437, allocations: 11.58 kB / 385.8 MB, free: 75.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/0.9446, allocations: 55.33 kB / 385.9 MB, free: 75.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.9449, allocations: 50.75 kB / 385.9 MB, free: 75.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.945, allocations: 18.39 kB / 386 MB, free: 75.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.9462, allocations: 0.672 MB / 386.6 MB, free: 75.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.9462, allocations: 0 / 386.6 MB, free: 75.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001619/0.9479, allocations: 319.2 kB / 386.9 MB, free: 75.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002905/0.9508, allocations: 2.159 MB / 389.1 MB, free: 73.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.9522, allocations: 0.6173 MB / 389.7 MB, free: 73.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.9522, allocations: 0 / 389.7 MB, free: 73.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.9534, allocations: 0.496 MB / 390.2 MB, free: 73.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.9549, allocations: 149.2 kB / 390.4 MB, free: 73.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.9618, allocations: 2.59 MB / 393 MB, free: 72.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.9631, allocations: 1.495 MB / 394.5 MB, free: 71.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.9641, allocations: 204.9 kB / 394.7 MB, free: 71.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000975/0.9651, allocations: 450.7 kB / 395.1 MB, free: 70.85 MB / 314.7 MB Notification: Performance of SimCode: time 2.184e-06/0.9652, allocations: 0 / 395.1 MB, free: 70.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/1.05, allocations: 18.6 MB / 413.7 MB, free: 57.8 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/1.05, allocations: 178.5 kB / 413.9 MB, free: 57.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.955, allocations: 0 / 413.9 MB, free: 57.6 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat