Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.808e-05, allocations: 0 / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3474, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.5556, allocations: 89.48 MB / 383.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.556, allocations: 83.94 kB / 383.8 MB, free: 8.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.428/1.984, allocations: 309.2 MB / 0.6767 GB, free: 23.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.985, allocations: 0 / 0.6767 GB, free: 23.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004396/1.985, allocations: 175.9 kB / 0.6769 GB, free: 23.24 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.04618/2.031, allocations: 9.555 MB / 0.6862 GB, free: 13.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/2.031, allocations: 8.031 kB / 0.6862 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04737/2.079, allocations: 5.518 MB / 0.6916 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02113/2.1, allocations: 6.125 MB / 0.6976 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009655/2.101, allocations: 288 kB / 0.6979 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004277/2.105, allocations: 487.9 kB / 0.6983 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3204/2.426, allocations: 14.14 MB / 0.7121 GB, free: 45.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04564/2.471, allocations: 15.27 MB / 0.7271 GB, free: 44.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/2.472, allocations: 6.266 kB / 0.7271 GB, free: 44.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002893/2.475, allocations: 6.938 kB / 0.7271 GB, free: 44.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009991/2.476, allocations: 0.7158 MB / 0.7278 GB, free: 44.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/2.598, allocations: 50.47 MB / 0.7771 GB, free: 30.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02865/2.626, allocations: 13.78 MB / 0.7905 GB, free: 23.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01902/2.645, allocations: 9.333 MB / 0.7996 GB, free: 19.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/2.647, allocations: 323.8 kB / 0.7999 GB, free: 19.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/2.647, allocations: 113.7 kB / 0.8 GB, free: 19.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=968): time 1.39e-05/2.647, allocations: 0 / 0.8 GB, free: 19.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=968): time 0.04936/2.697, allocations: 18.66 MB / 0.8183 GB, free: 3.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/2.697, allocations: 155.2 kB / 0.8184 GB, free: 2.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/2.7, allocations: 1.508 MB / 0.8199 GB, free: 1.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002075/2.702, allocations: 25.7 kB / 0.8199 GB, free: 1.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/2.703, allocations: 2.478 MB / 0.8223 GB, free: 15.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005895/2.709, allocations: 3.041 MB / 0.8253 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/2.711, allocations: 0 / 0.8253 GB, free: 12.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001043/2.712, allocations: 0.6494 MB / 0.8259 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0168/2.729, allocations: 6.573 MB / 0.8323 GB, free: 6.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01864/2.748, allocations: 7.138 MB / 0.8393 GB, free: 168 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04525/2.793, allocations: 10.13 MB / 0.8492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.385e-05/2.793, allocations: 0 / 0.8492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.3927/3.186, allocations: 19.52 MB / 0.8683 GB, free: 71.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/3.186, allocations: 6.219 kB / 0.8683 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-05/3.186, allocations: 4.5 kB / 0.8683 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02221/3.208, allocations: 6.537 MB / 0.8747 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/3.22, allocations: 1.225 MB / 0.8759 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/3.244, allocations: 13.29 MB / 0.8888 GB, free: 69.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008542/3.253, allocations: 0.716 MB / 0.8895 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002623/3.255, allocations: 269.4 kB / 0.8898 GB, free: 69.43 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.005111/3.26, allocations: 307.5 kB / 0.8901 GB, free: 69.3 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05033/3.311, allocations: 18.66 MB / 0.9083 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003075/3.314, allocations: 412.3 kB / 0.9087 GB, free: 68.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05813/3.372, allocations: 20.59 MB / 0.9288 GB, free: 66.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004292/3.373, allocations: 272.8 kB / 0.9291 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.502e-05/3.373, allocations: 0 / 0.9291 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001601/3.373, allocations: 45.7 kB / 0.9291 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08918/3.462, allocations: 34.3 MB / 0.9626 GB, free: 50.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000109/3.462, allocations: 7.781 kB / 0.9626 GB, free: 50.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/3.473, allocations: 1.168 MB / 0.9638 GB, free: 50.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02215/3.495, allocations: 6.532 MB / 0.9701 GB, free: 44.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002673/3.498, allocations: 119.1 kB / 0.9703 GB, free: 44.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03323/3.531, allocations: 13.25 MB / 0.9832 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/3.531, allocations: 0 / 0.9832 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07786/3.609, allocations: 30.25 MB / 1.013 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007119/3.616, allocations: 2.134 MB / 1.015 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002926/3.619, allocations: 4 kB / 1.015 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007684/3.627, allocations: 356.7 kB / 1.015 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003459/3.63, allocations: 0.7048 MB / 1.016 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001974/3.632, allocations: 259.7 kB / 1.016 GB, free: 4.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002206/3.634, allocations: 1.152 MB / 1.017 GB, free: 3.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.634, allocations: 0 / 1.017 GB, free: 3.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01034/3.645, allocations: 2.175 MB / 1.019 GB, free: 1.312 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.3918/4.037, allocations: 32.5 MB / 1.051 GB, free: 74.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03811/4.075, allocations: 15.72 MB / 1.066 GB, free: 73.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/4.075, allocations: 1.625 kB / 1.066 GB, free: 73.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0228/4.098, allocations: 8.426 MB / 1.075 GB, free: 73.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006296/4.104, allocations: 452.6 kB / 1.075 GB, free: 73.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05671/4.161, allocations: 22.29 MB / 1.097 GB, free: 66.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0109/4.172, allocations: 6.247 MB / 1.103 GB, free: 64.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008604/4.18, allocations: 2.999 MB / 1.106 GB, free: 62.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/4.18, allocations: 1.688 kB / 1.106 GB, free: 62.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.156/9.336, allocations: 360 MB / 1.457 GB, free: 54.47 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat