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.874/1.874, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.163e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09064, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5361, allocations: 105.4 MB / 405.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5364, allocations: 85.62 kB / 405.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.328/0.8644, allocations: 88.22 MB / 493.6 MB, free: 6.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8645, allocations: 4 kB / 493.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000409/0.8649, allocations: 91.88 kB / 493.7 MB, free: 6.172 MB / 378.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.01609/0.881, allocations: 3.686 MB / 497.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.8811, allocations: 8.031 kB / 497.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/0.8831, allocations: 0.4982 MB / 497.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006674/0.8899, allocations: 0.7952 MB / 498.7 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.9044, allocations: 3.668 MB / 0.4906 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000478/0.9049, allocations: 271.2 kB / 0.4909 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.9066, allocations: 359.9 kB / 0.4912 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.9227, allocations: 4.851 MB / 0.496 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.9229, allocations: 0 / 0.496 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007133/0.9236, allocations: 156 kB / 0.4961 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.9239, allocations: 159.1 kB / 0.4963 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.9375, allocations: 4.011 MB / 0.5002 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0442/0.9817, allocations: 15.98 MB / 0.5158 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2807/1.262, allocations: 7.685 MB / 0.5233 GB, free: 73.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/1.267, allocations: 1.652 MB / 0.5249 GB, free: 73.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/1.28, allocations: 4.621 MB / 0.5294 GB, free: 72.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/1.28, allocations: 50.72 kB / 0.5295 GB, free: 72.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 4.739e-06/1.28, allocations: 0 / 0.5295 GB, free: 72.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.01536/1.296, allocations: 5.475 MB / 0.5348 GB, free: 71.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/1.296, allocations: 71.78 kB / 0.5349 GB, free: 71.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/1.3, allocations: 1.873 MB / 0.5367 GB, free: 71.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/1.301, allocations: 54.48 kB / 0.5368 GB, free: 71.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/1.302, allocations: 1.622 MB / 0.5383 GB, free: 71.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008541/1.303, allocations: 0.5441 MB / 0.5389 GB, free: 70.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/1.304, allocations: 36.81 kB / 0.5389 GB, free: 70.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/1.304, allocations: 382.6 kB / 0.5393 GB, free: 70.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/1.306, allocations: 0.8773 MB / 0.5401 GB, free: 70.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/1.308, allocations: 1.331 MB / 0.5414 GB, free: 70 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/1.31, allocations: 1.102 MB / 0.5425 GB, free: 69.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/1.31, allocations: 3.844 kB / 0.5425 GB, free: 69.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007705/1.318, allocations: 3.177 MB / 0.5456 GB, free: 69.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.318, allocations: 7.812 kB / 0.5456 GB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/1.318, allocations: 17.81 kB / 0.5456 GB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/1.321, allocations: 0.7239 MB / 0.5463 GB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/1.324, allocations: 366.2 kB / 0.5467 GB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.338, allocations: 10.36 MB / 0.5568 GB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/1.341, allocations: 98.44 kB / 0.5569 GB, free: 64.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/1.342, allocations: 77.03 kB / 0.557 GB, free: 64.26 MB / 410.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.0005118/1.342, allocations: 220.7 kB / 0.5572 GB, free: 64.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/1.343, allocations: 223 kB / 0.5574 GB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007537/1.35, allocations: 3.043 MB / 0.5604 GB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.35, allocations: 13.5 kB / 0.5604 GB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.35, allocations: 10.12 kB / 0.5604 GB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/1.35, allocations: 13.12 kB / 0.5604 GB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.366, allocations: 6.412 MB / 0.5667 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.366, allocations: 0.8438 kB / 0.5667 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.368, allocations: 173.2 kB / 0.5668 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/1.371, allocations: 0.9156 MB / 0.5677 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/1.372, allocations: 46.41 kB / 0.5678 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/1.392, allocations: 14.75 MB / 0.5822 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.392, allocations: 3.906 kB / 0.5822 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.402, allocations: 4.423 MB / 0.5865 GB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.404, allocations: 0.5182 MB / 0.587 GB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005614/1.405, allocations: 42.25 kB / 0.587 GB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/1.407, allocations: 85.5 kB / 0.5871 GB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/1.407, allocations: 164 kB / 0.5873 GB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.407, allocations: 40.12 kB / 0.5873 GB, free: 49.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003072/1.411, allocations: 1.435 MB / 0.5887 GB, free: 48.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.423e-06/1.411, allocations: 7.312 kB / 0.5887 GB, free: 48.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004109/1.415, allocations: 0.7329 MB / 0.5894 GB, free: 48.55 MB / 410.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.0109/1.426, allocations: 5.663 MB / 0.595 GB, free: 45.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006398/1.432, allocations: 2.953 MB / 0.5979 GB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.432, allocations: 2.625 kB / 0.5979 GB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004835/1.437, allocations: 2.183 MB / 0.6 GB, free: 42.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/1.442, allocations: 0.5959 MB / 0.6006 GB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.46, allocations: 6.543 MB / 0.607 GB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.463, allocations: 2.744 MB / 0.6096 GB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00272/1.466, allocations: 464.8 kB / 0.6101 GB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/1.468, allocations: 1.31 MB / 0.6114 GB, free: 37.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/1.469, allocations: 0 / 0.6114 GB, free: 37.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5139/1.982, allocations: 64.8 MB / 0.6746 GB, free: 65.47 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/1.983, allocations: 190.1 kB / 0.6748 GB, free: 65.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.653/6.636, allocations: 0 / 0.6748 GB, free: 65.25 MB / 410.7 MB