Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.398/2.398, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.608e-05, allocations: 2.031 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.532/0.6425, allocations: 93.84 MB / 388.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6428, allocations: 87.28 kB / 388.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883/2.526, allocations: 305.5 MB / 0.6774 GB, free: 53.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.547e-06/2.526, allocations: 3.281 kB / 0.6774 GB, free: 53.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008235/2.527, allocations: 190.5 kB / 0.6776 GB, free: 53.1 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.05174/2.579, allocations: 8.724 MB / 0.6861 GB, free: 50.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/2.579, allocations: 11.47 kB / 0.6862 GB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04151/2.62, allocations: 4.19 MB / 0.6902 GB, free: 50.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02345/2.644, allocations: 5.803 MB / 0.6959 GB, free: 49.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/2.645, allocations: 294.9 kB / 0.6962 GB, free: 49.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/2.65, allocations: 0.4922 MB / 0.6967 GB, free: 49.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03882/2.689, allocations: 11.96 MB / 0.7083 GB, free: 49.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05187/2.741, allocations: 13.72 MB / 0.7217 GB, free: 48.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005321/2.741, allocations: 10.72 kB / 0.7218 GB, free: 48.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00393/2.745, allocations: 5.594 kB / 0.7218 GB, free: 48.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/2.747, allocations: 0.6067 MB / 0.7224 GB, free: 48.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.155/2.902, allocations: 43.91 MB / 0.7652 GB, free: 21.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03173/2.933, allocations: 12.08 MB / 0.777 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0217/2.955, allocations: 7.108 MB / 0.784 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/2.957, allocations: 266.5 kB / 0.7842 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/2.957, allocations: 106.4 kB / 0.7843 GB, free: 3.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=817): time 1.782e-05/2.957, allocations: 4 kB / 0.7843 GB, free: 3.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=817): time 0.4605/3.418, allocations: 14.43 MB / 0.7984 GB, free: 49.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/3.418, allocations: 149.3 kB / 0.7986 GB, free: 49.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/3.422, allocations: 1.61 MB / 0.8001 GB, free: 49.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001926/3.424, allocations: 26.89 kB / 0.8002 GB, free: 49.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/3.427, allocations: 2.773 MB / 0.8029 GB, free: 48.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004669/3.431, allocations: 2.575 MB / 0.8054 GB, free: 46.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/3.433, allocations: 3.031 kB / 0.8054 GB, free: 46.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009015/3.434, allocations: 0.6009 MB / 0.806 GB, free: 46.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01399/3.448, allocations: 5 MB / 0.8109 GB, free: 46.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01498/3.463, allocations: 5.806 MB / 0.8165 GB, free: 45.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02415/3.487, allocations: 7.038 MB / 0.8234 GB, free: 45.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.849e-05/3.487, allocations: 3.531 kB / 0.8234 GB, free: 45.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.04987/3.537, allocations: 14.91 MB / 0.838 GB, free: 45.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/3.537, allocations: 14.38 kB / 0.838 GB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.182e-05/3.537, allocations: 17.41 kB / 0.838 GB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0167/3.554, allocations: 4.301 MB / 0.8422 GB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01223/3.566, allocations: 1.09 MB / 0.8433 GB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/3.589, allocations: 10.86 MB / 0.8539 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008969/3.598, allocations: 0.6302 MB / 0.8545 GB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002583/3.6, allocations: 250.7 kB / 0.8547 GB, free: 42.62 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.003574/3.604, allocations: 303.4 kB / 0.855 GB, free: 42.47 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04282/3.647, allocations: 14.06 MB / 0.8687 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002764/3.65, allocations: 387.3 kB / 0.8691 GB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05058/3.7, allocations: 15.52 MB / 0.8843 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04215/3.742, allocations: 14.06 MB / 0.898 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.035e-05/3.743, allocations: 0 / 0.898 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002024/3.743, allocations: 34.2 kB / 0.898 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1063/3.849, allocations: 26.84 MB / 0.9242 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001172/3.849, allocations: 0 / 0.9242 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01284/3.862, allocations: 0.9548 MB / 0.9252 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02003/3.882, allocations: 4.267 MB / 0.9293 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002371/3.885, allocations: 85.7 kB / 0.9294 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0266/3.911, allocations: 10.82 MB / 0.94 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/3.911, allocations: 4 kB / 0.94 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4808/4.392, allocations: 24.04 MB / 0.9635 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007216/4.399, allocations: 1.718 MB / 0.9652 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00312/4.403, allocations: 6.734 kB / 0.9652 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008108/4.411, allocations: 282.4 kB / 0.9654 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003504/4.414, allocations: 0.5655 MB / 0.966 GB, free: 63.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002297/4.417, allocations: 216.4 kB / 0.9662 GB, free: 63.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003058/4.42, allocations: 1.215 MB / 0.9674 GB, free: 63.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.615e-06/4.42, allocations: 5.703 kB / 0.9674 GB, free: 63.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01154/4.431, allocations: 2.04 MB / 0.9694 GB, free: 63.02 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.06908/4.5, allocations: 23.53 MB / 0.9923 GB, free: 61.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0386/4.539, allocations: 12.21 MB / 1.004 GB, free: 61.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/4.539, allocations: 0 / 1.004 GB, free: 61.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02205/4.561, allocations: 6.494 MB / 1.011 GB, free: 59.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00793/4.569, allocations: 0.5318 MB / 1.011 GB, free: 59.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0597/4.629, allocations: 19.7 MB / 1.03 GB, free: 51.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01309/4.642, allocations: 6.199 MB / 1.036 GB, free: 49.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009806/4.652, allocations: 1.564 MB / 1.038 GB, free: 49.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008601/4.661, allocations: 2.902 MB / 1.041 GB, free: 46.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.893e-06/4.661, allocations: 0 / 1.041 GB, free: 46.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7732/5.434, allocations: 158.7 MB / 1.196 GB, free: 37.55 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003672/5.434, allocations: 182.8 kB / 1.196 GB, free: 37.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.649/13.08, allocations: 4 kB / 1.196 GB, free: 37.36 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat