Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.832/2.832, allocations: 195 MB / 202.9 MB, free: 6.738 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.545e-05, allocations: 4.125 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5677/0.6808, allocations: 104 MB / 398.2 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/0.6812, allocations: 90.41 kB / 398.3 MB, free: 284 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4217/1.103, allocations: 79.9 MB / 478.2 MB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.103, allocations: 0 / 478.2 MB, free: 9.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004557/1.104, allocations: 79.88 kB / 478.3 MB, free: 9.09 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01885/1.122, allocations: 3.207 MB / 481.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.537e-05/1.122, allocations: 12.02 kB / 481.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002332/1.125, allocations: 323.6 kB / 481.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008708/1.134, allocations: 0.7412 MB / 482.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/1.151, allocations: 3.3 MB / 485.9 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/1.152, allocations: 138.5 kB / 486 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001823/1.154, allocations: 191.9 kB / 486.2 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01482/1.168, allocations: 3.156 MB / 489.3 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/1.187, allocations: 3.665 MB / 493 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002443/1.187, allocations: 4 kB / 493 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.188, allocations: 7.953 kB / 493 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003073/1.188, allocations: 146.4 kB / 493.2 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4223/1.611, allocations: 13.27 MB / 0.4946 GB, free: 74.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.624, allocations: 6.528 MB / 0.5009 GB, free: 69.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004791/1.629, allocations: 1.303 MB / 0.5022 GB, free: 69.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/1.644, allocations: 3.681 MB / 0.5058 GB, free: 68.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.644, allocations: 55.59 kB / 0.5059 GB, free: 68.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 6.542e-06/1.644, allocations: 0 / 0.5059 GB, free: 68.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.02014/1.665, allocations: 4.472 MB / 0.5102 GB, free: 67.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/1.665, allocations: 64.38 kB / 0.5103 GB, free: 67.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/1.669, allocations: 1.238 MB / 0.5115 GB, free: 67.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004188/1.669, allocations: 33.64 kB / 0.5115 GB, free: 67.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.671, allocations: 1.421 MB / 0.5129 GB, free: 67.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009157/1.672, allocations: 495.2 kB / 0.5134 GB, free: 66.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.672, allocations: 3 kB / 0.5134 GB, free: 66.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/1.673, allocations: 372.9 kB / 0.5137 GB, free: 66.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/1.675, allocations: 0.6322 MB / 0.5144 GB, free: 66.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/1.677, allocations: 1.091 MB / 0.5154 GB, free: 66.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/1.681, allocations: 0.9774 MB / 0.5164 GB, free: 66.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-05/1.682, allocations: 6.453 kB / 0.5164 GB, free: 66.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.009779/1.691, allocations: 2.444 MB / 0.5188 GB, free: 65.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/1.691, allocations: 11.75 kB / 0.5188 GB, free: 65.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/1.691, allocations: 11.56 kB / 0.5188 GB, free: 65.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/1.693, allocations: 378.4 kB / 0.5192 GB, free: 65.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.697, allocations: 379.2 kB / 0.5195 GB, free: 65.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.71, allocations: 7.549 MB / 0.5269 GB, free: 60.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/1.714, allocations: 43.22 kB / 0.5269 GB, free: 60.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006621/1.715, allocations: 71.09 kB / 0.527 GB, free: 60.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008054/1.716, allocations: 157.7 kB / 0.5272 GB, free: 60.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009552/1.717, allocations: 182.5 kB / 0.5273 GB, free: 60.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.73, allocations: 2.321 MB / 0.5296 GB, free: 60.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-05/1.73, allocations: 16.72 kB / 0.5296 GB, free: 60.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-05/1.73, allocations: 6.969 kB / 0.5296 GB, free: 60.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.284e-05/1.73, allocations: 7.359 kB / 0.5296 GB, free: 60.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/1.754, allocations: 4.742 MB / 0.5343 GB, free: 59.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/1.754, allocations: 5.156 kB / 0.5343 GB, free: 59.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/1.757, allocations: 199.2 kB / 0.5344 GB, free: 59.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00422/1.762, allocations: 0.5368 MB / 0.535 GB, free: 59.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004895/1.762, allocations: 21.19 kB / 0.535 GB, free: 59.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02939/1.792, allocations: 11.76 MB / 0.5465 GB, free: 51.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/1.792, allocations: 7.25 kB / 0.5465 GB, free: 51.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.808, allocations: 3.372 MB / 0.5498 GB, free: 49.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/1.81, allocations: 407.3 kB / 0.5502 GB, free: 49.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009281/1.811, allocations: 18.67 kB / 0.5502 GB, free: 49.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.814, allocations: 43.98 kB / 0.5502 GB, free: 49.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008748/1.815, allocations: 122.3 kB / 0.5503 GB, free: 49.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003006/1.815, allocations: 41.88 kB / 0.5504 GB, free: 49.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003379/1.819, allocations: 0.9264 MB / 0.5513 GB, free: 49.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.819, allocations: 0 / 0.5513 GB, free: 49.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005399/1.824, allocations: 0.5395 MB / 0.5518 GB, free: 49 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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%) 7,(1,100.0%) 13,(3,100.0%) 9,(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.01414/1.838, allocations: 4.559 MB / 0.5563 GB, free: 46.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007421/1.846, allocations: 2.225 MB / 0.5584 GB, free: 45.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.846, allocations: 0 / 0.5584 GB, free: 45.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005552/1.851, allocations: 1.689 MB / 0.5601 GB, free: 44.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/1.857, allocations: 388.5 kB / 0.5605 GB, free: 43.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/1.881, allocations: 5.455 MB / 0.5658 GB, free: 41.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005379/1.887, allocations: 2.368 MB / 0.5681 GB, free: 40.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003445/1.89, allocations: 372.9 kB / 0.5685 GB, free: 40.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003736/1.894, allocations: 1.136 MB / 0.5696 GB, free: 39.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.794e-06/1.894, allocations: 0 / 0.5696 GB, free: 39.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2047/2.099, allocations: 46.74 MB / 0.6152 GB, free: 16.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003754/2.099, allocations: 167.7 kB / 0.6154 GB, free: 15.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.521/7.62, allocations: 3.938 kB / 0.6154 GB, free: 15.87 MB / 394.7 MB