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 1.836/1.836, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.381e-05, allocations: 0 / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09636, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5467, allocations: 104.6 MB / 404.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.547, allocations: 86.95 kB / 404.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2927/0.8397, allocations: 80.53 MB / 485.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.8398, allocations: 0 / 485.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003326/0.8401, allocations: 79.88 kB / 485.3 MB, free: 14.62 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.01399/0.8541, allocations: 3.207 MB / 488.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.8542, allocations: 12.03 kB / 488.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001769/0.856, allocations: 459.5 kB / 489 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006294/0.8623, allocations: 0.7334 MB / 489.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.8748, allocations: 3.304 MB / 493 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.8752, allocations: 250.4 kB / 493.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.8765, allocations: 319.9 kB / 493.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.8894, allocations: 4.094 MB / 497.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/0.8896, allocations: 4 kB / 497.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006255/0.8902, allocations: 140 kB / 497.8 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.8905, allocations: 150.4 kB / 497.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.9016, allocations: 3.297 MB / 0.4895 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0371/0.9387, allocations: 13.91 MB / 0.5031 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.9494, allocations: 6.573 MB / 0.5095 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003735/0.9532, allocations: 1.354 MB / 0.5108 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.964, allocations: 3.812 MB / 0.5145 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.9641, allocations: 51.88 kB / 0.5146 GB, free: 3.434 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 4.208e-06/0.9641, allocations: 0 / 0.5146 GB, free: 3.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.2809/1.245, allocations: 4.331 MB / 0.5188 GB, free: 85.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.245, allocations: 67.38 kB / 0.5189 GB, free: 85.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/1.249, allocations: 1.514 MB / 0.5204 GB, free: 84.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000337/1.249, allocations: 51.83 kB / 0.5204 GB, free: 84.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.251, allocations: 1.426 MB / 0.5218 GB, free: 84.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/1.251, allocations: 0.4984 MB / 0.5223 GB, free: 84.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.252, allocations: 33.12 kB / 0.5223 GB, free: 84.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/1.252, allocations: 381.9 kB / 0.5227 GB, free: 84.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/1.253, allocations: 0.6644 MB / 0.5233 GB, free: 84.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/1.255, allocations: 1.13 MB / 0.5244 GB, free: 83.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/1.258, allocations: 0.8869 MB / 0.5253 GB, free: 83.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/1.258, allocations: 4.062 kB / 0.5253 GB, free: 83.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006683/1.265, allocations: 2.471 MB / 0.5277 GB, free: 83.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/1.265, allocations: 14.58 kB / 0.5277 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/1.265, allocations: 19.94 kB / 0.5278 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/1.266, allocations: 377.2 kB / 0.5281 GB, free: 83.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/1.269, allocations: 385.5 kB / 0.5285 GB, free: 83.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009728/1.279, allocations: 7.833 MB / 0.5361 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.281, allocations: 81.03 kB / 0.5362 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.282, allocations: 72.5 kB / 0.5363 GB, free: 78.08 MB / 410.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.0004561/1.282, allocations: 214.1 kB / 0.5365 GB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/1.283, allocations: 194.9 kB / 0.5367 GB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006419/1.289, allocations: 2.348 MB / 0.539 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.289, allocations: 15.78 kB / 0.539 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.289, allocations: 7.75 kB / 0.539 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/1.289, allocations: 7.453 kB / 0.539 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.302, allocations: 5.196 MB / 0.5441 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.302, allocations: 3.812 kB / 0.5441 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.304, allocations: 187.2 kB / 0.5442 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/1.306, allocations: 0.5475 MB / 0.5448 GB, free: 76.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/1.306, allocations: 36.8 kB / 0.5448 GB, free: 76.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.321, allocations: 12.23 MB / 0.5568 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.321, allocations: 6.625 kB / 0.5568 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007566/1.328, allocations: 3.381 MB / 0.5601 GB, free: 68.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.33, allocations: 435.9 kB / 0.5605 GB, free: 68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/1.33, allocations: 38.72 kB / 0.5605 GB, free: 68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.332, allocations: 74.14 kB / 0.5606 GB, free: 67.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/1.332, allocations: 123.5 kB / 0.5607 GB, free: 67.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.333, allocations: 40.8 kB / 0.5607 GB, free: 67.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002702/1.335, allocations: 1.158 MB / 0.5619 GB, free: 67.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.335, allocations: 2.625 kB / 0.5619 GB, free: 67.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003604/1.339, allocations: 0.6238 MB / 0.5625 GB, free: 67.88 MB / 410.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.008374/1.347, allocations: 4.625 MB / 0.567 GB, free: 66.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004928/1.352, allocations: 2.296 MB / 0.5692 GB, free: 65.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.352, allocations: 3.406 kB / 0.5692 GB, free: 65.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003561/1.356, allocations: 1.721 MB / 0.5709 GB, free: 64.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/1.36, allocations: 0.5011 MB / 0.5714 GB, free: 63.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.376, allocations: 5.619 MB / 0.5769 GB, free: 61.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/1.378, allocations: 2.367 MB / 0.5792 GB, free: 60.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002385/1.381, allocations: 394.3 kB / 0.5796 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/1.383, allocations: 1.141 MB / 0.5807 GB, free: 59.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/1.383, allocations: 0 / 0.5807 GB, free: 59.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/1.51, allocations: 53.71 MB / 0.6332 GB, free: 36.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/1.51, allocations: 208.8 kB / 0.6334 GB, free: 36.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.308/5.818, allocations: 0 / 0.6334 GB, free: 36.68 MB / 410.7 MB