Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.201/2.201, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.566e-05, allocations: 2.188 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5699, allocations: 79.69 MB / 374 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5703, allocations: 77.27 kB / 374.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.708, allocations: 30.33 MB / 404.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7081, allocations: 0 / 404.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001504/0.7083, allocations: 31.34 kB / 404.4 MB, free: 12.09 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007569/0.7158, allocations: 1.69 MB / 406.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.7159, allocations: 11.89 kB / 406.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.719, allocations: 323.3 kB / 406.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.7228, allocations: 1.072 MB / 407.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.723, allocations: 42.5 kB / 407.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004638/0.7234, allocations: 77.31 kB / 407.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004752/0.7282, allocations: 1.439 MB / 409.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005809/0.7341, allocations: 1.594 MB / 410.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.7342, allocations: 0 / 410.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.7344, allocations: 3.938 kB / 410.7 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.7345, allocations: 57.94 kB / 410.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.7527, allocations: 5.327 MB / 416.1 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005842/0.7586, allocations: 2.828 MB / 418.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.76, allocations: 435.8 kB / 419.3 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004701/0.7647, allocations: 1.501 MB / 420.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.7648, allocations: 38.75 kB / 420.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 4.258e-06/0.7648, allocations: 0 / 420.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.003088/0.7679, allocations: 0.8253 MB / 421.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.768, allocations: 85.11 kB / 421.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.7704, allocations: 0.8478 MB / 422.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.7706, allocations: 25.7 kB / 422.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/0.7715, allocations: 0.6813 MB / 423.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.7718, allocations: 177.3 kB / 423.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.7719, allocations: 0 / 423.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7721, allocations: 334 kB / 423.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.773, allocations: 313.4 kB / 424.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.774, allocations: 473.8 kB / 424.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.7755, allocations: 445.1 kB / 425 MB, free: 10.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.7755, allocations: 288 / 425 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003137/0.7787, allocations: 0.9231 MB / 425.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.7788, allocations: 11.94 kB / 425.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.7788, allocations: 8.5 kB / 426 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.7789, allocations: 8 kB / 426 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.7807, allocations: 183.8 kB / 426.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.384e-05/0.7808, allocations: 12.17 kB / 426.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.782, allocations: 75.39 kB / 426.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.7822, allocations: 31.98 kB / 426.3 MB, free: 9.734 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002684/0.7825, allocations: 124.5 kB / 426.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002978/0.7855, allocations: 0.8092 MB / 427.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.7859, allocations: 94.92 kB / 427.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.7885, allocations: 0.6619 MB / 427.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.7885, allocations: 11.94 kB / 428 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.7886, allocations: 8 kB / 428 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.7886, allocations: 7.938 kB / 428 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.793, allocations: 1.418 MB / 429.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.7931, allocations: 0 / 429.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.7943, allocations: 99.97 kB / 429.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008167/0.7951, allocations: 142 kB / 429.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.7952, allocations: 11.98 kB / 429.6 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/0.8004, allocations: 2.519 MB / 432.2 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8005, allocations: 0 / 432.2 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.8045, allocations: 1.436 MB / 433.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.8051, allocations: 188 kB / 433.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.8054, allocations: 7.984 kB / 433.8 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.807, allocations: 55.94 kB / 433.8 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.8074, allocations: 55.86 kB / 433.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.8076, allocations: 27.88 kB / 433.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002436/0.8101, allocations: 0.6513 MB / 434.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.8101, allocations: 0 / 434.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002063/0.8122, allocations: 346.3 kB / 434.9 MB, free: 0.8242 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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.004779/0.817, allocations: 2.285 MB / 437.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.819, allocations: 0.6671 MB / 437.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.819, allocations: 8.438 kB / 437.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.8208, allocations: 0.5266 MB / 438.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.8226, allocations: 143.3 kB / 438.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009312/0.8319, allocations: 2.654 MB / 441.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.8341, allocations: 1.522 MB / 442.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001489/0.8357, allocations: 226.5 kB / 442.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.8371, allocations: 479.3 kB / 443.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.8371, allocations: 0 / 443.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/0.9656, allocations: 18.93 MB / 462.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004056/0.9661, allocations: 167.6 kB / 462.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.533/4.499, allocations: 0 / 462.5 MB, free: 5.098 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat