Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.399e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.4594, allocations: 70.09 MB / 328.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.4597, allocations: 75.95 kB / 328.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03719/0.4969, allocations: 8.811 MB / 337.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.497, allocations: 0 / 337.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.497, allocations: 8 kB / 337.3 MB, free: 14.71 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001685/0.4987, allocations: 0.6236 MB / 338 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.4988, allocations: 12.47 kB / 338 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.4992, allocations: 51.52 kB / 338 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.4998, allocations: 292.3 kB / 338.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.4999, allocations: 15.95 kB / 338.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.5, allocations: 19.94 kB / 338.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005448/0.5005, allocations: 169.5 kB / 338.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.5012, allocations: 256.7 kB / 338.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.5012, allocations: 0 / 338.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.5013, allocations: 0 / 338.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5013, allocations: 12 kB / 338.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.5042, allocations: 1.251 MB / 340 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.5045, allocations: 121.2 kB / 340.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.5047, allocations: 57.7 kB / 340.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.5047, allocations: 3.984 kB / 340.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5048, allocations: 42.52 kB / 340.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.5048, allocations: 0 / 340.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004073/0.5052, allocations: 125.4 kB / 340.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.5053, allocations: 85.11 kB / 340.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.5057, allocations: 226.2 kB / 340.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.5057, allocations: 25.7 kB / 340.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.5059, allocations: 227.3 kB / 340.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.506, allocations: 47.34 kB / 341 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.506, allocations: 0 / 341 MB, free: 10.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5062, allocations: 330.8 kB / 341.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5063, allocations: 43.98 kB / 341.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.5065, allocations: 145.7 kB / 341.5 MB, free: 10.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.5067, allocations: 64.05 kB / 341.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5067, allocations: 4 kB / 341.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000546/0.5073, allocations: 217 kB / 341.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5073, allocations: 8 kB / 341.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5074, allocations: 4 kB / 341.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.5074, allocations: 8.391 kB / 341.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.5079, allocations: 67.91 kB / 341.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.5079, allocations: 7.938 kB / 341.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.5082, allocations: 27.83 kB / 341.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.5083, allocations: 20 kB / 341.9 MB, free: 9.816 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001195/0.5084, allocations: 112.9 kB / 342 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003416/0.5088, allocations: 129.3 kB / 342.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.5089, allocations: 27.67 kB / 342.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.789e-05/0.509, allocations: 25.83 kB / 342.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.509, allocations: 7.938 kB / 342.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.509, allocations: 0 / 342.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.509, allocations: 0 / 342.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008803/0.5099, allocations: 435.7 kB / 342.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.5099, allocations: 3.953 kB / 342.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.5103, allocations: 44.02 kB / 342.7 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.5103, allocations: 4.094 kB / 342.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.5104, allocations: 3.938 kB / 342.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5104, allocations: 0 / 342.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5104, allocations: 0 / 342.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.511, allocations: 379.2 kB / 343 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.5112, allocations: 108.8 kB / 343.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.5112, allocations: 0 / 343.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.5116, allocations: 15.98 kB / 343.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.5117, allocations: 15.97 kB / 343.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.5117, allocations: 8.062 kB / 343.2 MB, free: 8.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002592/0.512, allocations: 174 kB / 343.3 MB, free: 8.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.512, allocations: 0 / 343.3 MB, free: 8.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006089/0.5126, allocations: 75.67 kB / 343.4 MB, free: 8.176 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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.00104/0.5136, allocations: 1.06 MB / 344.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.514, allocations: 119.9 kB / 344.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5141, allocations: 0 / 344.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.5142, allocations: 51.94 kB / 344.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.5146, allocations: 20.52 kB / 344.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5163, allocations: 498.4 kB / 345.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5168, allocations: 0.7789 MB / 345.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.517, allocations: 30.06 kB / 346 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.5172, allocations: 99.39 kB / 346.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5172, allocations: 0 / 346.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04701/0.5643, allocations: 3.882 MB / 349.9 MB, free: 1.555 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.5646, allocations: 168 kB / 350.1 MB, free: 1.363 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.984, allocations: 3.938 kB / 350.1 MB, free: 1.359 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat