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.416/2.416, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.169e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 44.48 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.5795, allocations: 103.9 MB / 398.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5799, allocations: 87.94 kB / 398.3 MB, free: 9.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6857/1.266, allocations: 79.5 MB / 477.8 MB, free: 70.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.266, allocations: 0 / 477.8 MB, free: 70.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003965/1.266, allocations: 79.94 kB / 477.9 MB, free: 70.58 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.01626/1.282, allocations: 3.207 MB / 481.1 MB, free: 67.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.868e-05/1.282, allocations: 9.094 kB / 481.1 MB, free: 67.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007664/1.29, allocations: 0.7295 MB / 481.8 MB, free: 66.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/1.305, allocations: 3.309 MB / 485.2 MB, free: 63.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/1.305, allocations: 104 kB / 485.3 MB, free: 63.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/1.306, allocations: 191.9 kB / 485.4 MB, free: 62.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01171/1.318, allocations: 3.149 MB / 488.6 MB, free: 59.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/1.332, allocations: 3.676 MB / 492.3 MB, free: 56.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/1.332, allocations: 7.906 kB / 492.3 MB, free: 56.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007618/1.333, allocations: 4 kB / 492.3 MB, free: 56.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/1.333, allocations: 142.4 kB / 492.4 MB, free: 55.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03778/1.371, allocations: 13.29 MB / 0.4939 GB, free: 42.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.381, allocations: 6.52 MB / 0.5002 GB, free: 35.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/1.385, allocations: 1.301 MB / 0.5015 GB, free: 33.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/1.396, allocations: 3.694 MB / 0.5051 GB, free: 29.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/1.396, allocations: 51.88 kB / 0.5052 GB, free: 29.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=144): time 5.721e-06/1.396, allocations: 0 / 0.5052 GB, free: 29.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=147): time 0.01471/1.411, allocations: 4.46 MB / 0.5095 GB, free: 25.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.411, allocations: 64.97 kB / 0.5096 GB, free: 25.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.414, allocations: 1.239 MB / 0.5108 GB, free: 24.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/1.415, allocations: 29.7 kB / 0.5108 GB, free: 24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.416, allocations: 1.426 MB / 0.5122 GB, free: 22.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/1.416, allocations: 488.7 kB / 0.5127 GB, free: 22.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/1.417, allocations: 0 / 0.5127 GB, free: 22.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/1.417, allocations: 377.8 kB / 0.513 GB, free: 21.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/1.418, allocations: 0.6365 MB / 0.5136 GB, free: 21.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/1.421, allocations: 1.093 MB / 0.5147 GB, free: 19.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/1.424, allocations: 0.9781 MB / 0.5157 GB, free: 18.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/1.424, allocations: 4 kB / 0.5157 GB, free: 18.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007845/1.432, allocations: 2.441 MB / 0.5181 GB, free: 16.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/1.432, allocations: 12 kB / 0.5181 GB, free: 16.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/1.432, allocations: 24.31 kB / 0.5181 GB, free: 16.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/1.434, allocations: 372.1 kB / 0.5184 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/1.437, allocations: 379.4 kB / 0.5188 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/1.447, allocations: 7.556 MB / 0.5262 GB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.45, allocations: 43.88 kB / 0.5262 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/1.45, allocations: 75.98 kB / 0.5263 GB, free: 7.398 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.0004889/1.451, allocations: 156.1 kB / 0.5265 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007445/1.458, allocations: 2.189 MB / 0.5286 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/1.459, allocations: 181.8 kB / 0.5288 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007556/1.467, allocations: 2.319 MB / 0.531 GB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/1.467, allocations: 23.94 kB / 0.531 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.467, allocations: 12 kB / 0.5311 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/1.467, allocations: 3.984 kB / 0.5311 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.483, allocations: 4.742 MB / 0.5357 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.483, allocations: 0 / 0.5357 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.485, allocations: 187.8 kB / 0.5359 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/1.488, allocations: 0.5439 MB / 0.5364 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003273/1.488, allocations: 27.88 kB / 0.5364 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/1.51, allocations: 11.76 MB / 0.5479 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.51, allocations: 3.938 kB / 0.5479 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/1.521, allocations: 3.363 MB / 0.5512 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.523, allocations: 414.8 kB / 0.5516 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/1.523, allocations: 12 kB / 0.5516 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.526, allocations: 51.94 kB / 0.5517 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006815/1.526, allocations: 121.2 kB / 0.5518 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.527, allocations: 43.98 kB / 0.5518 GB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002833/1.53, allocations: 0.9249 MB / 0.5527 GB, free: 11.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.53, allocations: 0 / 0.5527 GB, free: 11.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004607/1.534, allocations: 0.543 MB / 0.5533 GB, free: 10.71 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.01254/1.547, allocations: 4.539 MB / 0.5577 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006868/1.554, allocations: 2.243 MB / 0.5599 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.554, allocations: 4.25 kB / 0.5599 GB, free: 3.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005356/1.559, allocations: 1.678 MB / 0.5615 GB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/1.564, allocations: 385 kB / 0.5619 GB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4023/1.966, allocations: 5.452 MB / 0.5672 GB, free: 96.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007882/1.974, allocations: 2.372 MB / 0.5695 GB, free: 95.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003257/1.977, allocations: 365 kB / 0.5699 GB, free: 95.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003534/1.981, allocations: 1.133 MB / 0.571 GB, free: 95.35 MB / 394.7 MB Notification: Performance of SimCode: time 2.184e-06/1.981, allocations: 1.062 kB / 0.571 GB, free: 95.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1591/2.14, allocations: 45.17 MB / 0.6151 GB, free: 82.53 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002949/2.14, allocations: 182 kB / 0.6153 GB, free: 82.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.194/7.335, allocations: 0 / 0.6153 GB, free: 82.33 MB / 394.7 MB