Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.586e-05/4.584e-05, allocations: 7.984 kB / 270.5 MB, free: 5.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 47.56 MB / 318 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5583/0.6656, allocations: 167.2 MB / 485.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.666, allocations: 102.1 kB / 485.3 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.516/5.182, allocations: 0.8579 GB / 1.332 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.935e-06/5.182, allocations: 0 / 1.332 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.003711/5.186, allocations: 486.9 kB / 1.332 GB, free: 33.36 MB / 0.4948 GB 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.1421/5.328, allocations: 19.58 MB / 1.351 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/5.328, allocations: 10.34 kB / 1.351 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01501/5.343, allocations: 2.977 MB / 1.354 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08432/5.427, allocations: 10.32 MB / 1.364 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05526/5.483, allocations: 15.82 MB / 1.38 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002508/5.485, allocations: 1.544 MB / 1.381 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01205/5.497, allocations: 2.016 MB / 1.383 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5985/6.096, allocations: 35.69 MB / 1.418 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0014/6.098, allocations: 34.94 kB / 1.418 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009952/6.108, allocations: 0.8669 MB / 1.419 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/6.11, allocations: 1.391 MB / 1.42 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09822/6.208, allocations: 31.86 MB / 1.452 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3041/6.512, allocations: 112.1 MB / 1.561 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6973/7.21, allocations: 44.45 MB / 1.604 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06538/7.275, allocations: 16.32 MB / 1.62 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2095/7.485, allocations: 50.36 MB / 1.67 GB, free: 76.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/7.485, allocations: 178.3 kB / 1.67 GB, free: 76.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1576): time 3.439e-05/7.485, allocations: 0 / 1.67 GB, free: 76.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1588): time 0.1788/7.664, allocations: 57.17 MB / 1.726 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/7.664, allocations: 216.7 kB / 1.726 GB, free: 51.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01637/7.681, allocations: 5.928 MB / 1.732 GB, free: 49.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003611/7.684, allocations: 247.7 kB / 1.732 GB, free: 48.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.006225/7.691, allocations: 7.356 MB / 1.739 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.008463/7.699, allocations: 5.199 MB / 1.744 GB, free: 39.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003781/7.703, allocations: 256.5 kB / 1.744 GB, free: 39.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001833/7.705, allocations: 0.9107 MB / 1.745 GB, free: 38.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02627/7.731, allocations: 10.16 MB / 1.755 GB, free: 31.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02956/7.761, allocations: 12.29 MB / 1.767 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03093/7.792, allocations: 12.11 MB / 1.779 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-05/7.792, allocations: 16 kB / 1.779 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.5966/8.388, allocations: 32.43 MB / 1.811 GB, free: 88.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/8.389, allocations: 27 kB / 1.811 GB, free: 88.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/8.389, allocations: 56.3 kB / 1.811 GB, free: 88.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05214/8.441, allocations: 14.61 MB / 1.825 GB, free: 88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01804/8.459, allocations: 2.085 MB / 1.827 GB, free: 88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07256/8.532, allocations: 35.63 MB / 1.862 GB, free: 78.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01641/8.548, allocations: 0.6213 MB / 1.862 GB, free: 78.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004679/8.553, allocations: 0.5247 MB / 1.863 GB, free: 78.72 MB / 0.5573 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.008502/8.561, allocations: 0.7706 MB / 1.864 GB, free: 78.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00627/8.568, allocations: 1.007 MB / 1.865 GB, free: 78.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09922/8.667, allocations: 31.91 MB / 1.896 GB, free: 77.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006883/8.668, allocations: 383.8 kB / 1.896 GB, free: 76.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001195/8.668, allocations: 10.28 kB / 1.896 GB, free: 76.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003991/8.668, allocations: 69.78 kB / 1.896 GB, free: 76.97 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1733/8.842, allocations: 60.2 MB / 1.955 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002793/8.842, allocations: 4.406 kB / 1.955 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01511/8.857, allocations: 1.627 MB / 1.957 GB, free: 47.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04762/8.905, allocations: 14.8 MB / 1.971 GB, free: 34.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004059/8.909, allocations: 337.8 kB / 1.971 GB, free: 34.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5599/9.469, allocations: 39.87 MB / 2.01 GB, free: 89.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/9.469, allocations: 8.734 kB / 2.01 GB, free: 89.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1314/9.6, allocations: 47.38 MB / 2.057 GB, free: 87.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01413/9.614, allocations: 3.482 MB / 2.06 GB, free: 87.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006275/9.621, allocations: 242.7 kB / 2.06 GB, free: 87.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0153/9.636, allocations: 0.623 MB / 2.061 GB, free: 87.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00614/9.642, allocations: 1.17 MB / 2.062 GB, free: 87.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004263/9.647, allocations: 419.1 kB / 2.062 GB, free: 87.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01671/9.663, allocations: 4.531 MB / 2.067 GB, free: 87.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.263e-06/9.663, allocations: 3.125 kB / 2.067 GB, free: 87.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03201/9.695, allocations: 3.9 MB / 2.071 GB, free: 87.05 MB / 0.5573 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.1421/9.838, allocations: 49.43 MB / 2.119 GB, free: 70 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.07066/9.908, allocations: 25.89 MB / 2.144 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/9.908, allocations: 4 kB / 2.144 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.04582/9.954, allocations: 14.84 MB / 2.159 GB, free: 39.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0221/9.976, allocations: 2.325 MB / 2.161 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1834/10.16, allocations: 47.55 MB / 2.207 GB, free: 13.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5789/10.74, allocations: 14.03 MB / 2.221 GB, free: 94.31 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02175/10.76, allocations: 3.094 MB / 2.224 GB, free: 94.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0205/10.78, allocations: 7.925 MB / 2.232 GB, free: 94.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.793e-06/10.78, allocations: 0 / 2.232 GB, free: 94.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.326/13.11, allocations: 412.8 MB / 2.635 GB, free: 35.36 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/13.11, allocations: 245.4 kB / 2.635 GB, free: 35.04 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/29.79, allocations: 0 / 2.635 GB, free: 35.04 MB / 0.6043 GB