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.927/1.927, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.44e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 44.49 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4332, allocations: 76.11 MB / 370.3 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.4335, allocations: 79.89 kB / 370.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03884/0.4724, allocations: 9.545 MB / 380 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4725, allocations: 0 / 380 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.4725, allocations: 12 kB / 380 MB, free: 12.07 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.001676/0.4742, allocations: 0.6349 MB / 380.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4742, allocations: 12.03 kB / 380.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007003/0.475, allocations: 95.42 kB / 380.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.4755, allocations: 291.9 kB / 381 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.4756, allocations: 12 kB / 381 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.4757, allocations: 24.86 kB / 381 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006202/0.4763, allocations: 201.5 kB / 381.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.477, allocations: 288.8 kB / 381.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.4771, allocations: 0 / 381.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.4771, allocations: 4 kB / 381.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.4771, allocations: 8 kB / 381.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.4802, allocations: 1.311 MB / 382.8 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.4806, allocations: 169.2 kB / 383 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.4808, allocations: 69.7 kB / 383.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.4819, allocations: 0.8632 MB / 383.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.482, allocations: 38.45 kB / 384 MB, free: 7.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/0.482, allocations: 0 / 384 MB, free: 7.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003958/0.4824, allocations: 121.4 kB / 384.1 MB, free: 7.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4824, allocations: 77.11 kB / 384.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.4828, allocations: 238.2 kB / 384.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.4829, allocations: 29.7 kB / 384.4 MB, free: 7.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.4831, allocations: 231.7 kB / 384.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.4831, allocations: 55.28 kB / 384.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.4832, allocations: 0 / 384.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4833, allocations: 334.8 kB / 385 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4834, allocations: 47.94 kB / 385.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.4837, allocations: 165.2 kB / 385.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.4839, allocations: 80.56 kB / 385.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4839, allocations: 0 / 385.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000597/0.4845, allocations: 241.5 kB / 385.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4846, allocations: 16.05 kB / 385.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4846, allocations: 8 kB / 385.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4846, allocations: 8 kB / 385.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.4851, allocations: 71.89 kB / 385.7 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.4852, allocations: 11.94 kB / 385.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.4855, allocations: 27.69 kB / 385.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.4855, allocations: 16 kB / 385.7 MB, free: 5.887 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.0001025/0.4856, allocations: 116.7 kB / 385.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003165/0.486, allocations: 125.3 kB / 385.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.4861, allocations: 27.67 kB / 386 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.4861, allocations: 25.86 kB / 386 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4862, allocations: 96 / 386 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4862, allocations: 3.938 kB / 386 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4862, allocations: 11.97 kB / 386 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.487, allocations: 451.6 kB / 386.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4871, allocations: 0 / 386.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.4874, allocations: 35.98 kB / 386.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4874, allocations: 3.938 kB / 386.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4875, allocations: 7.984 kB / 386.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4875, allocations: 0 / 386.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4875, allocations: 0 / 386.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.488, allocations: 379.2 kB / 386.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.4881, allocations: 96.81 kB / 387 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.4882, allocations: 4 kB / 387 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.4886, allocations: 16.05 kB / 387 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.4886, allocations: 12 kB / 387 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.4887, allocations: 4.109 kB / 387 MB, free: 4.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002549/0.4889, allocations: 182 kB / 387.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4889, allocations: 0 / 387.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007885/0.4897, allocations: 75.69 kB / 387.3 MB, free: 4.23 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.001192/0.491, allocations: 1.068 MB / 388.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.4914, allocations: 131.8 kB / 388.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4914, allocations: 0 / 388.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.4915, allocations: 39.94 kB / 388.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.492, allocations: 37.22 kB / 388.5 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.4938, allocations: 0.4975 MB / 389 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.4943, allocations: 0.7755 MB / 389.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.4945, allocations: 38.05 kB / 389.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.4948, allocations: 99.34 kB / 389.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4948, allocations: 0 / 389.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.5369, allocations: 4.082 MB / 394 MB, free: 13.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/0.5373, allocations: 164.4 kB / 394.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.925, allocations: 4 kB / 394.2 MB, free: 13.19 MB / 346.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