Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.031e-05, allocations: 4 kB / 256.5 MB, free: 1.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 44.52 MB / 301 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.6376, allocations: 147.7 MB / 448.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/0.638, allocations: 103.3 kB / 448.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625/3.263, allocations: 468.1 MB / 0.8954 GB, free: 28.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.023e-06/3.263, allocations: 0 / 0.8954 GB, free: 28.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001155/3.264, allocations: 329.1 kB / 0.8957 GB, free: 28.18 MB / 442.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.06432/3.328, allocations: 13.58 MB / 0.9089 GB, free: 24.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/3.328, allocations: 7.5 kB / 0.909 GB, free: 24.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009786/3.338, allocations: 2 MB / 0.9109 GB, free: 23.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05538/3.393, allocations: 6.714 MB / 0.9175 GB, free: 23.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04009/3.434, allocations: 11.46 MB / 0.9287 GB, free: 21.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001741/3.435, allocations: 1.038 MB / 0.9297 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007342/3.443, allocations: 1.36 MB / 0.931 GB, free: 21.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07937/3.522, allocations: 23.81 MB / 0.9542 GB, free: 20.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000865/3.523, allocations: 21.34 kB / 0.9543 GB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006273/3.529, allocations: 0.5839 MB / 0.9548 GB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/3.531, allocations: 0.9347 MB / 0.9557 GB, free: 20.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06691/3.598, allocations: 21.63 MB / 0.9769 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.669/4.267, allocations: 77.64 MB / 1.053 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04884/4.316, allocations: 30.56 MB / 1.083 GB, free: 26.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02695/4.343, allocations: 10.65 MB / 1.093 GB, free: 26.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09635/4.439, allocations: 33.25 MB / 1.125 GB, free: 18.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/4.44, allocations: 128 kB / 1.126 GB, free: 18.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1011): time 1.728e-05/4.44, allocations: 0 / 1.126 GB, free: 18.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=1019): time 0.1168/4.556, allocations: 37.62 MB / 1.162 GB, free: 1.395 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/4.557, allocations: 169.6 kB / 1.162 GB, free: 1.293 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/4.569, allocations: 4.284 MB / 1.167 GB, free: 15.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002504/4.572, allocations: 161.7 kB / 1.167 GB, free: 14.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006326/4.578, allocations: 5.195 MB / 1.172 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00703/4.585, allocations: 3.346 MB / 1.175 GB, free: 7.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002786/4.588, allocations: 173.4 kB / 1.175 GB, free: 7.199 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001519/4.59, allocations: 0.705 MB / 1.176 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02026/4.61, allocations: 6.652 MB / 1.182 GB, free: 0.668 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4943/5.105, allocations: 10.39 MB / 1.193 GB, free: 71.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02434/5.129, allocations: 7.955 MB / 1.2 GB, free: 71.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/5.129, allocations: 14.45 kB / 1.2 GB, free: 71.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.07135/5.2, allocations: 20.94 MB / 1.221 GB, free: 70.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-05/5.201, allocations: 27.38 kB / 1.221 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/5.201, allocations: 42.95 kB / 1.221 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03012/5.231, allocations: 8.443 MB / 1.229 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/5.242, allocations: 1.389 MB / 1.231 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05349/5.296, allocations: 27.79 MB / 1.258 GB, free: 62.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/5.308, allocations: 423.4 kB / 1.258 GB, free: 62.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003403/5.311, allocations: 376.2 kB / 1.258 GB, free: 62.55 MB / 490.7 MB 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.006118/5.317, allocations: 0.5584 MB / 1.259 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004146/5.322, allocations: 0.6979 MB / 1.26 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06378/5.385, allocations: 21.01 MB / 1.28 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004198/5.386, allocations: 255 kB / 1.28 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.416e-05/5.386, allocations: 14.5 kB / 1.28 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002345/5.386, allocations: 41.02 kB / 1.28 GB, free: 56.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1159/5.502, allocations: 39.91 MB / 1.319 GB, free: 38.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001832/5.502, allocations: 3.312 kB / 1.319 GB, free: 38.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01026/5.513, allocations: 0.976 MB / 1.32 GB, free: 38.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04807/5.561, allocations: 8.526 MB / 1.329 GB, free: 31.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003532/5.564, allocations: 216.4 kB / 1.329 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08326/5.648, allocations: 32.04 MB / 1.36 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/5.648, allocations: 6.25 kB / 1.36 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4957/6.143, allocations: 31.29 MB / 1.391 GB, free: 67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009325/6.153, allocations: 2.354 MB / 1.393 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00431/6.157, allocations: 160.6 kB / 1.393 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/6.167, allocations: 395.7 kB / 1.394 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004318/6.172, allocations: 0.7934 MB / 1.394 GB, free: 66.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002736/6.175, allocations: 269.8 kB / 1.395 GB, free: 66.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00933/6.184, allocations: 3.257 MB / 1.398 GB, free: 66.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.81e-07/6.184, allocations: 2.344 kB / 1.398 GB, free: 66.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01678/6.201, allocations: 2.648 MB / 1.4 GB, free: 66.7 MB / 490.7 MB 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.09199/6.293, allocations: 33.18 MB / 1.433 GB, free: 62.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0492/6.342, allocations: 17.41 MB / 1.45 GB, free: 54.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/6.342, allocations: 9.031 kB / 1.45 GB, free: 54.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03061/6.373, allocations: 10.11 MB / 1.46 GB, free: 50.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/6.388, allocations: 1.569 MB / 1.461 GB, free: 50.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1055/6.493, allocations: 31.49 MB / 1.492 GB, free: 29.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02368/6.517, allocations: 9.506 MB / 1.501 GB, free: 22.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01347/6.531, allocations: 1.99 MB / 1.503 GB, free: 21.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01367/6.544, allocations: 5.183 MB / 1.508 GB, free: 16.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/6.544, allocations: 2.297 kB / 1.508 GB, free: 16.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.493/8.037, allocations: 277.5 MB / 1.779 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/8.037, allocations: 239.2 kB / 1.78 GB, free: 85.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/20.5, allocations: 0 / 1.78 GB, free: 85.02 MB / 0.5105 GB