Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.69/2.69, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.859e-05, allocations: 2.562 kB / 249.8 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5688/0.7104, allocations: 116.4 MB / 410.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/0.7108, allocations: 88.25 kB / 410.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004/1.715, allocations: 116.7 MB / 0.5151 GB, free: 66.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.715, allocations: 0 / 0.5151 GB, free: 66.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006767/1.715, allocations: 138.2 kB / 0.5152 GB, free: 66.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.0245/1.74, allocations: 4.925 MB / 0.52 GB, free: 64.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/1.74, allocations: 14.38 kB / 0.52 GB, free: 64.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003218/1.743, allocations: 0.4987 MB / 0.5205 GB, free: 64.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009829/1.753, allocations: 0.9952 MB / 0.5215 GB, free: 64.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/1.773, allocations: 4.586 MB / 0.526 GB, free: 63.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/1.774, allocations: 223.2 kB / 0.5262 GB, free: 63.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/1.776, allocations: 306.2 kB / 0.5265 GB, free: 63.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01957/1.796, allocations: 5.142 MB / 0.5315 GB, free: 63.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02523/1.821, allocations: 5.97 MB / 0.5373 GB, free: 62.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004145/1.822, allocations: 16.25 kB / 0.5373 GB, free: 62.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002033/1.824, allocations: 3.406 kB / 0.5374 GB, free: 62.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003894/1.824, allocations: 232.7 kB / 0.5376 GB, free: 62.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06488/1.889, allocations: 20.46 MB / 0.5575 GB, free: 55.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/1.904, allocations: 8.545 MB / 0.5659 GB, free: 48.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006567/1.91, allocations: 2.114 MB / 0.568 GB, free: 47.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0235/1.934, allocations: 5.998 MB / 0.5738 GB, free: 44.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.123e-05/1.934, allocations: 59.16 kB / 0.5739 GB, free: 44.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=220): time 7.113e-06/1.934, allocations: 0 / 0.5739 GB, free: 44.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=239): time 0.03263/1.967, allocations: 8.196 MB / 0.5819 GB, free: 41.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.967, allocations: 81.84 kB / 0.582 GB, free: 41.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006414/1.973, allocations: 2.114 MB / 0.584 GB, free: 40.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006539/1.974, allocations: 25.7 kB / 0.584 GB, free: 40.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002556/1.977, allocations: 2.317 MB / 0.5863 GB, free: 38.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/1.978, allocations: 0.7766 MB / 0.5871 GB, free: 37.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/1.979, allocations: 7.938 kB / 0.5871 GB, free: 37.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002948/1.979, allocations: 419.8 kB / 0.5875 GB, free: 37.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/1.983, allocations: 1.236 MB / 0.5887 GB, free: 36.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004628/1.987, allocations: 1.981 MB / 0.5906 GB, free: 34.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005916/1.993, allocations: 1.716 MB / 0.5923 GB, free: 33.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/1.993, allocations: 8 kB / 0.5923 GB, free: 33.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01592/2.009, allocations: 4.339 MB / 0.5965 GB, free: 29.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/2.01, allocations: 22.14 kB / 0.5966 GB, free: 29.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.918e-05/2.01, allocations: 28.06 kB / 0.5966 GB, free: 29.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/2.013, allocations: 0.7405 MB / 0.5973 GB, free: 28.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/2.02, allocations: 0.6398 MB / 0.5979 GB, free: 28.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/2.038, allocations: 12.79 MB / 0.6104 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/2.042, allocations: 100.5 kB / 0.6105 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008895/2.043, allocations: 123.4 kB / 0.6106 GB, free: 15.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009059/2.044, allocations: 187.8 kB / 0.6108 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/2.046, allocations: 300.2 kB / 0.6111 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/2.061, allocations: 4.008 MB / 0.615 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-05/2.061, allocations: 28 kB / 0.615 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.144e-05/2.061, allocations: 12 kB / 0.6151 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.132e-05/2.061, allocations: 14.34 kB / 0.6151 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/2.091, allocations: 8.267 MB / 0.6231 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/2.091, allocations: 4 kB / 0.6231 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004391/2.096, allocations: 390.7 kB / 0.6235 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/2.101, allocations: 0.9027 MB / 0.6244 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006537/2.101, allocations: 41.56 kB / 0.6244 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03041/2.132, allocations: 15.84 MB / 0.6399 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/2.132, allocations: 4 kB / 0.6399 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4479/2.58, allocations: 6.154 MB / 0.6459 GB, free: 71.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/2.583, allocations: 0.6561 MB / 0.6466 GB, free: 71.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001376/2.585, allocations: 25.73 kB / 0.6466 GB, free: 71.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/2.589, allocations: 99.56 kB / 0.6467 GB, free: 71.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001121/2.59, allocations: 200.9 kB / 0.6469 GB, free: 71.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004107/2.59, allocations: 68.86 kB / 0.6469 GB, free: 71.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005806/2.596, allocations: 1.57 MB / 0.6485 GB, free: 70.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.593e-06/2.596, allocations: 1.156 kB / 0.6485 GB, free: 70.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007911/2.604, allocations: 0.902 MB / 0.6494 GB, free: 70.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(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.02244/2.627, allocations: 7.966 MB / 0.6571 GB, free: 68.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01351/2.64, allocations: 4.251 MB / 0.6613 GB, free: 67.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/2.64, allocations: 2.438 kB / 0.6613 GB, free: 67.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00873/2.649, allocations: 2.873 MB / 0.6641 GB, free: 66.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007596/2.657, allocations: 0.6363 MB / 0.6647 GB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03808/2.695, allocations: 9.37 MB / 0.6739 GB, free: 64.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008299/2.703, allocations: 3.522 MB / 0.6773 GB, free: 63.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005604/2.709, allocations: 0.7222 MB / 0.678 GB, free: 63.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005572/2.715, allocations: 1.941 MB / 0.6799 GB, free: 63.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/2.715, allocations: 0 / 0.6799 GB, free: 63.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2931/3.008, allocations: 77 MB / 0.7551 GB, free: 28.86 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000253/3.008, allocations: 164.7 kB / 0.7553 GB, free: 28.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.594/10.6, allocations: 0 / 0.7553 GB, free: 28.66 MB / 410.7 MB