Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.147e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01474/0.1252, allocations: 8.579 MB / 353.6 MB, free: 328 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009785/0.135, allocations: 3.441 MB / 357 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.1375, allocations: 99.62 kB / 357.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.1405, allocations: 0.61 MB / 357.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004946/0.1455, allocations: 1.466 MB / 359.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.1479, allocations: 427.3 kB / 359.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006818/0.1548, allocations: 2.581 MB / 362.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005192/0.16, allocations: 2.351 MB / 364.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.1638, allocations: 1.751 MB / 366.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/0.169, allocations: 2.276 MB / 368.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.1723, allocations: 415.6 kB / 368.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.1738, allocations: 176 kB / 369.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005955/0.1798, allocations: 4.701 MB / 373.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004214/0.184, allocations: 1.004 MB / 374.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.2027, allocations: 12.38 MB / 387.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2028, allocations: 0 / 387.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.2028, allocations: 4 kB / 387.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005411/0.2033, allocations: 0 / 387.2 MB, free: 14.56 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.6068/0.8101, allocations: 16.5 MB / 403.7 MB, free: 35.82 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.8102, allocations: 10.44 kB / 403.7 MB, free: 35.82 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/0.815, allocations: 1.722 MB / 405.4 MB, free: 34.82 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.8256, allocations: 4.089 MB / 409.5 MB, free: 32.45 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/0.826, allocations: 298.5 kB / 409.8 MB, free: 32.32 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.8275, allocations: 386.9 kB / 410.2 MB, free: 32.2 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0431/0.8706, allocations: 29.52 MB / 439.7 MB, free: 8.898 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.8708, allocations: 0 / 439.7 MB, free: 8.898 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006956/0.8715, allocations: 164.7 kB / 439.9 MB, free: 8.742 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/0.8718, allocations: 212 kB / 440.1 MB, free: 8.531 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04243/0.9142, allocations: 26.71 MB / 466.8 MB, free: 13.84 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05703/0.9713, allocations: 22.28 MB / 489.1 MB, free: 7.477 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09729/1.069, allocations: 85.76 MB / 0.5614 GB, free: 1.293 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/1.069, allocations: 140.1 kB / 0.5615 GB, free: 1.141 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.351/1.42, allocations: 30.63 MB / 0.5914 GB, free: 145.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5058): time 7.935e-06/1.42, allocations: 4 kB / 0.5914 GB, free: 145.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=5065): time 16.03/17.45, allocations: 2.906 GB / 3.497 GB, free: 9.18 MB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008546/17.46, allocations: 7.361 MB / 3.504 GB, free: 2.055 MB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006749/17.47, allocations: 2.36 MB / 3.507 GB, free: 15.68 MB / 1.964 GB Notification: Performance of collectPreVariables (initialization): time 0.01089/17.48, allocations: 3.954 MB / 3.51 GB, free: 11.71 MB / 1.964 GB Notification: Performance of collectInitialEqns (initialization): time 0.002638/17.48, allocations: 1.609 MB / 3.512 GB, free: 10.09 MB / 1.964 GB Notification: Performance of collectInitialBindings (initialization): time 0.03553/17.52, allocations: 21.64 MB / 3.533 GB, free: 4.5 MB / 1.979 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006676/17.52, allocations: 1.512 MB / 3.535 GB, free: 2.988 MB / 1.979 GB Notification: Performance of setup shared object (initialization): time 0.007162/17.53, allocations: 3.504 MB / 3.538 GB, free: 15.46 MB / 1.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4899/18.02, allocations: 26.86 MB / 3.564 GB, free: 1.665 GB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09096/18.11, allocations: 58.46 MB / 3.621 GB, free: 1.609 GB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08566/18.2, allocations: 38.51 MB / 3.659 GB, free: 1.571 GB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001515/18.2, allocations: 300 kB / 3.659 GB, free: 1.571 GB / 1.995 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.2173/18.42, allocations: 87.55 MB / 3.745 GB, free: 1.487 GB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.002239/18.42, allocations: 481.7 kB / 3.745 GB, free: 1.486 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002901/18.42, allocations: 1.036 MB / 3.746 GB, free: 1.485 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/18.43, allocations: 3.244 MB / 3.749 GB, free: 1.482 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06196/18.5, allocations: 10.72 MB / 3.76 GB, free: 1.471 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03647/18.53, allocations: 26.04 MB / 3.785 GB, free: 1.445 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04379/18.58, allocations: 2.494 MB / 3.788 GB, free: 1.442 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009126/18.58, allocations: 3.598 MB / 3.791 GB, free: 1.439 GB / 1.995 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4834 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9811): * Single equations (assignments): 9800 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.03254/18.62, allocations: 14.78 MB / 3.806 GB, free: 1.425 GB / 1.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005953/18.62, allocations: 2.347 MB / 3.808 GB, free: 1.424 GB / 1.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 12.53/31.15, allocations: 8.844 GB / 12.65 GB, free: 0.7805 GB / 1.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/31.15, allocations: 26.62 kB / 12.65 GB, free: 0.7805 GB / 1.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.982e-05/31.15, allocations: 8 kB / 12.65 GB, free: 0.7805 GB / 1.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/31.15, allocations: 11.95 kB / 12.65 GB, free: 0.7805 GB / 1.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 12.26/43.41, allocations: 8.865 GB / 21.52 GB, free: 103.4 MB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.468e-05/43.41, allocations: 0 / 21.52 GB, free: 103.4 MB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003755/43.41, allocations: 299.7 kB / 21.52 GB, free: 103.1 MB / 1.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/43.43, allocations: 1.603 MB / 21.52 GB, free: 101.6 MB / 1.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004015/43.43, allocations: 0.6445 MB / 21.52 GB, free: 100.9 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05568/43.49, allocations: 23.64 MB / 21.54 GB, free: 76.27 MB / 1.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/43.49, allocations: 4.922 kB / 21.54 GB, free: 76.27 MB / 1.995 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 13.05/56.54, allocations: 8.898 GB / 30.44 GB, free: 0.997 GB / 1.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01654/56.55, allocations: 5.089 MB / 30.44 GB, free: 0.9929 GB / 1.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005045/56.56, allocations: 0.6484 MB / 30.45 GB, free: 0.9922 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01164/56.57, allocations: 0.7225 MB / 30.45 GB, free: 0.9915 GB / 1.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00477/56.57, allocations: 0.6519 MB / 30.45 GB, free: 0.9909 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003043/56.58, allocations: 0.6523 MB / 30.45 GB, free: 0.9902 GB / 1.995 GB Notification: Performance of sorting global known variables: time 0.004437/56.58, allocations: 1.839 MB / 30.45 GB, free: 0.9884 GB / 1.995 GB Notification: Performance of sort global known variables: time 1.853e-06/56.58, allocations: 0 / 30.45 GB, free: 0.9884 GB / 1.995 GB Notification: Performance of remove unused functions: time 0.07044/56.65, allocations: 9.966 MB / 30.46 GB, free: 0.9787 GB / 1.995 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006149/56.66, allocations: 1.002 MB / 30.46 GB, free: 0.9779 GB / 1.995 GB Notification: Performance of simCode: created initialization part: time 0.1613/56.82, allocations: 84.24 MB / 30.54 GB, free: 0.8959 GB / 1.995 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/56.82, allocations: 7.938 kB / 30.54 GB, free: 0.8959 GB / 1.995 GB Notification: Performance of simCode: created simulation system equations: time 69.15/126, allocations: 28.59 GB / 59.13 GB, free: 1.376 GB / 2.729 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01351/126, allocations: 1.472 MB / 59.14 GB, free: 1.374 GB / 2.729 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1349/126.1, allocations: 65.02 MB / 59.2 GB, free: 1.311 GB / 2.729 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02004/126.1, allocations: 10.21 MB / 59.21 GB, free: 1.301 GB / 2.729 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008581/126.2, allocations: 1.347 MB / 59.21 GB, free: 1.3 GB / 2.729 GB Notification: Performance of SimCode: time 1.803e-06/126.2, allocations: 3.844 kB / 59.21 GB, free: 1.3 GB / 2.729 GB [CodegenCppCommon.tpl:1601:11-1601:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.