Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.267e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09827, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.5854, allocations: 125.8 MB / 425.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.5858, allocations: 97.25 kB / 425.9 MB, free: 2.355 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.978/2.564, allocations: 381.2 MB / 0.7882 GB, free: 47.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.564, allocations: 0 / 0.7882 GB, free: 47.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008861/2.565, allocations: 246.9 kB / 0.7884 GB, free: 47.43 MB / 426.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.05048/2.615, allocations: 10.26 MB / 0.7985 GB, free: 43.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/2.615, allocations: 10.12 kB / 0.7985 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008957/2.624, allocations: 1.816 MB / 0.8002 GB, free: 42.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05313/2.677, allocations: 6.279 MB / 0.8064 GB, free: 37.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03088/2.708, allocations: 8.756 MB / 0.8149 GB, free: 28.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/2.71, allocations: 0.7935 MB / 0.8157 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005419/2.715, allocations: 1.027 MB / 0.8167 GB, free: 27.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06383/2.779, allocations: 19.03 MB / 0.8353 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006187/2.78, allocations: 19.8 kB / 0.8353 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004988/2.785, allocations: 453.3 kB / 0.8357 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/2.786, allocations: 0.8189 MB / 0.8365 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4071/3.194, allocations: 17.83 MB / 0.8539 GB, free: 44.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1647/3.358, allocations: 61.28 MB / 0.9138 GB, free: 31.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03913/3.397, allocations: 24.97 MB / 0.9382 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02106/3.419, allocations: 8.327 MB / 0.9463 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08051/3.499, allocations: 26.7 MB / 0.9724 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/3.499, allocations: 106.5 kB / 0.9725 GB, free: 14.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=832): time 1.355e-05/3.499, allocations: 3 kB / 0.9725 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=838): time 0.1155/3.615, allocations: 27.88 MB / 0.9997 GB, free: 7.824 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/3.615, allocations: 124.9 kB / 0.9998 GB, free: 7.688 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/3.625, allocations: 2.672 MB / 1.002 GB, free: 5.305 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002338/3.628, allocations: 141.5 kB / 1.003 GB, free: 5.164 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005674/3.634, allocations: 3.859 MB / 1.006 GB, free: 1.754 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3918/4.026, allocations: 2.753 MB / 1.009 GB, free: 76.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/4.028, allocations: 143.3 kB / 1.009 GB, free: 76.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001349/4.03, allocations: 0.637 MB / 1.01 GB, free: 75.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02437/4.054, allocations: 5.489 MB / 1.015 GB, free: 75.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02028/4.074, allocations: 6.953 MB / 1.022 GB, free: 74.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/4.093, allocations: 6.649 MB / 1.028 GB, free: 74.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/4.094, allocations: 10.25 kB / 1.028 GB, free: 74.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.05037/4.144, allocations: 16.08 MB / 1.044 GB, free: 74.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/4.144, allocations: 22.88 kB / 1.044 GB, free: 74.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/4.144, allocations: 40.47 kB / 1.044 GB, free: 74.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/4.161, allocations: 4.986 MB / 1.049 GB, free: 74.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/4.172, allocations: 1.34 MB / 1.05 GB, free: 74.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/4.196, allocations: 12.34 MB / 1.062 GB, free: 70.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01394/4.21, allocations: 429.2 kB / 1.063 GB, free: 70.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003745/4.214, allocations: 321.8 kB / 1.063 GB, free: 70.85 MB / 458.7 MB 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 (704): * Single equations (assignments): 638 * 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.00591/4.22, allocations: 495.7 kB / 1.064 GB, free: 70.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003231/4.223, allocations: 0.4937 MB / 1.064 GB, free: 70.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05037/4.273, allocations: 15.91 MB / 1.08 GB, free: 66.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03973/4.313, allocations: 14.11 MB / 1.093 GB, free: 61.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.298e-05/4.313, allocations: 3.062 kB / 1.093 GB, free: 61.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002298/4.313, allocations: 35.34 kB / 1.093 GB, free: 61.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08664/4.4, allocations: 30.63 MB / 1.123 GB, free: 42.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001247/4.4, allocations: 0 / 1.123 GB, free: 42.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009312/4.41, allocations: 1.017 MB / 1.124 GB, free: 41.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01554/4.425, allocations: 4.801 MB / 1.129 GB, free: 37.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002253/4.427, allocations: 180.1 kB / 1.129 GB, free: 37.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/4.449, allocations: 12.15 MB / 1.141 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/4.449, allocations: 4 kB / 1.141 GB, free: 26.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06113/4.51, allocations: 23.53 MB / 1.164 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006946/4.517, allocations: 1.81 MB / 1.166 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00306/4.52, allocations: 116 kB / 1.166 GB, free: 3.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0077/4.528, allocations: 370.8 kB / 1.166 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003276/4.531, allocations: 0.5931 MB / 1.167 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002181/4.533, allocations: 227.4 kB / 1.167 GB, free: 2.637 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005122/4.539, allocations: 2.017 MB / 1.169 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.633e-06/4.539, allocations: 0 / 1.169 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0188/4.558, allocations: 2.53 MB / 1.172 GB, free: 0 / 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 (538): * Single equations (assignments): 472 * 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,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.4378/4.995, allocations: 24.71 MB / 1.196 GB, free: 73.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03966/5.035, allocations: 13.41 MB / 1.209 GB, free: 73.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/5.035, allocations: 0 / 1.209 GB, free: 73.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0229/5.058, allocations: 6.994 MB / 1.216 GB, free: 73.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/5.068, allocations: 0.9766 MB / 1.217 GB, free: 73.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08103/5.149, allocations: 24.18 MB / 1.24 GB, free: 68.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0174/5.167, allocations: 7.375 MB / 1.247 GB, free: 65.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01215/5.179, allocations: 1.849 MB / 1.249 GB, free: 65.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01088/5.19, allocations: 3.898 MB / 1.253 GB, free: 62 MB / 458.7 MB Notification: Performance of SimCode: time 1.923e-06/5.19, allocations: 0 / 1.253 GB, free: 62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7986/5.989, allocations: 197.4 MB / 1.446 GB, free: 33.39 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/5.989, allocations: 239.6 kB / 1.446 GB, free: 33.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.154/15.14, allocations: 0 / 1.446 GB, free: 33.05 MB / 458.7 MB