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.767/1.767, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.737e-05, allocations: 7.984 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08839, allocations: 44.49 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5219, allocations: 105.4 MB / 405.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5222, allocations: 83.77 kB / 405.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.318/0.8403, allocations: 88.22 MB / 493.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8404, allocations: 0 / 493.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004055/0.8408, allocations: 99.81 kB / 493.8 MB, free: 6.023 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.01603/0.8568, allocations: 3.682 MB / 497.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.8569, allocations: 8.031 kB / 497.5 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00175/0.8587, allocations: 0.506 MB / 498 MB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.8651, allocations: 0.7836 MB / 498.8 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.8786, allocations: 3.676 MB / 0.4907 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004183/0.8791, allocations: 279.2 kB / 0.4909 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.8806, allocations: 355.9 kB / 0.4913 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.8955, allocations: 4.794 MB / 0.4959 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.8957, allocations: 11.94 kB / 0.496 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006367/0.8964, allocations: 152 kB / 0.4961 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002332/0.8966, allocations: 163.2 kB / 0.4963 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.9103, allocations: 3.958 MB / 0.5001 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04058/0.9509, allocations: 15.98 MB / 0.5157 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2744/1.225, allocations: 7.665 MB / 0.5232 GB, free: 73.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004451/1.23, allocations: 1.651 MB / 0.5248 GB, free: 73.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/1.242, allocations: 4.621 MB / 0.5293 GB, free: 72.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.242, allocations: 53.72 kB / 0.5294 GB, free: 72.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 4.879e-06/1.242, allocations: 0 / 0.5294 GB, free: 72.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.01493/1.257, allocations: 5.475 MB / 0.5347 GB, free: 71.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/1.257, allocations: 70.78 kB / 0.5348 GB, free: 71.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/1.262, allocations: 1.871 MB / 0.5366 GB, free: 71.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003977/1.263, allocations: 52.75 kB / 0.5367 GB, free: 71.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/1.264, allocations: 1.616 MB / 0.5383 GB, free: 70.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007984/1.265, allocations: 0.5458 MB / 0.5388 GB, free: 70.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.265, allocations: 42.03 kB / 0.5388 GB, free: 70.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/1.265, allocations: 376.3 kB / 0.5392 GB, free: 70.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.267, allocations: 0.8711 MB / 0.54 GB, free: 70.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/1.269, allocations: 1.331 MB / 0.5413 GB, free: 69.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/1.272, allocations: 1.093 MB / 0.5424 GB, free: 69.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/1.272, allocations: 5.656 kB / 0.5424 GB, free: 69.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007362/1.279, allocations: 3.14 MB / 0.5455 GB, free: 69.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.279, allocations: 11.75 kB / 0.5455 GB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/1.279, allocations: 11.88 kB / 0.5455 GB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/1.282, allocations: 0.7334 MB / 0.5462 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.285, allocations: 364.1 kB / 0.5466 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.299, allocations: 10.36 MB / 0.5567 GB, free: 64.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/1.301, allocations: 92.3 kB / 0.5568 GB, free: 64.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/1.302, allocations: 79.3 kB / 0.5568 GB, free: 64.03 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.0004794/1.302, allocations: 211.8 kB / 0.557 GB, free: 63.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/1.303, allocations: 230 kB / 0.5573 GB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007274/1.31, allocations: 3.037 MB / 0.5602 GB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.31, allocations: 17.56 kB / 0.5603 GB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/1.31, allocations: 13.31 kB / 0.5603 GB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/1.31, allocations: 8.812 kB / 0.5603 GB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.325, allocations: 6.408 MB / 0.5665 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.325, allocations: 0 / 0.5665 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.327, allocations: 177.7 kB / 0.5667 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.33, allocations: 0.906 MB / 0.5676 GB, free: 62.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/1.331, allocations: 43.52 kB / 0.5676 GB, free: 62.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/1.35, allocations: 14.74 MB / 0.582 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.35, allocations: 7.578 kB / 0.582 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009634/1.36, allocations: 4.422 MB / 0.5863 GB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.362, allocations: 0.5235 MB / 0.5869 GB, free: 49.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005589/1.362, allocations: 40.75 kB / 0.5869 GB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.364, allocations: 83.77 kB / 0.587 GB, free: 49.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/1.365, allocations: 163.6 kB / 0.5871 GB, free: 49.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.365, allocations: 45.5 kB / 0.5872 GB, free: 49.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00298/1.368, allocations: 1.438 MB / 0.5886 GB, free: 48.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.52e-07/1.368, allocations: 3.156 kB / 0.5886 GB, free: 48.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0041/1.372, allocations: 0.7296 MB / 0.5893 GB, free: 48.5 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.01038/1.383, allocations: 5.656 MB / 0.5948 GB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006123/1.389, allocations: 2.895 MB / 0.5976 GB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.389, allocations: 0 / 0.5976 GB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004539/1.393, allocations: 2.128 MB / 0.5997 GB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/1.398, allocations: 0.5998 MB / 0.6003 GB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.416, allocations: 6.524 MB / 0.6067 GB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/1.419, allocations: 2.744 MB / 0.6094 GB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002668/1.422, allocations: 463.7 kB / 0.6098 GB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002599/1.424, allocations: 1.313 MB / 0.6111 GB, free: 37.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/1.424, allocations: 0 / 0.6111 GB, free: 37.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4131/1.837, allocations: 64.46 MB / 0.674 GB, free: 64.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/1.838, allocations: 189.5 kB / 0.6742 GB, free: 64.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.751/6.589, allocations: 3.281 kB / 0.6742 GB, free: 64.64 MB / 410.7 MB