Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.58e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.6121, allocations: 104 MB / 398.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.6125, allocations: 79.95 kB / 398.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5939/1.206, allocations: 79.49 MB / 477.8 MB, free: 70.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.206, allocations: 0 / 477.8 MB, free: 70.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003977/1.207, allocations: 79.69 kB / 477.8 MB, free: 70.82 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01768/1.225, allocations: 3.211 MB / 481 MB, free: 67.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/1.225, allocations: 9.094 kB / 481 MB, free: 67.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009312/1.234, allocations: 0.7373 MB / 481.8 MB, free: 66.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/1.247, allocations: 3.302 MB / 485.1 MB, free: 63.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/1.247, allocations: 104 kB / 485.2 MB, free: 63.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/1.248, allocations: 195.9 kB / 485.4 MB, free: 63.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009104/1.257, allocations: 3.145 MB / 488.5 MB, free: 60.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/1.269, allocations: 3.673 MB / 492.2 MB, free: 56.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/1.269, allocations: 11.84 kB / 492.2 MB, free: 56.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/1.269, allocations: 0 / 492.2 MB, free: 56.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.27, allocations: 150.4 kB / 492.4 MB, free: 56.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02956/1.299, allocations: 13.28 MB / 0.4938 GB, free: 42.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/1.307, allocations: 6.531 MB / 0.5002 GB, free: 35.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/1.31, allocations: 1.293 MB / 0.5014 GB, free: 33.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008393/1.319, allocations: 3.695 MB / 0.505 GB, free: 30.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.319, allocations: 47.81 kB / 0.5051 GB, free: 30.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=144): time 4.959e-06/1.319, allocations: 8 kB / 0.5051 GB, free: 30.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=147): time 0.0115/1.33, allocations: 4.464 MB / 0.5094 GB, free: 25.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.33, allocations: 64.97 kB / 0.5095 GB, free: 25.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.333, allocations: 1.239 MB / 0.5107 GB, free: 24.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/1.333, allocations: 33.7 kB / 0.5108 GB, free: 24.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/1.334, allocations: 1.426 MB / 0.5121 GB, free: 22.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/1.334, allocations: 484.7 kB / 0.5126 GB, free: 22.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.334, allocations: 0 / 0.5126 GB, free: 22.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/1.334, allocations: 381.8 kB / 0.513 GB, free: 21.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.336, allocations: 0.6326 MB / 0.5136 GB, free: 21.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/1.337, allocations: 1.093 MB / 0.5147 GB, free: 20 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/1.34, allocations: 0.9781 MB / 0.5156 GB, free: 19.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/1.34, allocations: 4 kB / 0.5156 GB, free: 19.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005771/1.346, allocations: 2.445 MB / 0.518 GB, free: 16.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.346, allocations: 12 kB / 0.518 GB, free: 16.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.346, allocations: 16 kB / 0.518 GB, free: 16.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/1.347, allocations: 364.4 kB / 0.5184 GB, free: 16.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/1.35, allocations: 383.4 kB / 0.5187 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/1.358, allocations: 7.557 MB / 0.5261 GB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.36, allocations: 47.86 kB / 0.5262 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/1.36, allocations: 72.16 kB / 0.5262 GB, free: 7.629 MB / 362.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.0003756/1.361, allocations: 148.5 kB / 0.5264 GB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005427/1.366, allocations: 2.197 MB / 0.5285 GB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005817/1.367, allocations: 173.8 kB / 0.5287 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/1.373, allocations: 2.323 MB / 0.531 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.373, allocations: 16 kB / 0.531 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.373, allocations: 11.95 kB / 0.531 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.373, allocations: 7.969 kB / 0.531 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.385, allocations: 4.742 MB / 0.5356 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.385, allocations: 4.188 kB / 0.5356 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.386, allocations: 195.8 kB / 0.5358 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/1.389, allocations: 0.5434 MB / 0.5363 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/1.389, allocations: 19.98 kB / 0.5364 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/1.407, allocations: 11.76 MB / 0.5479 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.407, allocations: 0 / 0.5479 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00903/1.416, allocations: 3.374 MB / 0.5511 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.417, allocations: 414.8 kB / 0.5515 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/1.418, allocations: 15.98 kB / 0.5516 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.419, allocations: 47.95 kB / 0.5516 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/1.42, allocations: 117.2 kB / 0.5517 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.42, allocations: 43.92 kB / 0.5518 GB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002281/1.422, allocations: 0.9249 MB / 0.5527 GB, free: 11.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.422, allocations: 0 / 0.5527 GB, free: 11.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003718/1.426, allocations: 0.5508 MB / 0.5532 GB, free: 10.94 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.01022/1.436, allocations: 4.527 MB / 0.5576 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005359/1.442, allocations: 2.243 MB / 0.5598 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.442, allocations: 4 kB / 0.5598 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.446, allocations: 1.671 MB / 0.5614 GB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/1.449, allocations: 393.3 kB / 0.5618 GB, free: 1.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3026/1.752, allocations: 5.464 MB / 0.5672 GB, free: 96.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/1.755, allocations: 2.364 MB / 0.5695 GB, free: 95.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002423/1.758, allocations: 368.3 kB / 0.5698 GB, free: 95.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/1.76, allocations: 1.137 MB / 0.5709 GB, free: 95.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.285e-06/1.76, allocations: 0 / 0.5709 GB, free: 95.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/1.884, allocations: 45.16 MB / 0.615 GB, free: 82.68 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/1.885, allocations: 175.4 kB / 0.6152 GB, free: 82.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/5.907, allocations: 3.938 kB / 0.6152 GB, free: 82.47 MB / 394.7 MB