Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.986e-05, allocations: 0 / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09832, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.5178, allocations: 84.63 MB / 401.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.5182, allocations: 80.77 kB / 401.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1346/0.6528, allocations: 30.95 MB / 432.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6529, allocations: 0 / 432.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.653, allocations: 39.94 kB / 432.7 MB, free: 9.277 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.007176/0.6602, allocations: 1.673 MB / 434.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.6603, allocations: 12.02 kB / 434.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008122/0.6611, allocations: 203.5 kB / 434.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.6637, allocations: 320.6 kB / 434.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.6675, allocations: 1.087 MB / 436 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6677, allocations: 102.5 kB / 436.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006364/0.6683, allocations: 129.8 kB / 436.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.674, allocations: 1.77 MB / 438 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.6742, allocations: 3.938 kB / 438 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.6744, allocations: 54.94 kB / 438.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.655e-05/0.6745, allocations: 49.98 kB / 438.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.6793, allocations: 1.496 MB / 439.6 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.6967, allocations: 5.595 MB / 445.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/0.7021, allocations: 2.843 MB / 448 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.7034, allocations: 467.7 kB / 448.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004261/0.7077, allocations: 1.525 MB / 450 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.7078, allocations: 50.77 kB / 450.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.527e-06/0.7079, allocations: 0 / 450.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002575/0.7104, allocations: 0.7943 MB / 450.9 MB, free: 8.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.7105, allocations: 85.11 kB / 451 MB, free: 8.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.7129, allocations: 0.9182 MB / 451.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.7132, allocations: 37.7 kB / 451.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007284/0.7139, allocations: 0.6696 MB / 452.6 MB, free: 6.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.7142, allocations: 189.3 kB / 452.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.7143, allocations: 16 kB / 452.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7145, allocations: 334 kB / 453.1 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008547/0.7154, allocations: 321.4 kB / 453.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.7164, allocations: 485.8 kB / 453.9 MB, free: 5.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7175, allocations: 401.3 kB / 454.3 MB, free: 4.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.7175, allocations: 0 / 454.3 MB, free: 4.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002638/0.7202, allocations: 0.9235 MB / 455.2 MB, free: 3.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.7203, allocations: 8 kB / 455.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.7203, allocations: 4 kB / 455.2 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/0.7203, allocations: 8.562 kB / 455.2 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.722, allocations: 187.7 kB / 455.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/0.7221, allocations: 8 kB / 455.4 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7233, allocations: 95.23 kB / 455.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.7235, allocations: 28 kB / 455.5 MB, free: 3.609 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.0002655/0.7237, allocations: 144.7 kB / 455.7 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.7241, allocations: 90.92 kB / 455.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.7262, allocations: 0.6502 MB / 456.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.7263, allocations: 8 kB / 456.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.7263, allocations: 8.234 kB / 456.4 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.7263, allocations: 0 / 456.4 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/0.7309, allocations: 1.617 MB / 458.1 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.731, allocations: 3.938 kB / 458.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.732, allocations: 99.88 kB / 458.2 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/0.7329, allocations: 156.7 kB / 458.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.733, allocations: 15.98 kB / 458.3 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.738, allocations: 2.599 MB / 460.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.738, allocations: 0 / 460.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.7415, allocations: 1.409 MB / 462.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.7421, allocations: 191.9 kB / 462.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.7424, allocations: 19.98 kB / 462.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7436, allocations: 67.94 kB / 462.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.744, allocations: 55.81 kB / 462.7 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/0.7441, allocations: 20.12 kB / 462.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.7458, allocations: 0.7177 MB / 463.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.7459, allocations: 0 / 463.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001825/0.7477, allocations: 362.4 kB / 463.8 MB, free: 11.11 MB / 378.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.004344/0.7521, allocations: 2.3 MB / 466.1 MB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.7541, allocations: 0.6898 MB / 466.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/0.7542, allocations: 3.984 kB / 466.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.756, allocations: 0.5357 MB / 467.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.7577, allocations: 175.2 kB / 467.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008673/0.7664, allocations: 2.695 MB / 470.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.7686, allocations: 1.534 MB / 471.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001368/0.77, allocations: 230.7 kB / 471.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.7713, allocations: 475.3 kB / 472.4 MB, free: 2.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.7714, allocations: 4 kB / 472.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06876/0.8402, allocations: 21.09 MB / 493.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.8405, allocations: 196.1 kB / 493.7 MB, free: 13.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/3.879, allocations: 4.062 kB / 493.7 MB, free: 13.06 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat