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.698/2.698, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.742e-05, allocations: 2.219 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6367/0.7425, allocations: 93.86 MB / 388.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.743, allocations: 80.92 kB / 388.2 MB, free: 3.395 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284/3.027, allocations: 307.1 MB / 0.679 GB, free: 53.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.236e-06/3.027, allocations: 0 / 0.679 GB, free: 53.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007917/3.028, allocations: 199.6 kB / 0.6792 GB, free: 53.61 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.05973/3.088, allocations: 8.724 MB / 0.6877 GB, free: 51.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/3.088, allocations: 13.28 kB / 0.6877 GB, free: 51.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008454/3.096, allocations: 1.157 MB / 0.6888 GB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05091/3.147, allocations: 4.186 MB / 0.6929 GB, free: 50.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02693/3.174, allocations: 5.804 MB / 0.6986 GB, free: 49.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001346/3.176, allocations: 381.6 kB / 0.699 GB, free: 49.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005607/3.181, allocations: 493.2 kB / 0.6994 GB, free: 49.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04608/3.228, allocations: 11.97 MB / 0.7111 GB, free: 49.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05905/3.287, allocations: 13.72 MB / 0.7245 GB, free: 48.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006357/3.287, allocations: 11.27 kB / 0.7245 GB, free: 48.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004657/3.292, allocations: 7.812 kB / 0.7245 GB, free: 48.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/3.293, allocations: 0.6066 MB / 0.7251 GB, free: 48.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1537/3.447, allocations: 43.95 MB / 0.768 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03384/3.481, allocations: 12.07 MB / 0.7798 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02343/3.504, allocations: 7.11 MB / 0.7868 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/3.506, allocations: 273.5 kB / 0.787 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/3.507, allocations: 103.8 kB / 0.7871 GB, free: 1.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=817): time 1.9e-05/3.507, allocations: 0 / 0.7871 GB, free: 1.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=817): time 0.4513/3.958, allocations: 14.42 MB / 0.8012 GB, free: 51.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/3.958, allocations: 150.7 kB / 0.8014 GB, free: 51.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/3.963, allocations: 1.609 MB / 0.8029 GB, free: 50.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002039/3.965, allocations: 27.02 kB / 0.803 GB, free: 50.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002439/3.967, allocations: 2.767 MB / 0.8057 GB, free: 49.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004893/3.972, allocations: 2.578 MB / 0.8082 GB, free: 48.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/3.974, allocations: 2.594 kB / 0.8082 GB, free: 48.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00101/3.975, allocations: 0.6021 MB / 0.8088 GB, free: 48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01457/3.99, allocations: 4.998 MB / 0.8136 GB, free: 47.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01618/4.006, allocations: 5.812 MB / 0.8193 GB, free: 47.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02504/4.031, allocations: 7.038 MB / 0.8262 GB, free: 47.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.953e-05/4.031, allocations: 7.156 kB / 0.8262 GB, free: 47.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.05354/4.085, allocations: 14.92 MB / 0.8408 GB, free: 46.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/4.085, allocations: 12.53 kB / 0.8408 GB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.323e-05/4.085, allocations: 15.97 kB / 0.8408 GB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/4.103, allocations: 4.298 MB / 0.845 GB, free: 46.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/4.115, allocations: 1.09 MB / 0.8461 GB, free: 46.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0249/4.14, allocations: 10.85 MB / 0.8567 GB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/4.149, allocations: 0.6346 MB / 0.8573 GB, free: 43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/4.151, allocations: 251.4 kB / 0.8575 GB, free: 42.95 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.004231/4.156, allocations: 307.3 kB / 0.8578 GB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002931/4.159, allocations: 390.1 kB / 0.8582 GB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05888/4.218, allocations: 15.51 MB / 0.8733 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04644/4.264, allocations: 14.06 MB / 0.8871 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.426e-05/4.264, allocations: 0 / 0.8871 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00021/4.264, allocations: 31.73 kB / 0.8871 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08699/4.351, allocations: 26.64 MB / 0.9131 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001079/4.351, allocations: 6.562 kB / 0.9131 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01079/4.362, allocations: 0.9385 MB / 0.914 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/4.381, allocations: 4.277 MB / 0.9182 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002223/4.383, allocations: 87.08 kB / 0.9183 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/4.41, allocations: 10.87 MB / 0.9289 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/4.41, allocations: 4 kB / 0.9289 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07836/4.488, allocations: 22.9 MB / 0.9513 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007928/4.496, allocations: 1.713 MB / 0.9529 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002829/4.499, allocations: 7.062 kB / 0.953 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00801/4.507, allocations: 280.1 kB / 0.9532 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00346/4.511, allocations: 0.5661 MB / 0.9538 GB, free: 5.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002039/4.513, allocations: 219.1 kB / 0.954 GB, free: 5.523 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003536/4.516, allocations: 1.22 MB / 0.9552 GB, free: 4.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/4.516, allocations: 0 / 0.9552 GB, free: 4.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01224/4.529, allocations: 2.045 MB / 0.9572 GB, free: 2.43 MB / 442.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.5445/5.073, allocations: 24.63 MB / 0.9812 GB, free: 80.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03739/5.111, allocations: 12.21 MB / 0.9931 GB, free: 80.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/5.111, allocations: 0 / 0.9931 GB, free: 80.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02201/5.133, allocations: 6.487 MB / 0.9995 GB, free: 80.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007917/5.141, allocations: 0.5298 MB / 1 GB, free: 80.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06174/5.202, allocations: 19.71 MB / 1.019 GB, free: 77.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/5.215, allocations: 6.2 MB / 1.025 GB, free: 76.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01046/5.226, allocations: 1.563 MB / 1.027 GB, free: 76.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009727/5.236, allocations: 2.908 MB / 1.03 GB, free: 75.04 MB / 442.7 MB Notification: Performance of SimCode: time 2.505e-06/5.236, allocations: 0 / 1.03 GB, free: 75.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8826/6.118, allocations: 163 MB / 1.189 GB, free: 73.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002491/6.119, allocations: 186.8 kB / 1.189 GB, free: 72.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.829/14.95, allocations: 0 / 1.189 GB, free: 72.99 MB / 442.7 MB