Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.379e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.0974, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5122/0.6097, allocations: 141 MB / 440.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.61, allocations: 101.4 kB / 441 MB, free: 3.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.729/2.339, allocations: 351.8 MB / 0.7742 GB, free: 50.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/2.339, allocations: 0 / 0.7742 GB, free: 50.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001078/2.34, allocations: 257.7 kB / 0.7745 GB, free: 50.39 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04954/2.39, allocations: 10.27 MB / 0.7845 GB, free: 47.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/2.39, allocations: 11.19 kB / 0.7845 GB, free: 47.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00747/2.397, allocations: 1.527 MB / 0.786 GB, free: 47.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05171/2.449, allocations: 5.381 MB / 0.7913 GB, free: 46.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04377/2.493, allocations: 9.388 MB / 0.8004 GB, free: 40.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001547/2.495, allocations: 0.7944 MB / 0.8012 GB, free: 40.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006443/2.501, allocations: 1.035 MB / 0.8022 GB, free: 39.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06419/2.565, allocations: 17.72 MB / 0.8195 GB, free: 23.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005057/2.566, allocations: 15.81 kB / 0.8196 GB, free: 23.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0039/2.57, allocations: 455.4 kB / 0.82 GB, free: 22.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/2.571, allocations: 0.7355 MB / 0.8207 GB, free: 22.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05206/2.623, allocations: 16.42 MB / 0.8367 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5057/3.129, allocations: 58.32 MB / 0.8937 GB, free: 38.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03681/3.166, allocations: 23.32 MB / 0.9165 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01729/3.183, allocations: 6.935 MB / 0.9232 GB, free: 18.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06066/3.244, allocations: 21.89 MB / 0.9446 GB, free: 23.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.7e-05/3.244, allocations: 97.8 kB / 0.9447 GB, free: 23.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=662): time 1.187e-05/3.244, allocations: 6 kB / 0.9447 GB, free: 23.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=687): time 0.07169/3.316, allocations: 25.01 MB / 0.9691 GB, free: 11.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/3.316, allocations: 146.5 kB / 0.9693 GB, free: 11.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009999/3.326, allocations: 3.57 MB / 0.9728 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001605/3.327, allocations: 126.6 kB / 0.9729 GB, free: 9.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004414/3.332, allocations: 4.227 MB / 0.977 GB, free: 6.766 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004221/3.336, allocations: 2.281 MB / 0.9792 GB, free: 4.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/3.337, allocations: 133.8 kB / 0.9794 GB, free: 4.887 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008328/3.338, allocations: 0.5964 MB / 0.98 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01239/3.351, allocations: 4.436 MB / 0.9843 GB, free: 2.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02742/3.378, allocations: 6.722 MB / 0.9908 GB, free: 13.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/3.394, allocations: 5.467 MB / 0.9962 GB, free: 9.227 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.795e-05/3.394, allocations: 15.95 kB / 0.9962 GB, free: 9.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=931) (initialization): time 0.4083/3.802, allocations: 13.88 MB / 1.01 GB, free: 76.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/3.802, allocations: 25.28 kB / 1.01 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/3.803, allocations: 43.22 kB / 1.01 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01552/3.818, allocations: 3.971 MB / 1.014 GB, free: 76.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01124/3.829, allocations: 1.301 MB / 1.015 GB, free: 76.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02895/3.858, allocations: 16.73 MB / 1.031 GB, free: 70.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00902/3.867, allocations: 357.6 kB / 1.032 GB, free: 70.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002414/3.87, allocations: 294.7 kB / 1.032 GB, free: 70.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.003831/3.874, allocations: 480.7 kB / 1.032 GB, free: 70.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002974/3.877, allocations: 0.5269 MB / 1.033 GB, free: 70.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04594/3.923, allocations: 13.15 MB / 1.046 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003322/3.923, allocations: 152.7 kB / 1.046 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-05/3.923, allocations: 9.781 kB / 1.046 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001882/3.923, allocations: 31.17 kB / 1.046 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09019/4.014, allocations: 26.51 MB / 1.072 GB, free: 64.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001251/4.014, allocations: 7 kB / 1.072 GB, free: 64.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008021/4.022, allocations: 0.8601 MB / 1.073 GB, free: 64.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01386/4.036, allocations: 3.921 MB / 1.077 GB, free: 62.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001858/4.038, allocations: 151.8 kB / 1.077 GB, free: 62.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02895/4.067, allocations: 20.67 MB / 1.097 GB, free: 47.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/4.067, allocations: 5.25 kB / 1.097 GB, free: 47.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05026/4.117, allocations: 19.8 MB / 1.116 GB, free: 38.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006427/4.123, allocations: 1.649 MB / 1.118 GB, free: 37.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003019/4.127, allocations: 106.1 kB / 1.118 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007507/4.134, allocations: 312.2 kB / 1.118 GB, free: 37.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002644/4.137, allocations: 0.5048 MB / 1.119 GB, free: 37.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001664/4.139, allocations: 187.9 kB / 1.119 GB, free: 37.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007725/4.146, allocations: 2.694 MB / 1.121 GB, free: 36.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/4.146, allocations: 0 / 1.121 GB, free: 36.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01258/4.159, allocations: 1.979 MB / 1.123 GB, free: 35.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 403 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.04978/4.209, allocations: 21.68 MB / 1.145 GB, free: 16.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03116/4.24, allocations: 11.55 MB / 1.156 GB, free: 5.801 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/4.24, allocations: 4.375 kB / 1.156 GB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01921/4.259, allocations: 6.548 MB / 1.162 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/4.271, allocations: 1.167 MB / 1.163 GB, free: 14.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4502/4.721, allocations: 22.74 MB / 1.186 GB, free: 88.33 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01838/4.74, allocations: 7.115 MB / 1.193 GB, free: 87.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01209/4.752, allocations: 1.66 MB / 1.194 GB, free: 87.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01126/4.763, allocations: 3.991 MB / 1.198 GB, free: 87.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/4.763, allocations: 0 / 1.198 GB, free: 87.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8016/5.565, allocations: 190.3 MB / 1.384 GB, free: 76.22 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/5.565, allocations: 244.3 kB / 1.384 GB, free: 75.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/15.19, allocations: 3.953 kB / 1.384 GB, free: 75.89 MB / 474.7 MB