Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.587/2.587, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.025e-05, allocations: 2.75 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6024/0.7419, allocations: 125.1 MB / 419.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000458/0.7424, allocations: 101.8 kB / 419.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.34/3.082, allocations: 378.8 MB / 0.7796 GB, free: 16.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/3.082, allocations: 0 / 0.7796 GB, free: 16.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009132/3.083, allocations: 243.1 kB / 0.7798 GB, free: 15.78 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.06967/3.153, allocations: 10.26 MB / 0.7899 GB, free: 5.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.67e-05/3.153, allocations: 8.031 kB / 0.7899 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01423/3.167, allocations: 1.382 MB / 0.7912 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5003/3.668, allocations: 6.269 MB / 0.7973 GB, free: 30.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04174/3.71, allocations: 8.741 MB / 0.8059 GB, free: 29.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/3.711, allocations: 468.7 kB / 0.8063 GB, free: 29.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006709/3.718, allocations: 0.604 MB / 0.8069 GB, free: 29.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05884/3.777, allocations: 15.45 MB / 0.822 GB, free: 29.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07646/3.853, allocations: 17.29 MB / 0.8389 GB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008061/3.854, allocations: 13.36 kB / 0.8389 GB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005573/3.86, allocations: 12.28 kB / 0.8389 GB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/3.862, allocations: 0.8178 MB / 0.8397 GB, free: 28.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2024/4.064, allocations: 60.56 MB / 0.8989 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05281/4.117, allocations: 25.13 MB / 0.9234 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03592/4.153, allocations: 8.785 MB / 0.932 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1114/4.264, allocations: 27.26 MB / 0.9586 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/4.265, allocations: 107.1 kB / 0.9587 GB, free: 6.941 MB / 458.7 MB Notification: Performance of pre-optimization done (n=829): time 4.07e-05/4.265, allocations: 0 / 0.9587 GB, free: 6.941 MB / 458.7 MB Notification: Performance of matching and sorting (n=835): time 0.6265/4.891, allocations: 31.46 MB / 0.9894 GB, free: 73.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/4.891, allocations: 125.3 kB / 0.9895 GB, free: 73.33 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007659/4.899, allocations: 2.3 MB / 0.9918 GB, free: 73.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002299/4.901, allocations: 29.3 kB / 0.9918 GB, free: 73.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003899/4.905, allocations: 3.876 MB / 0.9956 GB, free: 71.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005441/4.911, allocations: 2.644 MB / 0.9982 GB, free: 69.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/4.913, allocations: 0 / 0.9982 GB, free: 69.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001255/4.915, allocations: 0.6392 MB / 0.9988 GB, free: 69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01841/4.933, allocations: 5.586 MB / 1.004 GB, free: 68.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02051/4.954, allocations: 7.01 MB / 1.011 GB, free: 67.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03346/4.987, allocations: 8.122 MB / 1.019 GB, free: 67.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/4.987, allocations: 9.812 kB / 1.019 GB, free: 67.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=1041) (initialization): time 0.06897/5.056, allocations: 17.17 MB / 1.036 GB, free: 66.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/5.056, allocations: 27.17 kB / 1.036 GB, free: 66.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/5.057, allocations: 40.12 kB / 1.036 GB, free: 66.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02049/5.077, allocations: 4.935 MB / 1.041 GB, free: 66.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/5.092, allocations: 1.401 MB / 1.042 GB, free: 66.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02886/5.121, allocations: 12.67 MB / 1.054 GB, free: 59.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/5.132, allocations: 343 kB / 1.055 GB, free: 59.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003027/5.136, allocations: 319.2 kB / 1.055 GB, free: 58.96 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[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: iSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].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: terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].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: starRotorQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.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: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 635 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.005408/5.141, allocations: 399.9 kB / 1.055 GB, free: 58.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003657/5.145, allocations: 481.5 kB / 1.056 GB, free: 58.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06482/5.21, allocations: 16.87 MB / 1.072 GB, free: 51.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0584/5.268, allocations: 15.43 MB / 1.087 GB, free: 41.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.332e-05/5.268, allocations: 3.953 kB / 1.087 GB, free: 41.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002685/5.268, allocations: 35.77 kB / 1.087 GB, free: 41.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1095/5.378, allocations: 30.39 MB / 1.117 GB, free: 16.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/5.378, allocations: 3.969 kB / 1.117 GB, free: 16.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01318/5.391, allocations: 1.079 MB / 1.118 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01952/5.411, allocations: 4.747 MB / 1.123 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002453/5.413, allocations: 93.31 kB / 1.123 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4943/5.908, allocations: 12.79 MB / 1.135 GB, free: 69.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/5.908, allocations: 3.188 kB / 1.135 GB, free: 69.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09008/5.998, allocations: 25.09 MB / 1.16 GB, free: 68.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008787/6.007, allocations: 1.834 MB / 1.162 GB, free: 68.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003615/6.01, allocations: 9.422 kB / 1.162 GB, free: 68.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01043/6.021, allocations: 315 kB / 1.162 GB, free: 68.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003939/6.025, allocations: 0.5983 MB / 1.163 GB, free: 68.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002533/6.027, allocations: 224.3 kB / 1.163 GB, free: 68.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005152/6.033, allocations: 1.705 MB / 1.165 GB, free: 68.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.222e-06/6.033, allocations: 0 / 1.165 GB, free: 68.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01453/6.047, allocations: 1.742 MB / 1.166 GB, free: 68.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[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 (536): * Single equations (assignments): 470 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,16 117} Notification: Performance of Backend phase and start with SimCode phase: time 0.08829/6.136, allocations: 26.08 MB / 1.192 GB, free: 67.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04498/6.181, allocations: 13.52 MB / 1.205 GB, free: 62.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/6.181, allocations: 0 / 1.205 GB, free: 62.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02655/6.207, allocations: 7.058 MB / 1.212 GB, free: 59.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/6.219, allocations: 0.7437 MB / 1.213 GB, free: 59.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0958/6.315, allocations: 23.93 MB / 1.236 GB, free: 47.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01939/6.334, allocations: 7.382 MB / 1.243 GB, free: 41.63 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0145/6.349, allocations: 1.843 MB / 1.245 GB, free: 40.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01265/6.361, allocations: 3.898 MB / 1.249 GB, free: 36.73 MB / 458.7 MB Notification: Performance of SimCode: time 3.025e-06/6.361, allocations: 0 / 1.249 GB, free: 36.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/7.516, allocations: 190.9 MB / 1.435 GB, free: 3.125 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002606/7.516, allocations: 218.8 kB / 1.435 GB, free: 2.832 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.69/18.2, allocations: 3.906 kB / 1.435 GB, free: 2.828 MB / 458.7 MB