Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.791e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2951, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.4754, allocations: 104.7 MB / 398.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.4757, allocations: 83.95 kB / 399 MB, free: 8.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5541/1.03, allocations: 87.1 MB / 486.1 MB, free: 62.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.03, allocations: 0 / 486.1 MB, free: 62.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003475/1.03, allocations: 95.78 kB / 486.2 MB, free: 62.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01456/1.045, allocations: 3.686 MB / 489.9 MB, free: 59.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.045, allocations: 12.03 kB / 489.9 MB, free: 59.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/1.051, allocations: 0.7874 MB / 490.7 MB, free: 58.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/1.064, allocations: 3.666 MB / 494.4 MB, free: 54.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.064, allocations: 120 kB / 494.5 MB, free: 54.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/1.065, allocations: 208 kB / 494.7 MB, free: 54.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01073/1.076, allocations: 3.799 MB / 498.5 MB, free: 50.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.089, allocations: 4.327 MB / 0.491 GB, free: 46.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/1.089, allocations: 7.844 kB / 0.491 GB, free: 46.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005679/1.089, allocations: 4 kB / 0.491 GB, free: 46.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/1.09, allocations: 159.2 kB / 0.4912 GB, free: 45.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03543/1.125, allocations: 15.28 MB / 0.5061 GB, free: 30.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009417/1.135, allocations: 7.589 MB / 0.5135 GB, free: 21.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/1.138, allocations: 1.592 MB / 0.5151 GB, free: 20.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/1.149, allocations: 4.498 MB / 0.5195 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.149, allocations: 55.81 kB / 0.5195 GB, free: 15.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=159): time 4.539e-06/1.15, allocations: 0 / 0.5195 GB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=162): time 0.01489/1.164, allocations: 5.566 MB / 0.525 GB, free: 10 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.164, allocations: 72.72 kB / 0.525 GB, free: 9.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/1.168, allocations: 1.569 MB / 0.5266 GB, free: 8.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/1.168, allocations: 25.7 kB / 0.5266 GB, free: 8.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.169, allocations: 1.617 MB / 0.5282 GB, free: 6.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/1.17, allocations: 0.5214 MB / 0.5287 GB, free: 6.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.17, allocations: 0 / 0.5287 GB, free: 6.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/1.17, allocations: 373.9 kB / 0.529 GB, free: 5.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.172, allocations: 0.8395 MB / 0.5299 GB, free: 4.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.174, allocations: 1.296 MB / 0.5311 GB, free: 3.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/1.177, allocations: 1.181 MB / 0.5323 GB, free: 2.234 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1.177, allocations: 4 kB / 0.5323 GB, free: 2.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.008293/1.185, allocations: 3.084 MB / 0.5353 GB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/1.186, allocations: 20.3 kB / 0.5353 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/1.186, allocations: 12 kB / 0.5353 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/1.189, allocations: 0.6973 MB / 0.536 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/1.192, allocations: 367.4 kB / 0.5364 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.208, allocations: 10.03 MB / 0.5461 GB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.211, allocations: 55.84 kB / 0.5462 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003996/1.211, allocations: 76 kB / 0.5463 GB, free: 3.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (187): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005309/1.212, allocations: 159.5 kB / 0.5464 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008571/1.22, allocations: 2.834 MB / 0.5492 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009025/1.221, allocations: 205.5 kB / 0.5494 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009249/1.231, allocations: 3.002 MB / 0.5523 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.231, allocations: 16 kB / 0.5523 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.231, allocations: 8 kB / 0.5523 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.146e-05/1.231, allocations: 7.969 kB / 0.5524 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.248, allocations: 5.907 MB / 0.5581 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.248, allocations: 0 / 0.5581 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.25, allocations: 179.9 kB / 0.5583 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003837/1.253, allocations: 0.8718 MB / 0.5591 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/1.254, allocations: 19.98 kB / 0.5592 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2909/1.545, allocations: 14.22 MB / 0.573 GB, free: 85.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/1.545, allocations: 7.312 kB / 0.5731 GB, free: 85.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.556, allocations: 4.39 MB / 0.5773 GB, free: 84.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.558, allocations: 0.4953 MB / 0.5778 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007891/1.559, allocations: 8.656 kB / 0.5778 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.561, allocations: 63.34 kB / 0.5779 GB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000744/1.562, allocations: 159 kB / 0.578 GB, free: 84.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.562, allocations: 45.53 kB / 0.5781 GB, free: 84.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002738/1.565, allocations: 1.178 MB / 0.5792 GB, free: 84.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.565, allocations: 3.406 kB / 0.5792 GB, free: 84.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004319/1.569, allocations: 0.6407 MB / 0.5799 GB, free: 84.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/1.581, allocations: 5.55 MB / 0.5853 GB, free: 82.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006426/1.587, allocations: 2.817 MB / 0.588 GB, free: 82.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.587, allocations: 0 / 0.588 GB, free: 82.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004845/1.592, allocations: 2.093 MB / 0.5901 GB, free: 81.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/1.596, allocations: 470.5 kB / 0.5905 GB, free: 81.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.615, allocations: 6.347 MB / 0.5967 GB, free: 80.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/1.619, allocations: 2.739 MB / 0.5994 GB, free: 79.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002748/1.622, allocations: 442.6 kB / 0.5998 GB, free: 79.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003049/1.625, allocations: 1.311 MB / 0.6011 GB, free: 79.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.515e-06/1.625, allocations: 0 / 0.6011 GB, free: 79.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/1.787, allocations: 54.93 MB / 0.6547 GB, free: 47.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/1.788, allocations: 154.9 kB / 0.6549 GB, free: 47.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.487/6.275, allocations: 0 / 0.6549 GB, free: 47.65 MB / 394.7 MB