Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.499e-05, allocations: 0 / 256.5 MB, free: 1.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09904, allocations: 44.51 MB / 301 MB, free: 5.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5832/0.6823, allocations: 161.8 MB / 462.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/0.6828, allocations: 101.3 kB / 462.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.675/5.358, allocations: 0.8628 GB / 1.315 GB, free: 22.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.395e-06/5.358, allocations: 0 / 1.315 GB, free: 22.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002433/5.36, allocations: 479.2 kB / 1.315 GB, free: 22.79 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.09918/5.46, allocations: 19.57 MB / 1.334 GB, free: 16.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/5.46, allocations: 9.375 kB / 1.334 GB, free: 16.99 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01556/5.475, allocations: 2.985 MB / 1.337 GB, free: 16.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08767/5.563, allocations: 10.32 MB / 1.347 GB, free: 9.695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5636/6.127, allocations: 15.83 MB / 1.363 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004479/6.131, allocations: 1.546 MB / 1.364 GB, free: 24.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01581/6.147, allocations: 2.009 MB / 1.366 GB, free: 24.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1384/6.285, allocations: 35.27 MB / 1.401 GB, free: 22.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001282/6.287, allocations: 27.14 kB / 1.401 GB, free: 22.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01005/6.297, allocations: 0.8642 MB / 1.402 GB, free: 22.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/6.299, allocations: 1.39 MB / 1.403 GB, free: 21.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09769/6.397, allocations: 31.86 MB / 1.434 GB, free: 18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3575/6.755, allocations: 112.9 MB / 1.544 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5644/7.319, allocations: 43.86 MB / 1.587 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04382/7.363, allocations: 16.32 MB / 1.603 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1532/7.516, allocations: 50.39 MB / 1.652 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/7.516, allocations: 174.8 kB / 1.653 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1576): time 2.28e-05/7.516, allocations: 2.281 kB / 1.653 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1588): time 0.1977/7.714, allocations: 57.17 MB / 1.708 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/7.714, allocations: 218.5 kB / 1.709 GB, free: 30.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02234/7.737, allocations: 5.922 MB / 1.714 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00444/7.741, allocations: 244.1 kB / 1.715 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008577/7.75, allocations: 7.357 MB / 1.722 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.01191/7.762, allocations: 5.202 MB / 1.727 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004706/7.767, allocations: 257.7 kB / 1.727 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002301/7.769, allocations: 0.903 MB / 1.728 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03099/7.8, allocations: 10.16 MB / 1.738 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02995/7.83, allocations: 12.29 MB / 1.75 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5785/8.409, allocations: 14.07 MB / 1.764 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/8.409, allocations: 13.72 kB / 1.764 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.1027/8.512, allocations: 31.12 MB / 1.794 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-05/8.512, allocations: 27.75 kB / 1.794 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001984/8.512, allocations: 51.56 kB / 1.794 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04971/8.562, allocations: 14.62 MB / 1.808 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01864/8.58, allocations: 2.087 MB / 1.81 GB, free: 78.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07456/8.655, allocations: 35.62 MB / 1.845 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0174/8.672, allocations: 0.6309 MB / 1.846 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005344/8.678, allocations: 0.522 MB / 1.846 GB, free: 68.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.008944/8.687, allocations: 0.7629 MB / 1.847 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006781/8.694, allocations: 1.011 MB / 1.848 GB, free: 67.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1013/8.795, allocations: 31.91 MB / 1.879 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006648/8.796, allocations: 386.8 kB / 1.88 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/8.796, allocations: 11.41 kB / 1.88 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004311/8.796, allocations: 69.41 kB / 1.88 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1841/8.98, allocations: 60.22 MB / 1.938 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002836/8.981, allocations: 7.234 kB / 1.938 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01602/8.997, allocations: 1.622 MB / 1.94 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05385/9.051, allocations: 14.93 MB / 1.955 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00463/9.055, allocations: 346 kB / 1.955 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6195/9.675, allocations: 39.87 MB / 1.994 GB, free: 81.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/9.675, allocations: 3.688 kB / 1.994 GB, free: 81.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1323/9.807, allocations: 47.39 MB / 2.04 GB, free: 77.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01451/9.822, allocations: 3.485 MB / 2.044 GB, free: 75.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006504/9.828, allocations: 242.7 kB / 2.044 GB, free: 75.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01603/9.844, allocations: 0.6275 MB / 2.044 GB, free: 75.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006434/9.851, allocations: 1.164 MB / 2.046 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004259/9.855, allocations: 420.5 kB / 2.046 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01266/9.868, allocations: 4.534 MB / 2.05 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.32e-07/9.868, allocations: 0 / 2.05 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02757/9.896, allocations: 3.893 MB / 2.054 GB, free: 72.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * 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%) 8,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.1429/10.04, allocations: 49.4 MB / 2.102 GB, free: 47.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.07326/10.11, allocations: 25.9 MB / 2.128 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/10.11, allocations: 6.969 kB / 2.128 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.04588/10.16, allocations: 14.83 MB / 2.142 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02282/10.18, allocations: 2.332 MB / 2.145 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6332/10.81, allocations: 47.46 MB / 2.191 GB, free: 85.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0389/10.85, allocations: 13.89 MB / 2.204 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02197/10.88, allocations: 3.097 MB / 2.207 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02233/10.9, allocations: 7.925 MB / 2.215 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/10.9, allocations: 0 / 2.215 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.866/12.76, allocations: 412.6 MB / 2.618 GB, free: 76.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/12.76, allocations: 246 kB / 2.618 GB, free: 76.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/29.95, allocations: 0 / 2.618 GB, free: 76.55 MB / 0.5573 GB