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.697/1.697, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.794e-05, allocations: 0 / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2572, allocations: 38.78 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.3914, allocations: 74.1 MB / 338 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.3917, allocations: 75.95 kB / 338 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1179/0.5096, allocations: 29.61 MB / 367.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5097, allocations: 0 / 367.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.5098, allocations: 31.94 kB / 367.7 MB, free: 1.473 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.2286/0.7385, allocations: 1.654 MB / 369.3 MB, free: 78.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.7385, allocations: 9.156 kB / 369.3 MB, free: 78.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008925/0.7394, allocations: 190.7 kB / 369.5 MB, free: 78.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.7409, allocations: 228.2 kB / 369.7 MB, free: 78.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.7447, allocations: 1.053 MB / 370.8 MB, free: 77.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.7449, allocations: 94.16 kB / 370.9 MB, free: 77.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004759/0.7454, allocations: 126.4 kB / 371 MB, free: 77.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.7495, allocations: 1.678 MB / 372.7 MB, free: 77.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.7496, allocations: 0 / 372.7 MB, free: 77.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.7498, allocations: 55.91 kB / 372.7 MB, free: 77.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.7499, allocations: 40.81 kB / 372.8 MB, free: 77.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.7533, allocations: 1.363 MB / 374.1 MB, free: 77.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.7659, allocations: 5.232 MB / 379.4 MB, free: 76.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.7675, allocations: 1.05 MB / 380.4 MB, free: 75.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000704/0.7682, allocations: 361.2 kB / 380.8 MB, free: 75.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.7683, allocations: 9.281 kB / 380.8 MB, free: 75.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.7683, allocations: 44.83 kB / 380.8 MB, free: 75.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.076e-06/0.7683, allocations: 0 / 380.8 MB, free: 75.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002013/0.7704, allocations: 0.7611 MB / 381.6 MB, free: 75.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.7704, allocations: 81.05 kB / 381.7 MB, free: 75.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.7723, allocations: 0.931 MB / 382.6 MB, free: 75.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.7724, allocations: 36.36 kB / 382.6 MB, free: 75.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/0.7729, allocations: 0.6578 MB / 383.3 MB, free: 74.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.7731, allocations: 174.8 kB / 383.5 MB, free: 74.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.7731, allocations: 15.47 kB / 383.5 MB, free: 74.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.7732, allocations: 331.4 kB / 383.8 MB, free: 74.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.7739, allocations: 302.2 kB / 384.1 MB, free: 74.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.7746, allocations: 472.8 kB / 384.6 MB, free: 74.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.7754, allocations: 371.5 kB / 384.9 MB, free: 74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7754, allocations: 3.219 kB / 384.9 MB, free: 74 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001927/0.7774, allocations: 0.8842 MB / 385.8 MB, free: 73.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.7774, allocations: 5.156 kB / 385.8 MB, free: 73.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7774, allocations: 9.75 kB / 385.8 MB, free: 73.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/0.7775, allocations: 13.17 kB / 385.8 MB, free: 73.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.7788, allocations: 177.9 kB / 386 MB, free: 73.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.7789, allocations: 12.92 kB / 386 MB, free: 73.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/0.7799, allocations: 80.92 kB / 386.1 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.7799, allocations: 22.25 kB / 386.1 MB, free: 73.66 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.000186/0.7801, allocations: 146.4 kB / 386.3 MB, free: 73.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.7804, allocations: 93 kB / 386.4 MB, free: 73.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.7807, allocations: 104.9 kB / 386.5 MB, free: 73.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.7807, allocations: 4.906 kB / 386.5 MB, free: 73.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.7807, allocations: 13.62 kB / 386.5 MB, free: 73.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.7807, allocations: 3.094 kB / 386.5 MB, free: 73.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/0.7855, allocations: 2.179 MB / 388.7 MB, free: 72.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7855, allocations: 3.438 kB / 388.7 MB, free: 72.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.7863, allocations: 85.61 kB / 388.8 MB, free: 72.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006613/0.787, allocations: 144.1 kB / 388.9 MB, free: 72.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/0.7871, allocations: 21.33 kB / 388.9 MB, free: 72.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.791, allocations: 2.623 MB / 391.5 MB, free: 70.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.791, allocations: 0 / 391.5 MB, free: 70.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.7937, allocations: 1.356 MB / 392.9 MB, free: 69.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/0.7944, allocations: 252.2 kB / 393.1 MB, free: 69.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.7946, allocations: 19.36 kB / 393.2 MB, free: 69.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/0.7956, allocations: 65.66 kB / 393.2 MB, free: 69.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.7958, allocations: 52.75 kB / 393.3 MB, free: 69.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.7959, allocations: 15.06 kB / 393.3 MB, free: 69.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001428/0.7973, allocations: 0.7319 MB / 394 MB, free: 69.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.7973, allocations: 3.812 kB / 394 MB, free: 69.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001397/0.7987, allocations: 338.8 kB / 394.4 MB, free: 69.21 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.003014/0.8018, allocations: 2.213 MB / 396.6 MB, free: 67.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.8033, allocations: 0.6581 MB / 397.2 MB, free: 67.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.8033, allocations: 0 / 397.2 MB, free: 67.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.8045, allocations: 0.5111 MB / 397.7 MB, free: 67.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.8059, allocations: 168 kB / 397.9 MB, free: 66.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.812, allocations: 2.637 MB / 400.5 MB, free: 64.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.8133, allocations: 1.497 MB / 402 MB, free: 63.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000936/0.8142, allocations: 208.2 kB / 402.2 MB, free: 63.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/0.815, allocations: 448.7 kB / 402.7 MB, free: 62.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.815, allocations: 4 kB / 402.7 MB, free: 62.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.8722, allocations: 20.81 MB / 423.5 MB, free: 45.02 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.8724, allocations: 201.1 kB / 423.7 MB, free: 44.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/3.912, allocations: 4 kB / 423.7 MB, free: 44.79 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