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.963/1.963, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.398e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09485, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5188, allocations: 76.77 MB / 376.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.5192, allocations: 78.02 kB / 376.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03993/0.5592, allocations: 9.677 MB / 386.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5592, allocations: 1.312 kB / 386.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.5593, allocations: 6.656 kB / 386.5 MB, free: 11.21 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.001705/0.561, allocations: 0.6448 MB / 387.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.561, allocations: 9.125 kB / 387.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.5612, allocations: 74.17 kB / 387.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.5619, allocations: 87.34 kB / 387.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.5626, allocations: 298.3 kB / 387.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.5626, allocations: 30.34 kB / 387.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.5627, allocations: 31.38 kB / 387.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.5636, allocations: 326.2 kB / 388 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5637, allocations: 0 / 388 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.5637, allocations: 16.5 kB / 388 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.5638, allocations: 15.69 kB / 388 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.5643, allocations: 220.1 kB / 388.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.5675, allocations: 1.379 MB / 389.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.568, allocations: 167 kB / 389.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5682, allocations: 70.81 kB / 389.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.5692, allocations: 0.8781 MB / 390.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5693, allocations: 41.28 kB / 390.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.926e-06/0.5693, allocations: 0 / 390.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004098/0.5697, allocations: 124.3 kB / 390.9 MB, free: 8.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5698, allocations: 87.56 kB / 391 MB, free: 8.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.5701, allocations: 246.2 kB / 391.2 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.5702, allocations: 25.7 kB / 391.2 MB, free: 8.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5703, allocations: 246.3 kB / 391.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.5704, allocations: 60.42 kB / 391.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.5704, allocations: 3.188 kB / 391.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.5705, allocations: 336.1 kB / 391.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5707, allocations: 45.62 kB / 391.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.5709, allocations: 181.3 kB / 392.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.5711, allocations: 80.61 kB / 392.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5711, allocations: 0 / 392.2 MB, free: 7.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005853/0.5717, allocations: 263.5 kB / 392.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5718, allocations: 7.781 kB / 392.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5718, allocations: 3.844 kB / 392.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.5718, allocations: 7.75 kB / 392.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.5723, allocations: 77.77 kB / 392.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.5724, allocations: 7.688 kB / 392.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.5727, allocations: 40.94 kB / 392.6 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.5728, allocations: 15.34 kB / 392.6 MB, free: 7.66 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 0.0001019/0.5729, allocations: 116.5 kB / 392.7 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.573, allocations: 27.17 kB / 392.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.5731, allocations: 27.92 kB / 392.8 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5731, allocations: 3.875 kB / 392.8 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5731, allocations: 6.703 kB / 392.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5731, allocations: 0 / 392.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.574, allocations: 0.4937 MB / 393.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.574, allocations: 0 / 393.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.5744, allocations: 41.11 kB / 393.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5744, allocations: 3.938 kB / 393.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.5745, allocations: 7.906 kB / 393.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.5745, allocations: 7.141 kB / 393.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5745, allocations: 0 / 393.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.575, allocations: 381.2 kB / 393.7 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5751, allocations: 100.7 kB / 393.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.5752, allocations: 10.2 kB / 393.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.5756, allocations: 23.09 kB / 393.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.5756, allocations: 11.12 kB / 393.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5757, allocations: 7.828 kB / 393.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002671/0.5759, allocations: 190.8 kB / 394 MB, free: 6.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.576, allocations: 0 / 394 MB, free: 6.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006552/0.5766, allocations: 84.88 kB / 394.1 MB, free: 6.711 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.0008175/0.5775, allocations: 1.084 MB / 395.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.5779, allocations: 138.3 kB / 395.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5779, allocations: 0 / 395.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.578, allocations: 50.31 kB / 395.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.5785, allocations: 30.03 kB / 395.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.5802, allocations: 0.5058 MB / 395.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.5809, allocations: 0.7856 MB / 396.7 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.5811, allocations: 27.44 kB / 396.7 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.5813, allocations: 102.4 kB / 396.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5813, allocations: 0 / 396.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.6102, allocations: 4.901 MB / 401.7 MB, free: 20.21 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.6105, allocations: 182 kB / 401.9 MB, free: 19.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.942, allocations: 0 / 401.9 MB, free: 19.98 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