Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.243/2.243, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.585e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.345, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5025, allocations: 76.12 MB / 370.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.5029, allocations: 83.89 kB / 370.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04724/0.5501, allocations: 9.553 MB / 380 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5502, allocations: 0 / 380 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.5502, allocations: 4 kB / 380 MB, free: 11.96 MB / 330.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.001902/0.5521, allocations: 0.6425 MB / 380.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5522, allocations: 8.031 kB / 380.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.5531, allocations: 87.44 kB / 380.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.5538, allocations: 300.1 kB / 381.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.5538, allocations: 12 kB / 381.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.5539, allocations: 20 kB / 381.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000718/0.5546, allocations: 209.5 kB / 381.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.5555, allocations: 284.9 kB / 381.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.5555, allocations: 0 / 381.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.5556, allocations: 0 / 381.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.5556, allocations: 8 kB / 381.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.5592, allocations: 1.311 MB / 382.9 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.5597, allocations: 165.2 kB / 383.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.5599, allocations: 69.72 kB / 383.1 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.5612, allocations: 0.8671 MB / 384 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.5613, allocations: 42.52 kB / 384 MB, free: 7.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.976e-06/0.5613, allocations: 0 / 384 MB, free: 7.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004602/0.5618, allocations: 125.3 kB / 384.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5618, allocations: 77.11 kB / 384.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.5622, allocations: 230.3 kB / 384.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.5623, allocations: 25.7 kB / 384.5 MB, free: 7.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.5625, allocations: 243.7 kB / 384.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.5626, allocations: 47.3 kB / 384.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.5626, allocations: 0 / 384.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5628, allocations: 334.8 kB / 385.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.563, allocations: 52.42 kB / 385.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.5633, allocations: 165.2 kB / 385.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.5635, allocations: 68.53 kB / 385.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.5635, allocations: 4 kB / 385.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006972/0.5643, allocations: 245 kB / 385.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5643, allocations: 7.953 kB / 385.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.5643, allocations: 8.078 kB / 385.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.5644, allocations: 4 kB / 385.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.565, allocations: 80.41 kB / 385.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.565, allocations: 15.97 kB / 385.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.5654, allocations: 31.69 kB / 385.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.5655, allocations: 12 kB / 385.8 MB, free: 5.77 MB / 330.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.0001273/0.5656, allocations: 116.6 kB / 385.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003884/0.566, allocations: 129.4 kB / 386 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5662, allocations: 27.67 kB / 386 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.5663, allocations: 21.86 kB / 386.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.5663, allocations: 8 kB / 386.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5663, allocations: 96 / 386.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5663, allocations: 3.938 kB / 386.1 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/0.5673, allocations: 455.6 kB / 386.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5673, allocations: 0 / 386.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.5678, allocations: 39.92 kB / 386.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.5678, allocations: 0 / 386.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5678, allocations: 4.031 kB / 386.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.5678, allocations: 4 kB / 386.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5678, allocations: 0 / 386.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.5685, allocations: 375.1 kB / 386.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5686, allocations: 100.9 kB / 387 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.5687, allocations: 4 kB / 387 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.5691, allocations: 15.98 kB / 387.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.5692, allocations: 7.984 kB / 387.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.5692, allocations: 7.938 kB / 387.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002872/0.5695, allocations: 181.9 kB / 387.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5695, allocations: 0 / 387.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007473/0.5703, allocations: 83.69 kB / 387.3 MB, free: 4.105 MB / 330.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.001036/0.5713, allocations: 1.053 MB / 388.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.5718, allocations: 132.9 kB / 388.5 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5718, allocations: 8 kB / 388.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.572, allocations: 36 kB / 388.6 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.5725, allocations: 32.77 kB / 388.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.5743, allocations: 0.4938 MB / 389.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.5748, allocations: 0.7833 MB / 389.9 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.5751, allocations: 30.05 kB / 389.9 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.5754, allocations: 99.41 kB / 390 MB, free: 1.34 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5754, allocations: 0 / 390 MB, free: 1.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08539/0.6608, allocations: 4.093 MB / 394.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003112/0.6612, allocations: 172.4 kB / 394.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.854/3.516, allocations: 0 / 394.3 MB, free: 13.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat