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.966/1.966, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.381e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 44.51 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.628, allocations: 141 MB / 441 MB, free: 2.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/0.6284, allocations: 97.53 kB / 441.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.858/2.486, allocations: 351.8 MB / 0.7743 GB, free: 50.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/2.486, allocations: 0 / 0.7743 GB, free: 50.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008602/2.487, allocations: 249.2 kB / 0.7745 GB, free: 50.09 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.04706/2.534, allocations: 10.28 MB / 0.7846 GB, free: 46.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/2.534, allocations: 11.44 kB / 0.7846 GB, free: 46.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00667/2.541, allocations: 1.521 MB / 0.786 GB, free: 46.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04582/2.587, allocations: 5.377 MB / 0.7913 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03199/2.619, allocations: 9.39 MB / 0.8005 GB, free: 40.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/2.62, allocations: 0.7944 MB / 0.8012 GB, free: 39.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005477/2.625, allocations: 1.034 MB / 0.8023 GB, free: 38.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05535/2.681, allocations: 17.59 MB / 0.8194 GB, free: 23.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004967/2.681, allocations: 23.52 kB / 0.8195 GB, free: 23.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003835/2.685, allocations: 452 kB / 0.8199 GB, free: 22.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/2.686, allocations: 0.7302 MB / 0.8206 GB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05147/2.738, allocations: 16.29 MB / 0.8365 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5017/3.239, allocations: 58.32 MB / 0.8935 GB, free: 38.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03579/3.275, allocations: 23.26 MB / 0.9162 GB, free: 21.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/3.293, allocations: 6.938 MB / 0.9229 GB, free: 18.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07982/3.372, allocations: 21.89 MB / 0.9443 GB, free: 23.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/3.373, allocations: 100.7 kB / 0.9444 GB, free: 23.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=662): time 1.554e-05/3.373, allocations: 0 / 0.9444 GB, free: 23.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=687): time 0.08513/3.458, allocations: 25.01 MB / 0.9688 GB, free: 11.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/3.458, allocations: 140.9 kB / 0.969 GB, free: 11.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01352/3.472, allocations: 3.574 MB / 0.9725 GB, free: 10.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001966/3.474, allocations: 123.5 kB / 0.9726 GB, free: 9.906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006149/3.48, allocations: 4.227 MB / 0.9767 GB, free: 6.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005371/3.485, allocations: 2.28 MB / 0.9789 GB, free: 4.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/3.487, allocations: 130.1 kB / 0.9791 GB, free: 4.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000955/3.488, allocations: 0.5981 MB / 0.9797 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0166/3.504, allocations: 4.437 MB / 0.984 GB, free: 2.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03978/3.544, allocations: 6.667 MB / 0.9905 GB, free: 14.01 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/3.56, allocations: 5.469 MB / 0.9958 GB, free: 9.277 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.641e-05/3.56, allocations: 12 kB / 0.9958 GB, free: 9.266 MB / 458.7 MB Notification: Performance of matching and sorting (n=931) (initialization): time 0.4165/3.977, allocations: 13.72 MB / 1.009 GB, free: 75.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/3.977, allocations: 24.81 kB / 1.009 GB, free: 75.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/3.977, allocations: 43.38 kB / 1.009 GB, free: 75.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01629/3.993, allocations: 3.975 MB / 1.013 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/4.005, allocations: 1.297 MB / 1.014 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02837/4.033, allocations: 16.72 MB / 1.031 GB, free: 69.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009061/4.042, allocations: 354.7 kB / 1.031 GB, free: 69.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002165/4.044, allocations: 298.4 kB / 1.031 GB, free: 69.48 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.00363/4.048, allocations: 484.2 kB / 1.032 GB, free: 69.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002996/4.051, allocations: 0.529 MB / 1.032 GB, free: 69.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03999/4.091, allocations: 13.15 MB / 1.045 GB, free: 68.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002587/4.092, allocations: 155.5 kB / 1.045 GB, free: 68.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/4.092, allocations: 7.719 kB / 1.045 GB, free: 68.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001567/4.092, allocations: 29.11 kB / 1.045 GB, free: 68.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07472/4.166, allocations: 26.51 MB / 1.071 GB, free: 63.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001312/4.167, allocations: 3.75 kB / 1.071 GB, free: 63.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008355/4.175, allocations: 0.8575 MB / 1.072 GB, free: 63.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/4.189, allocations: 3.923 MB / 1.076 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001918/4.191, allocations: 154.4 kB / 1.076 GB, free: 62.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03199/4.223, allocations: 20.66 MB / 1.096 GB, free: 47.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/4.224, allocations: 8.844 kB / 1.096 GB, free: 47.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05286/4.276, allocations: 19.8 MB / 1.116 GB, free: 37.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0064/4.283, allocations: 1.641 MB / 1.117 GB, free: 36.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002941/4.286, allocations: 118.7 kB / 1.117 GB, free: 36.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00776/4.294, allocations: 303.2 kB / 1.118 GB, free: 36.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00269/4.296, allocations: 0.5063 MB / 1.118 GB, free: 36.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001445/4.298, allocations: 186.4 kB / 1.118 GB, free: 36.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007292/4.305, allocations: 2.692 MB / 1.121 GB, free: 35.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/4.305, allocations: 0 / 1.121 GB, free: 35.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01332/4.319, allocations: 1.98 MB / 1.123 GB, free: 35.28 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.05719/4.376, allocations: 21.69 MB / 1.144 GB, free: 16.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03264/4.409, allocations: 11.4 MB / 1.155 GB, free: 5.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/4.409, allocations: 1.5 kB / 1.155 GB, free: 5.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01965/4.428, allocations: 6.479 MB / 1.162 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/4.44, allocations: 1.171 MB / 1.163 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4567/4.897, allocations: 22.71 MB / 1.185 GB, free: 87.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01976/4.917, allocations: 7.118 MB / 1.192 GB, free: 86.87 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01203/4.929, allocations: 1.655 MB / 1.193 GB, free: 86.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01128/4.94, allocations: 3.986 MB / 1.197 GB, free: 86.82 MB / 474.7 MB Notification: Performance of SimCode: time 2.444e-06/4.94, allocations: 0 / 1.197 GB, free: 86.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7892/5.73, allocations: 189.5 MB / 1.382 GB, free: 74.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/5.73, allocations: 243 kB / 1.383 GB, free: 74.45 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.678/15.41, allocations: 7.469 kB / 1.383 GB, free: 74.45 MB / 474.7 MB