Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.994e-05, allocations: 4 kB / 255.5 MB, free: 2.582 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09897, allocations: 44.5 MB / 300 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.5936, allocations: 126.4 MB / 426.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.594, allocations: 100.9 kB / 426.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.317, allocations: 352.9 MB / 0.7612 GB, free: 52.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.973e-06/2.317, allocations: 4 kB / 0.7612 GB, free: 52.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008625/2.318, allocations: 223.3 kB / 0.7614 GB, free: 52.14 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04578/2.364, allocations: 9.562 MB / 0.7707 GB, free: 49.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/2.364, allocations: 8.5 kB / 0.7707 GB, free: 49.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007945/2.372, allocations: 1.63 MB / 0.7723 GB, free: 49.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04107/2.413, allocations: 4.926 MB / 0.7771 GB, free: 48.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02786/2.441, allocations: 8.182 MB / 0.7851 GB, free: 46.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/2.443, allocations: 0.7144 MB / 0.7858 GB, free: 46.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005126/2.448, allocations: 0.9266 MB / 0.7867 GB, free: 46.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05451/2.502, allocations: 16.84 MB / 0.8032 GB, free: 36.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005182/2.503, allocations: 15.78 kB / 0.8032 GB, free: 36.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004301/2.507, allocations: 409.8 kB / 0.8036 GB, free: 36.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001105/2.508, allocations: 0.7021 MB / 0.8043 GB, free: 35.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04451/2.553, allocations: 15.44 MB / 0.8194 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5179/3.071, allocations: 55.37 MB / 0.8734 GB, free: 33.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03497/3.106, allocations: 19.13 MB / 0.8921 GB, free: 41.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01873/3.125, allocations: 7.541 MB / 0.8995 GB, free: 41.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07435/3.199, allocations: 24.89 MB / 0.9238 GB, free: 34.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/3.199, allocations: 98.28 kB / 0.9239 GB, free: 34.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=749): time 2.615e-05/3.199, allocations: 3.469 kB / 0.9239 GB, free: 34.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=754): time 0.08006/3.279, allocations: 25.13 MB / 0.9484 GB, free: 23.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/3.28, allocations: 115.4 kB / 0.9485 GB, free: 23.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008503/3.288, allocations: 3.173 MB / 0.9516 GB, free: 22.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001899/3.29, allocations: 124.1 kB / 0.9517 GB, free: 22.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003091/3.293, allocations: 3.619 MB / 0.9553 GB, free: 19.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004332/3.298, allocations: 2.476 MB / 0.9577 GB, free: 17.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/3.299, allocations: 131.7 kB / 0.9578 GB, free: 17.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009807/3.3, allocations: 0.5961 MB / 0.9584 GB, free: 17.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01311/3.314, allocations: 5.02 MB / 0.9633 GB, free: 14.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/3.329, allocations: 6.222 MB / 0.9694 GB, free: 11.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/3.346, allocations: 6.084 MB / 0.9753 GB, free: 8.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-05/3.347, allocations: 7.875 kB / 0.9753 GB, free: 8.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.04997/3.397, allocations: 14.41 MB / 0.9894 GB, free: 14.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/3.397, allocations: 46.95 kB / 0.9894 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/3.397, allocations: 31.61 kB / 0.9895 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/3.412, allocations: 4.005 MB / 0.9934 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/3.423, allocations: 1.182 MB / 0.9945 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4221/3.845, allocations: 12.54 MB / 1.007 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008481/3.854, allocations: 365.1 kB / 1.007 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002617/3.857, allocations: 281.2 kB / 1.007 GB, free: 79.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.003992/3.861, allocations: 447.1 kB / 1.008 GB, free: 79.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003112/3.864, allocations: 489.2 kB / 1.008 GB, free: 79.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04599/3.91, allocations: 14.18 MB / 1.022 GB, free: 78.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03828/3.948, allocations: 12.68 MB / 1.035 GB, free: 78.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/3.948, allocations: 0 / 1.035 GB, free: 78.67 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001831/3.949, allocations: 34.56 kB / 1.035 GB, free: 78.67 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08266/4.031, allocations: 28.05 MB / 1.062 GB, free: 74.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001484/4.031, allocations: 6 kB / 1.062 GB, free: 74.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008673/4.04, allocations: 0.8843 MB / 1.063 GB, free: 74.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/4.054, allocations: 3.924 MB / 1.067 GB, free: 73.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002217/4.056, allocations: 161.3 kB / 1.067 GB, free: 72.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/4.077, allocations: 12.41 MB / 1.079 GB, free: 65.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/4.077, allocations: 6.922 kB / 1.079 GB, free: 65.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05782/4.135, allocations: 21.44 MB / 1.1 GB, free: 55.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006673/4.141, allocations: 1.731 MB / 1.102 GB, free: 54.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003084/4.144, allocations: 111.4 kB / 1.102 GB, free: 54.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007589/4.152, allocations: 296 kB / 1.102 GB, free: 54.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003101/4.155, allocations: 0.5479 MB / 1.102 GB, free: 54.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002198/4.157, allocations: 212.6 kB / 1.103 GB, free: 54.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006733/4.164, allocations: 2.408 MB / 1.105 GB, free: 53.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.51e-07/4.164, allocations: 0 / 1.105 GB, free: 53.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01323/4.177, allocations: 1.825 MB / 1.107 GB, free: 53.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.0752/4.253, allocations: 22.95 MB / 1.129 GB, free: 34.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04782/4.301, allocations: 12.23 MB / 1.141 GB, free: 23.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/4.301, allocations: 0 / 1.141 GB, free: 23.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02595/4.327, allocations: 6.359 MB / 1.147 GB, free: 17.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01173/4.338, allocations: 0.901 MB / 1.148 GB, free: 16.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4631/4.802, allocations: 22.77 MB / 1.17 GB, free: 76.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01897/4.821, allocations: 6.839 MB / 1.177 GB, free: 75.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01151/4.832, allocations: 1.658 MB / 1.179 GB, free: 75.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01034/4.843, allocations: 3.568 MB / 1.182 GB, free: 75.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.704e-06/4.843, allocations: 0 / 1.182 GB, free: 75.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7676/5.61, allocations: 183.3 MB / 1.361 GB, free: 76.09 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003037/5.611, allocations: 284 kB / 1.362 GB, free: 75.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/14.21, allocations: 3.172 kB / 1.362 GB, free: 75.75 MB / 474.7 MB