Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.88e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.297, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4409, allocations: 79.7 MB / 373.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4412, allocations: 79.89 kB / 374 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1229/0.5642, allocations: 30.33 MB / 404.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5642, allocations: 0 / 404.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.5644, allocations: 36 kB / 404.4 MB, free: 3.395 MB / 346.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.006267/0.5706, allocations: 1.678 MB / 406 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.5707, allocations: 15.97 kB / 406 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.5732, allocations: 325.7 kB / 406.4 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.5766, allocations: 1.082 MB / 407.4 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.5767, allocations: 40 kB / 407.5 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.577, allocations: 80 kB / 407.6 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004006/0.581, allocations: 1.434 MB / 409 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.5853, allocations: 1.591 MB / 410.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.5854, allocations: 4 kB / 410.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.5856, allocations: 0 / 410.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.5857, allocations: 61.88 kB / 410.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.6002, allocations: 5.325 MB / 416 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.605, allocations: 2.822 MB / 418.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.6061, allocations: 447.7 kB / 419.2 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003786/0.6099, allocations: 1.502 MB / 420.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.61, allocations: 42.75 kB / 420.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.096e-06/0.61, allocations: 0 / 420.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002484/0.6125, allocations: 0.8119 MB / 421.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.6126, allocations: 85.11 kB / 421.7 MB, free: 1.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.6144, allocations: 0.8478 MB / 422.5 MB, free: 300 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.6145, allocations: 25.7 kB / 422.6 MB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2467/0.8612, allocations: 0.6789 MB / 423.2 MB, free: 96.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.8616, allocations: 178.1 kB / 423.4 MB, free: 96.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.8617, allocations: 0 / 423.4 MB, free: 96.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.8618, allocations: 335.9 kB / 423.7 MB, free: 95.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/0.8627, allocations: 312.5 kB / 424 MB, free: 95.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009891/0.8637, allocations: 471.6 kB / 424.5 MB, free: 95.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.8651, allocations: 442.5 kB / 424.9 MB, free: 95.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.8652, allocations: 1.344 kB / 424.9 MB, free: 95.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002619/0.8678, allocations: 0.9288 MB / 425.9 MB, free: 95.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.8679, allocations: 7.438 kB / 425.9 MB, free: 95.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.8679, allocations: 4.969 kB / 425.9 MB, free: 95.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-05/0.868, allocations: 12.94 kB / 425.9 MB, free: 95.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.8695, allocations: 186.9 kB / 426.1 MB, free: 95.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.8696, allocations: 15.66 kB / 426.1 MB, free: 95.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.8707, allocations: 68.19 kB / 426.1 MB, free: 95.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8708, allocations: 28.39 kB / 426.2 MB, free: 95.42 MB / 362.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.0002234/0.871, allocations: 125.4 kB / 426.3 MB, free: 95.31 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002525/0.8736, allocations: 0.8092 MB / 427.1 MB, free: 95.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.8739, allocations: 92.77 kB / 427.2 MB, free: 95.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.8759, allocations: 0.6718 MB / 427.9 MB, free: 95.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8759, allocations: 5.656 kB / 427.9 MB, free: 95.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8759, allocations: 3.344 kB / 427.9 MB, free: 95.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.876, allocations: 6.938 kB / 427.9 MB, free: 95.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.8791, allocations: 1.425 MB / 429.3 MB, free: 94.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.8791, allocations: 1.094 kB / 429.3 MB, free: 94.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.88, allocations: 97.11 kB / 429.4 MB, free: 94.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/0.8807, allocations: 143.1 kB / 429.5 MB, free: 94.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.8808, allocations: 17.02 kB / 429.6 MB, free: 94.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.8846, allocations: 2.514 MB / 432.1 MB, free: 93.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.8847, allocations: 0.8438 kB / 432.1 MB, free: 93.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.8878, allocations: 1.436 MB / 433.5 MB, free: 93.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.8883, allocations: 183.5 kB / 433.7 MB, free: 92.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.8885, allocations: 11.19 kB / 433.7 MB, free: 92.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009782/0.8895, allocations: 56.69 kB / 433.8 MB, free: 92.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.8897, allocations: 51.61 kB / 433.8 MB, free: 92.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.8898, allocations: 19.16 kB / 433.8 MB, free: 92.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.891, allocations: 0.6596 MB / 434.5 MB, free: 92.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.974e-06/0.891, allocations: 0 / 434.5 MB, free: 92.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001514/0.8926, allocations: 347.4 kB / 434.8 MB, free: 92.82 MB / 362.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.003277/0.8959, allocations: 2.291 MB / 437.1 MB, free: 91.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.8973, allocations: 0.6717 MB / 437.8 MB, free: 91.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8973, allocations: 3.125 kB / 437.8 MB, free: 91.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.8985, allocations: 0.5195 MB / 438.3 MB, free: 91.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.8999, allocations: 146.1 kB / 438.5 MB, free: 91.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.9061, allocations: 2.654 MB / 441.1 MB, free: 90.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.9073, allocations: 1.522 MB / 442.6 MB, free: 90.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.9084, allocations: 226.1 kB / 442.9 MB, free: 90.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007933/0.9092, allocations: 479.5 kB / 443.3 MB, free: 90.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.164e-06/0.9093, allocations: 4 kB / 443.3 MB, free: 90.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07171/0.981, allocations: 18.91 MB / 462.2 MB, free: 83.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.9813, allocations: 167 kB / 462.4 MB, free: 83.56 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.943, allocations: 0 / 462.4 MB, free: 83.56 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat