Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.153e-05, allocations: 4 kB / 255.5 MB, free: 2.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09405, allocations: 44.51 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4712/0.5653, allocations: 121.2 MB / 421.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.5657, allocations: 101.1 kB / 421.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.289, allocations: 339.5 MB / 0.743 GB, free: 52.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.289, allocations: 3.781 kB / 0.743 GB, free: 52.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009389/2.29, allocations: 209.6 kB / 0.7432 GB, free: 52.01 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05334/2.343, allocations: 9.051 MB / 0.7521 GB, free: 49.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/2.343, allocations: 10.3 kB / 0.7521 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007538/2.351, allocations: 1.571 MB / 0.7536 GB, free: 49.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04113/2.392, allocations: 4.862 MB / 0.7583 GB, free: 48.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02611/2.418, allocations: 7.873 MB / 0.766 GB, free: 47.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/2.419, allocations: 0.7004 MB / 0.7667 GB, free: 47.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004666/2.424, allocations: 0.8898 MB / 0.7676 GB, free: 47.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05316/2.477, allocations: 16.42 MB / 0.7836 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005771/2.478, allocations: 7.438 kB / 0.7836 GB, free: 42.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004319/2.482, allocations: 395.2 kB / 0.784 GB, free: 42.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/2.483, allocations: 0.7 MB / 0.7847 GB, free: 42.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0437/2.527, allocations: 15.08 MB / 0.7994 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5197/3.047, allocations: 54.01 MB / 0.8522 GB, free: 36.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03148/3.078, allocations: 18.71 MB / 0.8704 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01705/3.095, allocations: 6.98 MB / 0.8773 GB, free: 27.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06268/3.158, allocations: 22.68 MB / 0.8994 GB, free: 26.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.492e-05/3.158, allocations: 91.36 kB / 0.8995 GB, free: 26.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=684): time 1.115e-05/3.158, allocations: 0 / 0.8995 GB, free: 26.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=690): time 0.06516/3.223, allocations: 23.38 MB / 0.9223 GB, free: 21.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/3.224, allocations: 112.7 kB / 0.9224 GB, free: 21.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/3.229, allocations: 2.433 MB / 0.9248 GB, free: 20.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001612/3.231, allocations: 113.2 kB / 0.9249 GB, free: 20.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002781/3.233, allocations: 3.418 MB / 0.9282 GB, free: 18.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003824/3.237, allocations: 2.279 MB / 0.9305 GB, free: 16.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/3.238, allocations: 114.2 kB / 0.9306 GB, free: 16.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007588/3.239, allocations: 0.586 MB / 0.9312 GB, free: 16.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01151/3.251, allocations: 4.632 MB / 0.9357 GB, free: 14.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/3.264, allocations: 5.927 MB / 0.9415 GB, free: 10.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/3.278, allocations: 5.635 MB / 0.947 GB, free: 8.297 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.705e-05/3.278, allocations: 10.97 kB / 0.947 GB, free: 8.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03864/3.316, allocations: 13.35 MB / 0.96 GB, free: 2.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/3.317, allocations: 22.3 kB / 0.96 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.982e-05/3.317, allocations: 38.12 kB / 0.9601 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/3.33, allocations: 3.839 MB / 0.9638 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009221/3.339, allocations: 1.126 MB / 0.9649 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/3.363, allocations: 10.93 MB / 0.9756 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007441/3.371, allocations: 353.5 kB / 0.9759 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/3.373, allocations: 270.2 kB / 0.9762 GB, free: 9.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.00303/3.376, allocations: 434.4 kB / 0.9766 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/3.378, allocations: 430.5 kB / 0.977 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04941/3.428, allocations: 13.44 MB / 0.9901 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03681/3.464, allocations: 11.73 MB / 1.002 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/3.465, allocations: 0 / 1.002 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001415/3.465, allocations: 26.58 kB / 1.002 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4672/3.932, allocations: 26.7 MB / 1.028 GB, free: 77.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001248/3.932, allocations: 0 / 1.028 GB, free: 77.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007772/3.94, allocations: 0.8149 MB / 1.028 GB, free: 77.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01325/3.953, allocations: 3.786 MB / 1.032 GB, free: 77.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001921/3.955, allocations: 145.1 kB / 1.032 GB, free: 77.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/3.974, allocations: 10.55 MB / 1.043 GB, free: 73.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/3.974, allocations: 1.312 kB / 1.043 GB, free: 73.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05269/4.027, allocations: 19.65 MB / 1.062 GB, free: 73.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006252/4.033, allocations: 1.544 MB / 1.063 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002939/4.036, allocations: 93.5 kB / 1.063 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006969/4.043, allocations: 288.9 kB / 1.064 GB, free: 73.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00295/4.046, allocations: 0.5018 MB / 1.064 GB, free: 73.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002144/4.048, allocations: 177 kB / 1.064 GB, free: 73.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005534/4.054, allocations: 1.84 MB / 1.066 GB, free: 72.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.843e-06/4.054, allocations: 0 / 1.066 GB, free: 72.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01224/4.066, allocations: 1.683 MB / 1.068 GB, free: 72.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.05915/4.125, allocations: 20.73 MB / 1.088 GB, free: 62.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04995/4.175, allocations: 11.23 MB / 1.099 GB, free: 58.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/4.175, allocations: 0 / 1.099 GB, free: 58.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02785/4.203, allocations: 5.826 MB / 1.105 GB, free: 56.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/4.217, allocations: 0.838 MB / 1.106 GB, free: 55.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/4.324, allocations: 20.81 MB / 1.126 GB, free: 41.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02423/4.348, allocations: 6.52 MB / 1.132 GB, free: 36.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01538/4.363, allocations: 1.51 MB / 1.134 GB, free: 35.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01427/4.378, allocations: 3.264 MB / 1.137 GB, free: 31.99 MB / 458.7 MB Notification: Performance of SimCode: time 2.294e-06/4.378, allocations: 0 / 1.137 GB, free: 31.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7433/5.121, allocations: 168.4 MB / 1.301 GB, free: 24.12 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/5.121, allocations: 246.2 kB / 1.302 GB, free: 23.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/12.87, allocations: 3.953 kB / 1.302 GB, free: 23.79 MB / 458.7 MB