Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.903/1.903, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.216e-05, allocations: 0 / 256.5 MB, free: 1.574 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09709, allocations: 44.51 MB / 301 MB, free: 4.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5169/0.6141, allocations: 147.7 MB / 448.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.6145, allocations: 107.5 kB / 448.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.463/3.077, allocations: 468.1 MB / 0.8954 GB, free: 28.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/3.077, allocations: 0 / 0.8954 GB, free: 28.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001215/3.079, allocations: 330.8 kB / 0.8957 GB, free: 28.19 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.06575/3.144, allocations: 13.57 MB / 0.909 GB, free: 24.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/3.144, allocations: 11.5 kB / 0.909 GB, free: 24.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009473/3.154, allocations: 2.004 MB / 0.9109 GB, free: 23.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05506/3.209, allocations: 6.719 MB / 0.9175 GB, free: 23.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03842/3.247, allocations: 11.45 MB / 0.9287 GB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001696/3.249, allocations: 1.048 MB / 0.9297 GB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007178/3.256, allocations: 1.355 MB / 0.931 GB, free: 21.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09911/3.356, allocations: 23.64 MB / 0.9541 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001105/3.357, allocations: 24.36 kB / 0.9541 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007913/3.365, allocations: 0.5824 MB / 0.9547 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/3.367, allocations: 0.9356 MB / 0.9556 GB, free: 20.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09034/3.457, allocations: 21.45 MB / 0.9766 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6796/4.137, allocations: 77.59 MB / 1.052 GB, free: 26.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04911/4.186, allocations: 30.48 MB / 1.082 GB, free: 26.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02721/4.213, allocations: 10.65 MB / 1.093 GB, free: 26.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09681/4.31, allocations: 33.26 MB / 1.125 GB, free: 19.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/4.31, allocations: 124.7 kB / 1.125 GB, free: 19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1011): time 1.494e-05/4.31, allocations: 0 / 1.125 GB, free: 19 MB / 474.7 MB Notification: Performance of matching and sorting (n=1019): time 0.1156/4.426, allocations: 37.62 MB / 1.162 GB, free: 1.613 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/4.426, allocations: 172.5 kB / 1.162 GB, free: 1.512 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/4.437, allocations: 4.302 MB / 1.166 GB, free: 15.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002442/4.44, allocations: 165.7 kB / 1.166 GB, free: 15.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005509/4.445, allocations: 5.201 MB / 1.171 GB, free: 10.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006505/4.452, allocations: 3.341 MB / 1.175 GB, free: 7.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/4.454, allocations: 172 kB / 1.175 GB, free: 7.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001275/4.456, allocations: 0.7016 MB / 1.176 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01951/4.475, allocations: 6.658 MB / 1.182 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4643/4.939, allocations: 10.22 MB / 1.192 GB, free: 71.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02265/4.962, allocations: 7.956 MB / 1.2 GB, free: 71.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/4.962, allocations: 17.7 kB / 1.2 GB, free: 71.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.06151/5.024, allocations: 20.82 MB / 1.22 GB, free: 70.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/5.024, allocations: 27.5 kB / 1.22 GB, free: 70.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/5.024, allocations: 42.34 kB / 1.22 GB, free: 70.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03074/5.055, allocations: 8.432 MB / 1.228 GB, free: 70.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/5.067, allocations: 1.396 MB / 1.23 GB, free: 70.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05338/5.12, allocations: 27.77 MB / 1.257 GB, free: 62.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/5.131, allocations: 425.5 kB / 1.257 GB, free: 62.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00329/5.135, allocations: 373.8 kB / 1.258 GB, free: 62.53 MB / 490.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: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.005966/5.141, allocations: 0.57 MB / 1.258 GB, free: 62.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004389/5.145, allocations: 0.6941 MB / 1.259 GB, free: 62.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06461/5.21, allocations: 21 MB / 1.279 GB, free: 56.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004306/5.21, allocations: 254.2 kB / 1.28 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-05/5.21, allocations: 11.66 kB / 1.28 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002266/5.211, allocations: 39.42 kB / 1.28 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1169/5.328, allocations: 39.9 MB / 1.319 GB, free: 39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001738/5.328, allocations: 2.969 kB / 1.319 GB, free: 39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008979/5.337, allocations: 0.9771 MB / 1.32 GB, free: 38.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03018/5.367, allocations: 8.529 MB / 1.328 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002979/5.37, allocations: 217.9 kB / 1.328 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05827/5.428, allocations: 32.03 MB / 1.359 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/5.428, allocations: 4 kB / 1.359 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5085/5.937, allocations: 33.22 MB / 1.392 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008857/5.946, allocations: 2.361 MB / 1.394 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004026/5.95, allocations: 157.5 kB / 1.394 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009903/5.96, allocations: 398.5 kB / 1.395 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00405/5.964, allocations: 0.7891 MB / 1.396 GB, free: 67.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002579/5.967, allocations: 270.3 kB / 1.396 GB, free: 67.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008658/5.975, allocations: 3.259 MB / 1.399 GB, free: 67.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.12e-07/5.975, allocations: 1.875 kB / 1.399 GB, free: 67.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01639/5.992, allocations: 2.647 MB / 1.402 GB, free: 67.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.08578/6.078, allocations: 33.19 MB / 1.434 GB, free: 64.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04693/6.125, allocations: 17.23 MB / 1.451 GB, free: 58.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/6.125, allocations: 0 / 1.451 GB, free: 58.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03043/6.155, allocations: 10.02 MB / 1.461 GB, free: 53.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01504/6.17, allocations: 1.582 MB / 1.462 GB, free: 53.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/6.272, allocations: 31.44 MB / 1.493 GB, free: 35.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02236/6.294, allocations: 9.511 MB / 1.502 GB, free: 28.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01297/6.307, allocations: 1.984 MB / 1.504 GB, free: 27.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01347/6.321, allocations: 5.188 MB / 1.509 GB, free: 22.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/6.321, allocations: 0 / 1.509 GB, free: 22.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.483/7.804, allocations: 276.4 MB / 1.779 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/7.804, allocations: 235.5 kB / 1.779 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/20.22, allocations: 0 / 1.779 GB, free: 79.16 MB / 0.5105 GB