Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.145e-05, allocations: 4 kB / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3588, allocations: 44.49 MB / 294.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5202, allocations: 89.49 MB / 383.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5205, allocations: 79.95 kB / 383.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.725/2.245, allocations: 309.2 MB / 0.6767 GB, free: 23.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.785e-06/2.245, allocations: 0 / 0.6767 GB, free: 23.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004669/2.246, allocations: 175.9 kB / 0.6769 GB, free: 23.11 MB / 394.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.04797/2.294, allocations: 9.555 MB / 0.6862 GB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/2.294, allocations: 8.031 kB / 0.6862 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04811/2.342, allocations: 5.518 MB / 0.6916 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/2.363, allocations: 6.125 MB / 0.6976 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009195/2.364, allocations: 288 kB / 0.6979 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0041/2.368, allocations: 483.9 kB / 0.6983 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3518/2.72, allocations: 14.14 MB / 0.7122 GB, free: 46.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04717/2.767, allocations: 15.28 MB / 0.7271 GB, free: 45.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003529/2.768, allocations: 14.62 kB / 0.7271 GB, free: 45.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003056/2.771, allocations: 3.219 kB / 0.7271 GB, free: 45.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001026/2.772, allocations: 0.7155 MB / 0.7278 GB, free: 45.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1611/2.933, allocations: 50.47 MB / 0.7771 GB, free: 30.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02918/2.962, allocations: 13.78 MB / 0.7905 GB, free: 23.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01979/2.982, allocations: 9.34 MB / 0.7997 GB, free: 19.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/2.984, allocations: 321.4 kB / 0.8 GB, free: 19.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/2.984, allocations: 116.1 kB / 0.8001 GB, free: 19.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=968): time 1.376e-05/2.984, allocations: 0 / 0.8001 GB, free: 19.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=968): time 0.05048/3.035, allocations: 18.65 MB / 0.8183 GB, free: 3.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/3.035, allocations: 155.2 kB / 0.8184 GB, free: 3.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/3.038, allocations: 1.504 MB / 0.8199 GB, free: 1.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002101/3.04, allocations: 29.7 kB / 0.8199 GB, free: 1.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/3.042, allocations: 2.526 MB / 0.8224 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006154/3.048, allocations: 3.038 MB / 0.8254 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002141/3.05, allocations: 7.844 kB / 0.8254 GB, free: 12.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001214/3.052, allocations: 0.6477 MB / 0.826 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01797/3.07, allocations: 6.561 MB / 0.8324 GB, free: 6.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02012/3.09, allocations: 7.143 MB / 0.8394 GB, free: 200 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.046/3.136, allocations: 10.12 MB / 0.8493 GB, free: 11.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.489e-05/3.136, allocations: 3.188 kB / 0.8493 GB, free: 11.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.3709/3.507, allocations: 19.42 MB / 0.8682 GB, free: 70.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/3.507, allocations: 9.156 kB / 0.8682 GB, free: 70.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-05/3.507, allocations: 4.656 kB / 0.8683 GB, free: 70.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02414/3.531, allocations: 6.527 MB / 0.8746 GB, free: 70.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/3.545, allocations: 1.233 MB / 0.8758 GB, free: 70.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03895/3.584, allocations: 13.29 MB / 0.8888 GB, free: 68.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/3.595, allocations: 0.7155 MB / 0.8895 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00337/3.599, allocations: 277.6 kB / 0.8898 GB, free: 68.07 MB / 426.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.00616/3.605, allocations: 292.9 kB / 0.89 GB, free: 67.95 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05992/3.665, allocations: 18.66 MB / 0.9083 GB, free: 67.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003289/3.668, allocations: 404 kB / 0.9087 GB, free: 67.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06117/3.729, allocations: 20.59 MB / 0.9288 GB, free: 65.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005142/3.73, allocations: 279.5 kB / 0.929 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-05/3.73, allocations: 3.172 kB / 0.929 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001823/3.73, allocations: 42.2 kB / 0.9291 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0904/3.821, allocations: 34.32 MB / 0.9626 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001347/3.821, allocations: 0 / 0.9626 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01112/3.832, allocations: 1.162 MB / 0.9637 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02144/3.854, allocations: 6.532 MB / 0.9701 GB, free: 44.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002602/3.856, allocations: 118.6 kB / 0.9702 GB, free: 44.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/3.88, allocations: 13.25 MB / 0.9832 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/3.88, allocations: 4.125 kB / 0.9832 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07221/3.952, allocations: 30.25 MB / 1.013 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007246/3.96, allocations: 2.136 MB / 1.015 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00295/3.963, allocations: 4 kB / 1.015 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007931/3.971, allocations: 348 kB / 1.015 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003507/3.974, allocations: 0.7172 MB / 1.016 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001936/3.976, allocations: 259.5 kB / 1.016 GB, free: 3.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002213/3.978, allocations: 1.155 MB / 1.017 GB, free: 2.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/3.978, allocations: 0 / 1.017 GB, free: 2.801 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01055/3.989, allocations: 2.169 MB / 1.019 GB, free: 0.6562 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.3996/4.389, allocations: 31.01 MB / 1.05 GB, free: 74.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04089/4.429, allocations: 15.71 MB / 1.065 GB, free: 74.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/4.43, allocations: 0 / 1.065 GB, free: 74.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02458/4.454, allocations: 8.431 MB / 1.073 GB, free: 73.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/4.461, allocations: 465.5 kB / 1.074 GB, free: 73.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0633/4.524, allocations: 22.4 MB / 1.095 GB, free: 65.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/4.537, allocations: 6.319 MB / 1.102 GB, free: 63.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01018/4.547, allocations: 1.86 MB / 1.103 GB, free: 62.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008303/4.556, allocations: 2.947 MB / 1.106 GB, free: 60.03 MB / 426.7 MB Notification: Performance of SimCode: time 3.046e-06/4.556, allocations: 0 / 1.106 GB, free: 60.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6929/5.249, allocations: 186 MB / 1.288 GB, free: 29.65 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/5.249, allocations: 177.9 kB / 1.288 GB, free: 29.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/12.16, allocations: 4.688 kB / 1.288 GB, free: 29.46 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat