Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.147e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5282, allocations: 82.63 MB / 425.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.5285, allocations: 82.69 kB / 425.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04078/0.5693, allocations: 10.08 MB / 435.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5694, allocations: 0 / 435.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.5694, allocations: 8 kB / 435.4 MB, free: 2.871 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001694/0.5711, allocations: 0.636 MB / 436.1 MB, free: 2.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5712, allocations: 8.031 kB / 436.1 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.5713, allocations: 71.41 kB / 436.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.5721, allocations: 81.36 kB / 436.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.5727, allocations: 304.6 kB / 436.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.5727, allocations: 31.28 kB / 436.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.5728, allocations: 34.44 kB / 436.6 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.5736, allocations: 326.9 kB / 436.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5737, allocations: 0 / 436.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.5737, allocations: 16.56 kB / 436.9 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.5738, allocations: 12 kB / 437 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.5744, allocations: 220 kB / 437.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.5776, allocations: 1.38 MB / 438.5 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.5782, allocations: 160.6 kB / 438.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.5784, allocations: 76.47 kB / 438.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.5795, allocations: 0.868 MB / 439.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.5796, allocations: 41.75 kB / 439.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.5796, allocations: 0 / 439.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004163/0.58, allocations: 132.3 kB / 439.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.5801, allocations: 77.11 kB / 439.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.5805, allocations: 253.8 kB / 440.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.5806, allocations: 33.64 kB / 440.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.5807, allocations: 242.6 kB / 440.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.5808, allocations: 46.48 kB / 440.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.5808, allocations: 6.875 kB / 440.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.581, allocations: 341.6 kB / 440.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.5811, allocations: 49.06 kB / 440.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.5814, allocations: 173.7 kB / 441 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.5816, allocations: 89.83 kB / 441.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.5816, allocations: 4 kB / 441.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006165/0.5823, allocations: 250.7 kB / 441.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5823, allocations: 12.16 kB / 441.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5823, allocations: 7.938 kB / 441.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.5824, allocations: 8 kB / 441.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.5829, allocations: 75.41 kB / 441.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.5829, allocations: 11.92 kB / 441.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.5833, allocations: 35.44 kB / 441.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.5833, allocations: 19.89 kB / 441.5 MB, free: 13.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5835, allocations: 123.5 kB / 441.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.5836, allocations: 23.72 kB / 441.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.5837, allocations: 28.55 kB / 441.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5837, allocations: 0 / 441.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5837, allocations: 0 / 441.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.5837, allocations: 7.984 kB / 441.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.5847, allocations: 0.4918 MB / 442.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5847, allocations: 4.031 kB / 442.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.5851, allocations: 35.98 kB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.5851, allocations: 4 kB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.5851, allocations: 128 / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5851, allocations: 4 kB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.5852, allocations: 7.938 kB / 442.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.5857, allocations: 386.1 kB / 442.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.5858, allocations: 96.39 kB / 442.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.5859, allocations: 11.94 kB / 442.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.5862, allocations: 19.36 kB / 442.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.5863, allocations: 12.05 kB / 442.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.5864, allocations: 11.5 kB / 442.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.5866, allocations: 193.2 kB / 443 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5867, allocations: 0 / 443 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006267/0.5873, allocations: 82.94 kB / 443 MB, free: 11.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001079/0.5884, allocations: 1.089 MB / 444.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.5888, allocations: 133.7 kB / 444.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5889, allocations: 0 / 444.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.589, allocations: 55.11 kB / 444.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.5894, allocations: 20.12 kB / 444.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.5912, allocations: 0.5142 MB / 444.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5916, allocations: 0.7833 MB / 445.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.5918, allocations: 30.06 kB / 445.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.592, allocations: 101.1 kB / 445.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.592, allocations: 0 / 445.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.6243, allocations: 5.002 MB / 450.8 MB, free: 4.305 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.6247, allocations: 183.8 kB / 450.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.228, allocations: 7.875 kB / 450.9 MB, free: 4.07 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat