Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.313e-05, allocations: 4 kB / 270.5 MB, free: 5.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 47.57 MB / 318 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5567/0.6621, allocations: 153.1 MB / 471.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/0.6626, allocations: 99.86 kB / 471.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.436/3.099, allocations: 466 MB / 0.9153 GB, free: 34.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.785e-06/3.099, allocations: 0 / 0.9153 GB, free: 34.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001581/3.1, allocations: 325.8 kB / 0.9156 GB, free: 34.24 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.07078/3.171, allocations: 13.58 MB / 0.9288 GB, free: 30.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/3.171, allocations: 6.906 kB / 0.9288 GB, free: 30.15 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01084/3.182, allocations: 2.002 MB / 0.9308 GB, free: 30.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05705/3.239, allocations: 6.711 MB / 0.9374 GB, free: 29.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04423/3.283, allocations: 11.46 MB / 0.9485 GB, free: 27.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001968/3.285, allocations: 1.043 MB / 0.9496 GB, free: 27.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008299/3.294, allocations: 1.358 MB / 0.9509 GB, free: 27.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08489/3.379, allocations: 23.64 MB / 0.974 GB, free: 23.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000934/3.38, allocations: 25.94 kB / 0.974 GB, free: 23.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007061/3.387, allocations: 0.58 MB / 0.9746 GB, free: 22.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001606/3.388, allocations: 0.9329 MB / 0.9755 GB, free: 22.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07157/3.46, allocations: 21.44 MB / 0.9964 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6415/4.102, allocations: 77.89 MB / 1.072 GB, free: 32.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04663/4.148, allocations: 30.47 MB / 1.102 GB, free: 32.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02671/4.175, allocations: 10.65 MB / 1.113 GB, free: 32.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0939/4.269, allocations: 33.27 MB / 1.145 GB, free: 20.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/4.269, allocations: 125.1 kB / 1.145 GB, free: 20.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1011): time 1.612e-05/4.269, allocations: 0 / 1.145 GB, free: 20.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=1019): time 0.1156/4.385, allocations: 37.61 MB / 1.182 GB, free: 2.719 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/4.385, allocations: 168.2 kB / 1.182 GB, free: 2.617 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/4.398, allocations: 4.286 MB / 1.186 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002536/4.401, allocations: 165.7 kB / 1.186 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00861/4.409, allocations: 5.352 MB / 1.192 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006522/4.416, allocations: 3.338 MB / 1.195 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/4.418, allocations: 172 kB / 1.195 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001303/4.42, allocations: 0.7034 MB / 1.196 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01923/4.439, allocations: 6.66 MB / 1.202 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4344/4.874, allocations: 9.477 MB / 1.212 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02286/4.896, allocations: 7.96 MB / 1.219 GB, free: 77.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/4.897, allocations: 12.28 kB / 1.219 GB, free: 77.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.06413/4.961, allocations: 20.82 MB / 1.24 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/4.961, allocations: 26.72 kB / 1.24 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/4.961, allocations: 45.66 kB / 1.24 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02997/4.991, allocations: 8.435 MB / 1.248 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/5.003, allocations: 1.396 MB / 1.249 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05232/5.055, allocations: 27.76 MB / 1.276 GB, free: 68.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/5.067, allocations: 432.4 kB / 1.277 GB, free: 68.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003144/5.07, allocations: 376.7 kB / 1.277 GB, free: 68.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.005811/5.076, allocations: 0.5587 MB / 1.278 GB, free: 68.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004066/5.08, allocations: 0.6946 MB / 1.278 GB, free: 68.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06133/5.141, allocations: 21.01 MB / 1.299 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003739/5.142, allocations: 246.8 kB / 1.299 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/5.142, allocations: 14.66 kB / 1.299 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002099/5.142, allocations: 41.48 kB / 1.299 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1094/5.251, allocations: 39.9 MB / 1.338 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001628/5.252, allocations: 3.312 kB / 1.338 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009048/5.261, allocations: 0.973 MB / 1.339 GB, free: 43.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02922/5.29, allocations: 8.53 MB / 1.348 GB, free: 36.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002597/5.292, allocations: 217.4 kB / 1.348 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05586/5.348, allocations: 32.03 MB / 1.379 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/5.348, allocations: 9.734 kB / 1.379 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5201/5.869, allocations: 33.43 MB / 1.412 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009503/5.878, allocations: 2.351 MB / 1.414 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004346/5.882, allocations: 162 kB / 1.414 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0105/5.893, allocations: 388.8 kB / 1.414 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004342/5.897, allocations: 0.7878 MB / 1.415 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002869/5.9, allocations: 269.8 kB / 1.416 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01068/5.911, allocations: 3.263 MB / 1.419 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.102e-06/5.911, allocations: 0.75 kB / 1.419 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01751/5.929, allocations: 2.647 MB / 1.421 GB, free: 87.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,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 (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(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: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.08774/6.016, allocations: 33.21 MB / 1.454 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04929/6.066, allocations: 17.22 MB / 1.471 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/6.066, allocations: 4.812 kB / 1.471 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02967/6.096, allocations: 10.03 MB / 1.48 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/6.111, allocations: 1.577 MB / 1.482 GB, free: 81.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/6.212, allocations: 31.46 MB / 1.513 GB, free: 69.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02316/6.235, allocations: 9.504 MB / 1.522 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01328/6.248, allocations: 1.99 MB / 1.524 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01372/6.262, allocations: 5.186 MB / 1.529 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/6.262, allocations: 0 / 1.529 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.387/7.65, allocations: 276.5 MB / 1.799 GB, free: 59.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/7.65, allocations: 235.3 kB / 1.799 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/18.96, allocations: 3.938 kB / 1.799 GB, free: 59.12 MB / 0.5417 GB