Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.158/2.158, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.613e-05, allocations: 4.125 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09864, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.5836, allocations: 104.7 MB / 399 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.584, allocations: 85.66 kB / 399.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.419/1.003, allocations: 87.1 MB / 486.2 MB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.003, allocations: 0 / 486.2 MB, free: 1.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005346/1.004, allocations: 95.88 kB / 486.3 MB, free: 0.9492 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01942/1.023, allocations: 3.686 MB / 490 MB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.023, allocations: 8.031 kB / 490 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007857/1.031, allocations: 0.7952 MB / 490.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.05, allocations: 3.668 MB / 494.4 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/1.05, allocations: 116.3 kB / 494.6 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/1.052, allocations: 219.9 kB / 494.8 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03642/1.089, allocations: 3.794 MB / 498.6 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0241/1.113, allocations: 4.322 MB / 0.4911 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/1.113, allocations: 7.984 kB / 0.4911 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/1.114, allocations: 4 kB / 0.4911 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3044/1.419, allocations: 157.2 kB / 0.4913 GB, free: 72.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04729/1.466, allocations: 15.27 MB / 0.5062 GB, free: 69.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.478, allocations: 7.584 MB / 0.5136 GB, free: 63.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.482, allocations: 1.597 MB / 0.5151 GB, free: 63.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01393/1.496, allocations: 4.496 MB / 0.5195 GB, free: 63.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/1.496, allocations: 56.25 kB / 0.5196 GB, free: 63.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=159): time 7.043e-06/1.496, allocations: 5.812 kB / 0.5196 GB, free: 63.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.01672/1.513, allocations: 5.568 MB / 0.525 GB, free: 62.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.513, allocations: 67.47 kB / 0.5251 GB, free: 62.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/1.517, allocations: 1.563 MB / 0.5266 GB, free: 61.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003637/1.517, allocations: 29.05 kB / 0.5267 GB, free: 61.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/1.518, allocations: 1.628 MB / 0.5282 GB, free: 61.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007162/1.519, allocations: 0.5151 MB / 0.5287 GB, free: 60.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.519, allocations: 0 / 0.5287 GB, free: 60.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/1.519, allocations: 377.5 kB / 0.5291 GB, free: 60.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/1.522, allocations: 0.8386 MB / 0.5299 GB, free: 60.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/1.524, allocations: 1.293 MB / 0.5312 GB, free: 60.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/1.527, allocations: 1.183 MB / 0.5323 GB, free: 60.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.527, allocations: 3.812 kB / 0.5323 GB, free: 60.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.008982/1.536, allocations: 3.084 MB / 0.5354 GB, free: 59.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/1.536, allocations: 18.83 kB / 0.5354 GB, free: 59.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/1.536, allocations: 13.19 kB / 0.5354 GB, free: 59.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/1.54, allocations: 0.7027 MB / 0.5361 GB, free: 59.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.543, allocations: 365.8 kB / 0.5364 GB, free: 59.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.56, allocations: 10.01 MB / 0.5462 GB, free: 52.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/1.563, allocations: 61.23 kB / 0.5463 GB, free: 52.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.564, allocations: 77 kB / 0.5463 GB, free: 52.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000548/1.564, allocations: 151.6 kB / 0.5465 GB, free: 52.55 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009109/1.573, allocations: 2.839 MB / 0.5492 GB, free: 51.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009006/1.574, allocations: 205 kB / 0.5494 GB, free: 51.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009718/1.584, allocations: 2.998 MB / 0.5524 GB, free: 49.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.584, allocations: 13.09 kB / 0.5524 GB, free: 49.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/1.584, allocations: 11.22 kB / 0.5524 GB, free: 49.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/1.584, allocations: 7.766 kB / 0.5524 GB, free: 49.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.602, allocations: 5.913 MB / 0.5582 GB, free: 47.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/1.602, allocations: 7.922 kB / 0.5582 GB, free: 47.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.604, allocations: 167.3 kB / 0.5583 GB, free: 47.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00443/1.609, allocations: 0.8777 MB / 0.5592 GB, free: 47.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.609, allocations: 25.83 kB / 0.5592 GB, free: 47.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/1.633, allocations: 14.23 MB / 0.5731 GB, free: 36.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/1.633, allocations: 0 / 0.5731 GB, free: 36.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.645, allocations: 4.387 MB / 0.5774 GB, free: 34.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.648, allocations: 0.4912 MB / 0.5779 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008441/1.649, allocations: 17.73 kB / 0.5779 GB, free: 33.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.651, allocations: 59.36 kB / 0.578 GB, free: 33.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007876/1.652, allocations: 159.3 kB / 0.5781 GB, free: 33.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.652, allocations: 44.28 kB / 0.5781 GB, free: 33.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003066/1.655, allocations: 1.177 MB / 0.5793 GB, free: 33.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.655, allocations: 0 / 0.5793 GB, free: 33.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005094/1.661, allocations: 0.6414 MB / 0.5799 GB, free: 33.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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%) 8,(9,33.3%) 19,(1,100.0%) 13,(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.01389/1.675, allocations: 5.558 MB / 0.5854 GB, free: 30.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007542/1.682, allocations: 2.815 MB / 0.5881 GB, free: 28.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.682, allocations: 0 / 0.5881 GB, free: 28.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.688, allocations: 2.096 MB / 0.5901 GB, free: 27.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/1.693, allocations: 475.7 kB / 0.5906 GB, free: 27.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/1.714, allocations: 6.357 MB / 0.5968 GB, free: 23.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004453/1.719, allocations: 2.742 MB / 0.5995 GB, free: 20.99 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003272/1.722, allocations: 436.1 kB / 0.5999 GB, free: 20.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003343/1.725, allocations: 1.307 MB / 0.6012 GB, free: 19.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/1.726, allocations: 4 kB / 0.6012 GB, free: 19.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6249/2.35, allocations: 54.93 MB / 0.6548 GB, free: 74.63 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002524/2.351, allocations: 166.3 kB / 0.655 GB, free: 74.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.428/7.779, allocations: 2.688 kB / 0.655 GB, free: 74.45 MB / 410.7 MB