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 2.004/2.004, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.559e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09658, allocations: 44.51 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.5695, allocations: 126.4 MB / 426.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.57, allocations: 104.3 kB / 426.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.67/2.24, allocations: 352.9 MB / 0.7612 GB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.241, allocations: 0 / 0.7612 GB, free: 41.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007417/2.241, allocations: 219.8 kB / 0.7614 GB, free: 41.81 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04496/2.286, allocations: 9.566 MB / 0.7707 GB, free: 34.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/2.286, allocations: 15.97 kB / 0.7707 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007689/2.294, allocations: 1.628 MB / 0.7723 GB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04118/2.335, allocations: 4.926 MB / 0.7771 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/2.363, allocations: 8.179 MB / 0.7851 GB, free: 19.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/2.364, allocations: 0.7122 MB / 0.7858 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004557/2.369, allocations: 0.9259 MB / 0.7867 GB, free: 18.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06248/2.431, allocations: 16.96 MB / 0.8033 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006718/2.432, allocations: 7.906 kB / 0.8033 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005207/2.437, allocations: 407.7 kB / 0.8037 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001685/2.439, allocations: 0.711 MB / 0.8044 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06701/2.506, allocations: 15.56 MB / 0.8196 GB, free: 444 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4919/2.998, allocations: 55.38 MB / 0.8736 GB, free: 43.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03372/3.032, allocations: 19.19 MB / 0.8924 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/3.05, allocations: 7.531 MB / 0.8997 GB, free: 27.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07081/3.121, allocations: 24.89 MB / 0.924 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.545e-05/3.121, allocations: 96.16 kB / 0.9241 GB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=749): time 1.263e-05/3.121, allocations: 1.969 kB / 0.9241 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=754): time 0.07927/3.201, allocations: 25.13 MB / 0.9487 GB, free: 3.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/3.201, allocations: 117.2 kB / 0.9488 GB, free: 3.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/3.213, allocations: 3.164 MB / 0.9519 GB, free: 1.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002327/3.215, allocations: 121.7 kB / 0.952 GB, free: 1.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004947/3.22, allocations: 3.616 MB / 0.9555 GB, free: 14.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006205/3.227, allocations: 2.479 MB / 0.958 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/3.229, allocations: 128 kB / 0.9581 GB, free: 12.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001317/3.23, allocations: 0.6074 MB / 0.9587 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02046/3.251, allocations: 5.008 MB / 0.9636 GB, free: 7.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01844/3.269, allocations: 6.267 MB / 0.9697 GB, free: 1.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03766/3.307, allocations: 7.302 MB / 0.9768 GB, free: 15.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.458e-05/3.307, allocations: 12 kB / 0.9768 GB, free: 15.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.06614/3.373, allocations: 14.46 MB / 0.9909 GB, free: 2.465 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/3.373, allocations: 47 kB / 0.991 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/3.374, allocations: 36 kB / 0.991 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4523/3.826, allocations: 4.088 MB / 0.995 GB, free: 82.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/3.837, allocations: 1.183 MB / 0.9962 GB, free: 82.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/3.862, allocations: 12.53 MB / 1.008 GB, free: 78.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00865/3.87, allocations: 365 kB / 1.009 GB, free: 78.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/3.873, allocations: 284 kB / 1.009 GB, free: 78.3 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.004811/3.878, allocations: 440.7 kB / 1.009 GB, free: 78.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004107/3.882, allocations: 497.3 kB / 1.01 GB, free: 78.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0652/3.948, allocations: 14.18 MB / 1.024 GB, free: 77.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03705/3.985, allocations: 12.68 MB / 1.036 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/3.985, allocations: 3.812 kB / 1.036 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000169/3.985, allocations: 33.09 kB / 1.036 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0832/4.068, allocations: 28.05 MB / 1.064 GB, free: 71.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000133/4.068, allocations: 0 / 1.064 GB, free: 71.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008286/4.077, allocations: 0.8817 MB / 1.064 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0135/4.09, allocations: 3.924 MB / 1.068 GB, free: 70.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002062/4.092, allocations: 162.6 kB / 1.068 GB, free: 70.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/4.114, allocations: 12.44 MB / 1.081 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/4.114, allocations: 4.938 kB / 1.081 GB, free: 62.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05892/4.173, allocations: 21.44 MB / 1.102 GB, free: 50.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006556/4.18, allocations: 1.732 MB / 1.103 GB, free: 49.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00286/4.182, allocations: 111 kB / 1.103 GB, free: 49.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007176/4.19, allocations: 303.2 kB / 1.104 GB, free: 49.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003025/4.193, allocations: 0.548 MB / 1.104 GB, free: 48.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002033/4.195, allocations: 200.2 kB / 1.104 GB, free: 48.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006332/4.201, allocations: 2.414 MB / 1.107 GB, free: 46.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.292e-06/4.201, allocations: 0 / 1.107 GB, free: 46.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01149/4.213, allocations: 1.815 MB / 1.108 GB, free: 44.7 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.06001/4.273, allocations: 22.95 MB / 1.131 GB, free: 24.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03526/4.308, allocations: 12.34 MB / 1.143 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/4.308, allocations: 0 / 1.143 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01939/4.328, allocations: 6.405 MB / 1.149 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009143/4.337, allocations: 0.8944 MB / 1.15 GB, free: 6.844 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4315/4.768, allocations: 23.17 MB / 1.173 GB, free: 82.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01752/4.786, allocations: 6.839 MB / 1.179 GB, free: 81.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01179/4.798, allocations: 1.661 MB / 1.181 GB, free: 81.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01095/4.809, allocations: 3.566 MB / 1.184 GB, free: 81.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.904e-06/4.809, allocations: 0 / 1.184 GB, free: 81.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.78/5.589, allocations: 183.9 MB / 1.364 GB, free: 79.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/5.589, allocations: 274 kB / 1.364 GB, free: 79.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/14.37, allocations: 0 / 1.364 GB, free: 79.05 MB / 458.7 MB