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.706/1.706, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.033e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 38.76 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.3863, allocations: 70.76 MB / 334.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.3867, allocations: 83.94 kB / 334.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03652/0.4232, allocations: 8.917 MB / 343.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4233, allocations: 0 / 343.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.4233, allocations: 4 kB / 343.6 MB, free: 9.758 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.001616/0.4249, allocations: 0.6237 MB / 344.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.425, allocations: 8.25 kB / 344.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.4251, allocations: 70.53 kB / 344.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.4254, allocations: 55.45 kB / 344.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.426, allocations: 296.2 kB / 344.7 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.4261, allocations: 20.78 kB / 344.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.4261, allocations: 32 kB / 344.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.4269, allocations: 296.8 kB / 345 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4269, allocations: 0 / 345 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.427, allocations: 16 kB / 345 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.427, allocations: 8 kB / 345 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.4276, allocations: 175.9 kB / 345.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/0.4305, allocations: 1.324 MB / 346.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.4309, allocations: 125.2 kB / 346.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.431, allocations: 61.72 kB / 346.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.4311, allocations: 0 / 346.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4311, allocations: 42.55 kB / 346.8 MB, free: 6.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.4311, allocations: 0 / 346.8 MB, free: 6.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004295/0.4316, allocations: 129.5 kB / 346.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.4316, allocations: 81.09 kB / 347 MB, free: 6.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.432, allocations: 247.3 kB / 347.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.4321, allocations: 33.7 kB / 347.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.4323, allocations: 223.3 kB / 347.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.4324, allocations: 51.34 kB / 347.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.4324, allocations: 4 kB / 347.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4325, allocations: 330.8 kB / 347.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4327, allocations: 52 kB / 347.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.4329, allocations: 153.7 kB / 348 MB, free: 4.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.4331, allocations: 76.02 kB / 348.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4332, allocations: 0 / 348.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00058/0.4338, allocations: 237 kB / 348.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4338, allocations: 8 kB / 348.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4338, allocations: 4 kB / 348.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4338, allocations: 4 kB / 348.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.4343, allocations: 72.33 kB / 348.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.4344, allocations: 11.94 kB / 348.4 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.4347, allocations: 31.69 kB / 348.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.4347, allocations: 16 kB / 348.5 MB, free: 4.539 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.0001406/0.4349, allocations: 124.8 kB / 348.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.435, allocations: 35.59 kB / 348.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.4351, allocations: 25.86 kB / 348.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4351, allocations: 8 kB / 348.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4351, allocations: 0 / 348.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4351, allocations: 0 / 348.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.4361, allocations: 495.2 kB / 349.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4361, allocations: 0 / 349.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.4365, allocations: 35.98 kB / 349.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.4365, allocations: 4.031 kB / 349.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.4365, allocations: 8 kB / 349.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.4366, allocations: 7.922 kB / 349.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4366, allocations: 0 / 349.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.4371, allocations: 394.8 kB / 349.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4373, allocations: 112.7 kB / 349.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.4374, allocations: 4 kB / 349.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.4377, allocations: 12 kB / 349.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.4378, allocations: 7.984 kB / 349.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.4378, allocations: 12.11 kB / 349.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.4381, allocations: 187.1 kB / 349.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4382, allocations: 4.062 kB / 349.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006104/0.4388, allocations: 71.84 kB / 350 MB, free: 2.91 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.001015/0.4398, allocations: 1.079 MB / 351.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.4402, allocations: 136.7 kB / 351.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4403, allocations: 8.062 kB / 351.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4404, allocations: 43.94 kB / 351.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.4408, allocations: 28.83 kB / 351.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.4425, allocations: 0.4947 MB / 351.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.4429, allocations: 0.7794 MB / 352.6 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.4432, allocations: 30.05 kB / 352.6 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4434, allocations: 95.41 kB / 352.7 MB, free: 112 kB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.4434, allocations: 0 / 352.7 MB, free: 112 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.4757, allocations: 4.689 MB / 357.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.476, allocations: 181.7 kB / 357.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/2.91, allocations: 3.906 kB / 357.6 MB, free: 11.24 MB / 314.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