Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.276/2.276, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.111e-05/5.144e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3437, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.5298, allocations: 93.85 MB / 388.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.5302, allocations: 91.92 kB / 388.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554/2.084, allocations: 305.4 MB / 0.6774 GB, free: 50.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.084, allocations: 0 / 0.6774 GB, free: 50.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005792/2.085, allocations: 195.8 kB / 0.6776 GB, free: 50.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04284/2.128, allocations: 8.734 MB / 0.6861 GB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/2.128, allocations: 8.031 kB / 0.6861 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03423/2.162, allocations: 4.184 MB / 0.6902 GB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01845/2.18, allocations: 5.8 MB / 0.6958 GB, free: 31.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008666/2.181, allocations: 296 kB / 0.6961 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004043/2.185, allocations: 499.9 kB / 0.6966 GB, free: 30.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06257/2.248, allocations: 11.96 MB / 0.7083 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/2.298, allocations: 13.72 MB / 0.7217 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005447/2.299, allocations: 15.89 kB / 0.7217 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003832/2.303, allocations: 8 kB / 0.7217 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/2.304, allocations: 0.6075 MB / 0.7223 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4108/2.715, allocations: 43.9 MB / 0.7652 GB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02429/2.739, allocations: 12.08 MB / 0.777 GB, free: 51.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01516/2.754, allocations: 7.102 MB / 0.7839 GB, free: 50.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/2.756, allocations: 273.3 kB / 0.7842 GB, free: 49.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/2.756, allocations: 104.4 kB / 0.7843 GB, free: 49.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=817): time 1.298e-05/2.756, allocations: 0 / 0.7843 GB, free: 49.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=817): time 0.03997/2.796, allocations: 14.06 MB / 0.798 GB, free: 44.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/2.796, allocations: 144 kB / 0.7981 GB, free: 44.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/2.8, allocations: 1.612 MB / 0.7997 GB, free: 43.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001783/2.802, allocations: 25.7 kB / 0.7997 GB, free: 43.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002022/2.804, allocations: 2.769 MB / 0.8024 GB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004168/2.808, allocations: 2.573 MB / 0.8049 GB, free: 39.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001842/2.81, allocations: 1.656 kB / 0.8049 GB, free: 39.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000898/2.811, allocations: 0.603 MB / 0.8055 GB, free: 39.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01187/2.823, allocations: 5.001 MB / 0.8104 GB, free: 37.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/2.836, allocations: 5.816 MB / 0.8161 GB, free: 34.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/2.857, allocations: 7.036 MB / 0.823 GB, free: 32.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.018e-05/2.857, allocations: 3.625 kB / 0.823 GB, free: 32.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.04273/2.899, allocations: 14.92 MB / 0.8375 GB, free: 20.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/2.9, allocations: 12 kB / 0.8375 GB, free: 20.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.097e-05/2.9, allocations: 19.12 kB / 0.8376 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/2.913, allocations: 4.3 MB / 0.8418 GB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009237/2.923, allocations: 1.09 MB / 0.8428 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/2.942, allocations: 10.87 MB / 0.8534 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007277/2.949, allocations: 0.6228 MB / 0.854 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002233/2.951, allocations: 259.6 kB / 0.8543 GB, free: 5.297 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: loss_e.conductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] loss_e.conductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] loss_e.conductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] loss_e.conductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_e.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] loss_e.conductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_e.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_e.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_e.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor_m.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor_m.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerb_m.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerb_m.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.003114/2.954, allocations: 304.4 kB / 0.8546 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05554/3.01, allocations: 14.06 MB / 0.8683 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003472/3.013, allocations: 387 kB / 0.8687 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4207/3.434, allocations: 15.51 MB / 0.8838 GB, free: 67.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03807/3.472, allocations: 14.07 MB / 0.8976 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.444e-05/3.472, allocations: 0 / 0.8976 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001889/3.473, allocations: 33.66 kB / 0.8976 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07252/3.545, allocations: 26.63 MB / 0.9236 GB, free: 66.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.95e-05/3.545, allocations: 2.375 kB / 0.9236 GB, free: 66.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008342/3.554, allocations: 0.9465 MB / 0.9245 GB, free: 66.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/3.568, allocations: 4.266 MB / 0.9287 GB, free: 66.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002065/3.57, allocations: 85.91 kB / 0.9288 GB, free: 66.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/3.589, allocations: 10.83 MB / 0.9394 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/3.589, allocations: 0 / 0.9394 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06351/3.653, allocations: 22.78 MB / 0.9616 GB, free: 53.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006037/3.659, allocations: 1.716 MB / 0.9633 GB, free: 53.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00281/3.662, allocations: 3.25 kB / 0.9633 GB, free: 53.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006755/3.669, allocations: 281.9 kB / 0.9635 GB, free: 53.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003062/3.672, allocations: 0.5626 MB / 0.9641 GB, free: 53.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00202/3.674, allocations: 218.9 kB / 0.9643 GB, free: 53.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002527/3.676, allocations: 1.218 MB / 0.9655 GB, free: 52.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.012e-06/3.676, allocations: 0 / 0.9655 GB, free: 52.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009993/3.686, allocations: 2.041 MB / 0.9675 GB, free: 52.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.05955/3.746, allocations: 23.52 MB / 0.9905 GB, free: 33.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03117/3.777, allocations: 12.21 MB / 1.002 GB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/3.777, allocations: 2.719 kB / 1.002 GB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01898/3.796, allocations: 6.494 MB / 1.009 GB, free: 17.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007129/3.804, allocations: 0.5219 MB / 1.009 GB, free: 17.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05586/3.859, allocations: 19.71 MB / 1.028 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/3.874, allocations: 6.199 MB / 1.035 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009369/3.883, allocations: 1.556 MB / 1.036 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009285/3.892, allocations: 2.902 MB / 1.039 GB, free: 7.641 MB / 442.7 MB Notification: Performance of SimCode: time 2.194e-06/3.893, allocations: 4 kB / 1.039 GB, free: 7.637 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6672/4.56, allocations: 158.8 MB / 1.194 GB, free: 4.422 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/4.56, allocations: 178.2 kB / 1.194 GB, free: 4.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.454/11.01, allocations: 0 / 1.194 GB, free: 4.23 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat