Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.863e-05, allocations: 4 kB / 255.5 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09273, allocations: 44.5 MB / 300 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5052, allocations: 76.77 MB / 376.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5056, allocations: 77.86 kB / 376.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03813/0.5437, allocations: 9.67 MB / 386.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5438, allocations: 0 / 386.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.5438, allocations: 10.41 kB / 386.5 MB, free: 11.62 MB / 314.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.001573/0.5454, allocations: 0.6449 MB / 387.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5455, allocations: 7.781 kB / 387.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5456, allocations: 75 kB / 387.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/0.5463, allocations: 85.36 kB / 387.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.5469, allocations: 293.2 kB / 387.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.5469, allocations: 28.5 kB / 387.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.547, allocations: 32.97 kB / 387.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.5478, allocations: 337 kB / 388 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5478, allocations: 0 / 388 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.5479, allocations: 13.69 kB / 388 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5479, allocations: 7.75 kB / 388 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.5484, allocations: 224.2 kB / 388.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.5512, allocations: 1.387 MB / 389.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.5517, allocations: 167.9 kB / 389.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5518, allocations: 85.67 kB / 389.8 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/0.5528, allocations: 0.8769 MB / 390.7 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.5528, allocations: 37.84 kB / 390.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.5528, allocations: 4 kB / 390.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003911/0.5532, allocations: 124.2 kB / 390.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.5533, allocations: 84 kB / 391 MB, free: 8.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.5536, allocations: 246.4 kB / 391.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.5537, allocations: 29.45 kB / 391.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5538, allocations: 247.3 kB / 391.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.5539, allocations: 51.17 kB / 391.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.5539, allocations: 5.812 kB / 391.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.554, allocations: 336.2 kB / 391.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5541, allocations: 48.81 kB / 391.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.5543, allocations: 184.1 kB / 392.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.5545, allocations: 73.81 kB / 392.2 MB, free: 8.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5545, allocations: 7.438 kB / 392.2 MB, free: 8.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005864/0.5551, allocations: 278 kB / 392.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5552, allocations: 3.875 kB / 392.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5552, allocations: 4.438 kB / 392.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.5552, allocations: 11.75 kB / 392.5 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.5557, allocations: 74.58 kB / 392.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.5558, allocations: 14.42 kB / 392.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.5561, allocations: 34.38 kB / 392.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.5561, allocations: 14.59 kB / 392.6 MB, free: 8.062 MB / 314.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 9.139e-05/0.5562, allocations: 114.9 kB / 392.7 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.5563, allocations: 33.58 kB / 392.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.5564, allocations: 29.05 kB / 392.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5564, allocations: 3.656 kB / 392.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5564, allocations: 0 / 392.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5565, allocations: 0 / 392.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.5573, allocations: 0.4942 MB / 393.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5573, allocations: 0 / 393.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.5577, allocations: 49.14 kB / 393.3 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5577, allocations: 0 / 393.3 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5577, allocations: 7.75 kB / 393.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5577, allocations: 0 / 393.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5578, allocations: 2.188 kB / 393.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.5582, allocations: 386.8 kB / 393.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.5583, allocations: 103.7 kB / 393.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.5584, allocations: 3.938 kB / 393.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.5587, allocations: 18.08 kB / 393.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.5588, allocations: 14.8 kB / 393.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5588, allocations: 7.828 kB / 393.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002392/0.5591, allocations: 196.6 kB / 394 MB, free: 7.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5591, allocations: 0 / 394 MB, free: 7.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005743/0.5597, allocations: 84.5 kB / 394.1 MB, free: 7.109 MB / 314.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.0007373/0.5604, allocations: 1.081 MB / 395.2 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.5608, allocations: 148.7 kB / 395.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5608, allocations: 4 kB / 395.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.561, allocations: 42.62 kB / 395.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.5614, allocations: 32.38 kB / 395.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.5629, allocations: 0.5096 MB / 395.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.5634, allocations: 0.7812 MB / 396.7 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.5637, allocations: 32.52 kB / 396.7 MB, free: 21.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.5639, allocations: 105.5 kB / 396.8 MB, free: 21.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5639, allocations: 0 / 396.8 MB, free: 21.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.5899, allocations: 4.912 MB / 401.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.5903, allocations: 191.2 kB / 401.9 MB, free: 20.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.102, allocations: 3.938 kB / 401.9 MB, free: 20.37 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat