Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.206/2.206, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.683e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3373, allocations: 44.5 MB / 294.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.5783, allocations: 112.4 MB / 406.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004523/0.5788, allocations: 87.94 kB / 406.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9087/1.487, allocations: 131.8 MB / 0.526 GB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.488, allocations: 0 / 0.526 GB, free: 11.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006074/1.488, allocations: 131.8 kB / 0.5261 GB, free: 11.57 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02275/1.511, allocations: 4.763 MB / 0.5308 GB, free: 6.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.511, allocations: 20.02 kB / 0.5308 GB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008977/1.52, allocations: 0.9695 MB / 0.5317 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/1.539, allocations: 4.485 MB / 0.5361 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/1.539, allocations: 156 kB / 0.5363 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00211/1.541, allocations: 283.8 kB / 0.5365 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02033/1.562, allocations: 5.115 MB / 0.5415 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/1.587, allocations: 5.897 MB / 0.5473 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/1.588, allocations: 7.844 kB / 0.5473 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/1.589, allocations: 4 kB / 0.5473 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004678/1.589, allocations: 237.8 kB / 0.5475 GB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4285/2.018, allocations: 20.02 MB / 0.5671 GB, free: 40.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/2.032, allocations: 9.706 MB / 0.5765 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005805/2.038, allocations: 2.308 MB / 0.5788 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/2.056, allocations: 6.298 MB / 0.5849 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/2.056, allocations: 58.47 kB / 0.585 GB, free: 33.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 6.622e-06/2.056, allocations: 0 / 0.585 GB, free: 33.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=224): time 0.02194/2.078, allocations: 7.245 MB / 0.5921 GB, free: 31.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/2.078, allocations: 76.09 kB / 0.5922 GB, free: 31.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/2.083, allocations: 2.095 MB / 0.5942 GB, free: 31.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004902/2.083, allocations: 25.7 kB / 0.5942 GB, free: 31.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/2.085, allocations: 2.172 MB / 0.5963 GB, free: 30.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/2.086, allocations: 0.7159 MB / 0.597 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/2.086, allocations: 0 / 0.597 GB, free: 30.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/2.087, allocations: 411.6 kB / 0.5974 GB, free: 30.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/2.089, allocations: 1.158 MB / 0.5986 GB, free: 30.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/2.092, allocations: 1.716 MB / 0.6002 GB, free: 29.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/2.096, allocations: 1.576 MB / 0.6018 GB, free: 29.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/2.096, allocations: 8.844 kB / 0.6018 GB, free: 29.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01071/2.107, allocations: 3.887 MB / 0.6056 GB, free: 29.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/2.107, allocations: 10.56 kB / 0.6056 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/2.107, allocations: 18.5 kB / 0.6056 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/2.11, allocations: 0.6399 MB / 0.6062 GB, free: 28.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/2.115, allocations: 0.5468 MB / 0.6068 GB, free: 28.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/2.13, allocations: 9.618 MB / 0.6162 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/2.134, allocations: 56.7 kB / 0.6162 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004528/2.135, allocations: 100.8 kB / 0.6163 GB, free: 22.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006604/2.135, allocations: 174.7 kB / 0.6165 GB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01014/2.145, allocations: 3.458 MB / 0.6199 GB, free: 20.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/2.147, allocations: 285.8 kB / 0.6201 GB, free: 20.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/2.158, allocations: 3.666 MB / 0.6237 GB, free: 18.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/2.158, allocations: 22.47 kB / 0.6237 GB, free: 18.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/2.158, allocations: 13.31 kB / 0.6237 GB, free: 18.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-05/2.158, allocations: 10.64 kB / 0.6238 GB, free: 18.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/2.18, allocations: 7.671 MB / 0.6312 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/2.18, allocations: 0 / 0.6312 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/2.184, allocations: 345.1 kB / 0.6316 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004105/2.188, allocations: 0.8073 MB / 0.6324 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004485/2.189, allocations: 28.33 kB / 0.6324 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/2.21, allocations: 13.85 MB / 0.6459 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/2.21, allocations: 0 / 0.6459 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/2.225, allocations: 5.557 MB / 0.6513 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/2.227, allocations: 0.6439 MB / 0.652 GB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/2.228, allocations: 16.45 kB / 0.652 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/2.231, allocations: 87.53 kB / 0.6521 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007943/2.232, allocations: 192.3 kB / 0.6523 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/2.233, allocations: 65.39 kB / 0.6523 GB, free: 1.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003865/2.236, allocations: 1.569 MB / 0.6538 GB, free: 1.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.51e-07/2.236, allocations: 0 / 0.6538 GB, free: 1.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005767/2.242, allocations: 0.8559 MB / 0.6547 GB, free: 1.027 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01912/2.261, allocations: 7.008 MB / 0.6615 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/2.272, allocations: 3.558 MB / 0.665 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.272, allocations: 4.875 kB / 0.665 GB, free: 9.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007317/2.28, allocations: 2.454 MB / 0.6674 GB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006586/2.286, allocations: 0.6101 MB / 0.668 GB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/2.323, allocations: 8.88 MB / 0.6767 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008044/2.331, allocations: 3.508 MB / 0.6801 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004962/2.336, allocations: 0.6891 MB / 0.6808 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005459/2.342, allocations: 1.826 MB / 0.6826 GB, free: 10.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/2.342, allocations: 0 / 0.6826 GB, free: 10.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.69/3.032, allocations: 71.14 MB / 0.752 GB, free: 81.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002566/3.032, allocations: 171.2 kB / 0.7522 GB, free: 81.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.133/9.165, allocations: 3.906 kB / 0.7522 GB, free: 81.62 MB / 426.7 MB