Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.624/2.624, allocations: 195 MB / 202.9 MB, free: 6.648 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.597e-05, allocations: 1.375 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.567/0.6786, allocations: 89.49 MB / 383.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/0.6791, allocations: 84.2 kB / 383.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.178/2.857, allocations: 310.8 MB / 0.6784 GB, free: 65.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/2.858, allocations: 0 / 0.6784 GB, free: 65.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007228/2.858, allocations: 183 kB / 0.6786 GB, free: 65.67 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.06346/2.922, allocations: 9.563 MB / 0.6879 GB, free: 63.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/2.922, allocations: 7.5 kB / 0.6879 GB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007191/2.929, allocations: 0.9688 MB / 0.6889 GB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06403/2.993, allocations: 5.51 MB / 0.6943 GB, free: 62.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02631/3.02, allocations: 6.135 MB / 0.7003 GB, free: 61.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/3.021, allocations: 369.6 kB / 0.7006 GB, free: 61.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005619/3.026, allocations: 484 kB / 0.7011 GB, free: 61.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04968/3.076, allocations: 14.15 MB / 0.7149 GB, free: 61.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06388/3.14, allocations: 15.27 MB / 0.7298 GB, free: 57.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005654/3.141, allocations: 11.16 kB / 0.7298 GB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005056/3.146, allocations: 7.578 kB / 0.7298 GB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/3.147, allocations: 0.7173 MB / 0.7305 GB, free: 57.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1785/3.326, allocations: 50.46 MB / 0.7798 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04776/3.374, allocations: 13.77 MB / 0.7932 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4369/3.811, allocations: 9.338 MB / 0.8024 GB, free: 61.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/3.813, allocations: 319.2 kB / 0.8027 GB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/3.813, allocations: 114.5 kB / 0.8028 GB, free: 61.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=968): time 2.061e-05/3.813, allocations: 0 / 0.8028 GB, free: 61.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=968): time 0.07164/3.885, allocations: 18.65 MB / 0.821 GB, free: 61.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/3.885, allocations: 157.4 kB / 0.8211 GB, free: 61.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004543/3.89, allocations: 1.506 MB / 0.8226 GB, free: 60.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002656/3.892, allocations: 25.7 kB / 0.8226 GB, free: 60.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/3.895, allocations: 2.532 MB / 0.8251 GB, free: 59.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006522/3.901, allocations: 3.039 MB / 0.8281 GB, free: 57.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003019/3.904, allocations: 0 / 0.8281 GB, free: 57.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001487/3.906, allocations: 0.6505 MB / 0.8287 GB, free: 57.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02137/3.927, allocations: 6.567 MB / 0.8351 GB, free: 57.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02307/3.95, allocations: 7.147 MB / 0.8421 GB, free: 57.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03634/3.987, allocations: 9.065 MB / 0.851 GB, free: 55.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.306e-05/3.987, allocations: 0 / 0.851 GB, free: 55.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.07268/4.06, allocations: 19.42 MB / 0.8699 GB, free: 48.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/4.06, allocations: 7.875 kB / 0.8699 GB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.254e-05/4.06, allocations: 3.656 kB / 0.8699 GB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02876/4.089, allocations: 6.529 MB / 0.8763 GB, free: 46.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01462/4.103, allocations: 1.236 MB / 0.8775 GB, free: 46.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0346/4.138, allocations: 13.29 MB / 0.8905 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/4.149, allocations: 0.716 MB / 0.8912 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00355/4.153, allocations: 269.9 kB / 0.8915 GB, free: 39.2 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: inductor_e.inductor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_e.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_e.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] inductor_e.inductor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] 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 [5] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[5].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[5].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[4].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[4].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] 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 [5] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[5].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[4].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[5].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[4].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[5].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[4].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] 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 (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * 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 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.006322/4.159, allocations: 312.9 kB / 0.8918 GB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003975/4.163, allocations: 406.7 kB / 0.8921 GB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08108/4.244, allocations: 20.58 MB / 0.9122 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005579/4.245, allocations: 282.1 kB / 0.9125 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-05/4.245, allocations: 0.6562 kB / 0.9125 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002298/4.245, allocations: 41.53 kB / 0.9126 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1305/4.376, allocations: 34.49 MB / 0.9462 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002265/4.376, allocations: 0 / 0.9462 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01458/4.391, allocations: 1.169 MB / 0.9474 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03145/4.422, allocations: 6.533 MB / 0.9538 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003017/4.425, allocations: 119.2 kB / 0.9539 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4125/4.838, allocations: 13.24 MB / 0.9668 GB, free: 73.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/4.838, allocations: 0 / 0.9668 GB, free: 73.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09491/4.933, allocations: 30.26 MB / 0.9963 GB, free: 72.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009109/4.942, allocations: 2.13 MB / 0.9984 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003569/4.946, allocations: 6.062 kB / 0.9984 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009973/4.956, allocations: 351 kB / 0.9988 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004252/4.96, allocations: 0.7075 MB / 0.9995 GB, free: 72.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003094/4.963, allocations: 259 kB / 0.9997 GB, free: 72.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00307/4.966, allocations: 1.149 MB / 1.001 GB, free: 71.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.344e-06/4.966, allocations: 2.219 kB / 1.001 GB, free: 71.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01273/4.979, allocations: 2.178 MB / 1.003 GB, free: 71.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * 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 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.1584/5.137, allocations: 30.99 MB / 1.033 GB, free: 60.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.06482/5.202, allocations: 15.72 MB / 1.049 GB, free: 54.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/5.202, allocations: 0.75 kB / 1.049 GB, free: 54.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03308/5.235, allocations: 8.439 MB / 1.057 GB, free: 47.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009139/5.245, allocations: 454.1 kB / 1.057 GB, free: 47.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08328/5.328, allocations: 22.41 MB / 1.079 GB, free: 27.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01518/5.343, allocations: 6.327 MB / 1.085 GB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01306/5.356, allocations: 1.855 MB / 1.087 GB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/5.367, allocations: 2.944 MB / 1.09 GB, free: 18.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.993e-06/5.367, allocations: 3.656 kB / 1.09 GB, free: 18.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/6.843, allocations: 191.4 MB / 1.277 GB, free: 49.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002633/6.843, allocations: 183.1 kB / 1.277 GB, free: 49.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.334/16.18, allocations: 0 / 1.277 GB, free: 49.68 MB / 442.7 MB