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.312/2.312, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.54e-05, allocations: 2.188 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.6081, allocations: 89.48 MB / 383.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.6085, allocations: 84.42 kB / 383.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884/2.493, allocations: 309.2 MB / 0.6768 GB, free: 65.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.196e-06/2.493, allocations: 0 / 0.6768 GB, free: 65.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007131/2.494, allocations: 176.1 kB / 0.677 GB, free: 65.81 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.05614/2.55, allocations: 9.556 MB / 0.6863 GB, free: 63.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/2.55, allocations: 7.219 kB / 0.6863 GB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05401/2.604, allocations: 5.519 MB / 0.6917 GB, free: 62.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02392/2.628, allocations: 6.131 MB / 0.6977 GB, free: 62.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009877/2.629, allocations: 290.1 kB / 0.698 GB, free: 62.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004949/2.634, allocations: 476.8 kB / 0.6984 GB, free: 62.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04422/2.678, allocations: 14.14 MB / 0.7122 GB, free: 62.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05571/2.734, allocations: 15.28 MB / 0.7272 GB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004752/2.735, allocations: 7.781 kB / 0.7272 GB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004159/2.739, allocations: 7.969 kB / 0.7272 GB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001335/2.74, allocations: 0.7174 MB / 0.7279 GB, free: 58.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1515/2.892, allocations: 50.46 MB / 0.7772 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04011/2.932, allocations: 13.78 MB / 0.7906 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3865/3.318, allocations: 9.337 MB / 0.7997 GB, free: 62.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002133/3.32, allocations: 312.7 kB / 0.8 GB, free: 62.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/3.321, allocations: 116.9 kB / 0.8001 GB, free: 62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=968): time 1.894e-05/3.321, allocations: 0 / 0.8001 GB, free: 62 MB / 410.7 MB Notification: Performance of matching and sorting (n=968): time 0.06466/3.385, allocations: 18.66 MB / 0.8184 GB, free: 61.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/3.386, allocations: 160.8 kB / 0.8185 GB, free: 61.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/3.389, allocations: 1.505 MB / 0.82 GB, free: 61.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002396/3.392, allocations: 25.7 kB / 0.82 GB, free: 61.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/3.394, allocations: 2.524 MB / 0.8225 GB, free: 60.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005579/3.399, allocations: 3.048 MB / 0.8254 GB, free: 58.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/3.402, allocations: 3.781 kB / 0.8255 GB, free: 58.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001222/3.403, allocations: 0.6456 MB / 0.8261 GB, free: 58.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01841/3.422, allocations: 6.568 MB / 0.8325 GB, free: 58.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02031/3.442, allocations: 7.139 MB / 0.8395 GB, free: 57.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03084/3.473, allocations: 9.069 MB / 0.8483 GB, free: 57.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.579e-05/3.473, allocations: 1.531 kB / 0.8483 GB, free: 57.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.0609/3.534, allocations: 19.41 MB / 0.8673 GB, free: 49.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/3.534, allocations: 8.516 kB / 0.8673 GB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.581e-05/3.534, allocations: 3.562 kB / 0.8673 GB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02488/3.559, allocations: 6.535 MB / 0.8737 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01345/3.573, allocations: 1.237 MB / 0.8749 GB, free: 48.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02877/3.602, allocations: 13.28 MB / 0.8879 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009862/3.611, allocations: 0.7178 MB / 0.8886 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00294/3.614, allocations: 274.2 kB / 0.8888 GB, free: 40.92 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.005665/3.62, allocations: 307.2 kB / 0.8891 GB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05992/3.68, allocations: 18.65 MB / 0.9073 GB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003568/3.684, allocations: 406.8 kB / 0.9077 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06866/3.752, allocations: 20.59 MB / 0.9278 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004886/3.753, allocations: 277.7 kB / 0.9281 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-05/3.753, allocations: 5.047 kB / 0.9281 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001893/3.753, allocations: 42.97 kB / 0.9281 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5379/4.291, allocations: 34.88 MB / 0.9622 GB, free: 71.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002069/4.291, allocations: 1.281 kB / 0.9622 GB, free: 71.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01783/4.309, allocations: 1.163 MB / 0.9633 GB, free: 71.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04106/4.35, allocations: 6.536 MB / 0.9697 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003439/4.354, allocations: 115.2 kB / 0.9698 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04274/4.397, allocations: 13.24 MB / 0.9828 GB, free: 69.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/4.397, allocations: 1 kB / 0.9828 GB, free: 69.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1261/4.523, allocations: 30.25 MB / 1.012 GB, free: 68.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008993/4.532, allocations: 2.137 MB / 1.014 GB, free: 67.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003922/4.536, allocations: 1.781 kB / 1.014 GB, free: 67.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009819/4.546, allocations: 352.8 kB / 1.015 GB, free: 67.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004515/4.55, allocations: 0.7119 MB / 1.015 GB, free: 67.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002907/4.553, allocations: 261.8 kB / 1.016 GB, free: 67.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002752/4.556, allocations: 1.154 MB / 1.017 GB, free: 66.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/4.556, allocations: 0 / 1.017 GB, free: 66.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01268/4.569, allocations: 2.173 MB / 1.019 GB, free: 66.34 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.09464/4.664, allocations: 31 MB / 1.049 GB, free: 53.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04643/4.71, allocations: 15.71 MB / 1.065 GB, free: 42.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/4.71, allocations: 4 kB / 1.065 GB, free: 42.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02837/4.739, allocations: 8.431 MB / 1.073 GB, free: 35.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007805/4.746, allocations: 461.2 kB / 1.073 GB, free: 35.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07221/4.819, allocations: 22.4 MB / 1.095 GB, free: 16.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01453/4.833, allocations: 6.321 MB / 1.101 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01321/4.846, allocations: 1.856 MB / 1.103 GB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009979/4.856, allocations: 2.948 MB / 1.106 GB, free: 7.195 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/4.857, allocations: 0 / 1.106 GB, free: 7.195 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.301/6.158, allocations: 186.1 MB / 1.288 GB, free: 59.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002436/6.158, allocations: 186.1 kB / 1.288 GB, free: 58.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.023/14.18, allocations: 5.938 kB / 1.288 GB, free: 58.86 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat