Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier12pulseFFT,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Rectifier12pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.376e-05, allocations: 4 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.41 MB / 343.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/0.63, allocations: 95.78 MB / 438.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.6304, allocations: 70.16 kB / 439 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588/2.219, allocations: 167.7 MB / 0.5925 GB, free: 80.55 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.295e-06/2.219, allocations: 0 / 0.5925 GB, free: 80.55 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0006954/2.219, allocations: 264.3 kB / 0.5927 GB, free: 80.53 MB / 442.8 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.03571/2.255, allocations: 15.88 MB / 0.6082 GB, free: 73.75 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/2.255, allocations: 9.938 kB / 0.6082 GB, free: 73.75 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007814/2.263, allocations: 2.29 MB / 0.6105 GB, free: 72.73 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/2.27, allocations: 1.729 MB / 0.6122 GB, free: 71.73 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03224/2.302, allocations: 8.829 MB / 0.6208 GB, free: 65.13 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006609/2.303, allocations: 299.1 kB / 0.6211 GB, free: 64.84 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004511/2.307, allocations: 399.2 kB / 0.6214 GB, free: 64.46 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07768/2.385, allocations: 27.67 MB / 0.6485 GB, free: 36.62 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/2.386, allocations: 0 / 0.6485 GB, free: 36.62 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003281/2.389, allocations: 167.4 kB / 0.6486 GB, free: 36.46 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004019/2.389, allocations: 208 kB / 0.6488 GB, free: 36.25 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0486/2.438, allocations: 23.96 MB / 0.6722 GB, free: 12.28 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.467/2.905, allocations: 28.71 MB / 0.7003 GB, free: 87.46 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1278/3.033, allocations: 83.46 MB / 0.7818 GB, free: 30.55 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1093/3.142, allocations: 80.24 MB / 0.8601 GB, free: 2.559 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/3.143, allocations: 150 kB / 0.8603 GB, free: 2.461 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0568/3.2, allocations: 28.95 MB / 0.8885 GB, free: 2.07 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5058): time 1.03e-05/3.2, allocations: 0 / 0.8885 GB, free: 2.07 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5065): time 19.53/22.73, allocations: 2.188 GB / 3.077 GB, free: 44.16 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005626/22.73, allocations: 7.356 MB / 3.084 GB, free: 37.04 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006766/22.74, allocations: 2.34 MB / 3.086 GB, free: 34.68 MB / 1.823 GB Notification: Performance of collectPreVariables (initialization): time 0.008785/22.75, allocations: 3.952 MB / 3.09 GB, free: 30.71 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002842/22.75, allocations: 1.746 MB / 3.092 GB, free: 29.01 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.02793/22.78, allocations: 21.63 MB / 3.113 GB, free: 7.48 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007731/22.79, allocations: 1.512 MB / 3.114 GB, free: 5.969 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.007775/22.8, allocations: 3.506 MB / 3.118 GB, free: 2.449 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08508/22.88, allocations: 26.28 MB / 3.144 GB, free: 8.152 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1152/23, allocations: 57.41 MB / 3.2 GB, free: 1.328 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1001/23.1, allocations: 38.21 MB / 3.237 GB, free: 11.74 MB / 1.964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002686/23.1, allocations: 304 kB / 3.237 GB, free: 11.45 MB / 1.964 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.2633/23.36, allocations: 83.6 MB / 3.319 GB, free: 7.75 MB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002194/23.36, allocations: 489.7 kB / 3.319 GB, free: 7.266 MB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004459/23.37, allocations: 1.033 MB / 3.32 GB, free: 6.234 MB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/23.38, allocations: 3.024 MB / 3.323 GB, free: 3.191 MB / 2.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07862/23.46, allocations: 10.72 MB / 3.334 GB, free: 8.445 MB / 2.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04925/23.51, allocations: 25.52 MB / 3.359 GB, free: 13.64 MB / 2.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06966/23.58, allocations: 2.494 MB / 3.361 GB, free: 11.15 MB / 2.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01379/23.6, allocations: 3.598 MB / 3.365 GB, free: 7.551 MB / 2.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4832 * 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 (9809): * Single equations (assignments): 9798 * 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.03608/23.63, allocations: 11.05 MB / 3.375 GB, free: 12.44 MB / 2.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01009/23.64, allocations: 2.347 MB / 3.378 GB, free: 10.07 MB / 2.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 13.02/36.66, allocations: 8.839 GB / 12.22 GB, free: 0.6865 GB / 2.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/36.66, allocations: 24 kB / 12.22 GB, free: 0.6864 GB / 2.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/36.66, allocations: 15.78 kB / 12.22 GB, free: 0.6864 GB / 2.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/36.66, allocations: 11.95 kB / 12.22 GB, free: 0.6864 GB / 2.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 13.17/49.83, allocations: 8.864 GB / 21.08 GB, free: 0.8048 GB / 2.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/49.83, allocations: 7.438 kB / 21.08 GB, free: 0.8048 GB / 2.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/49.83, allocations: 295.1 kB / 21.08 GB, free: 0.8045 GB / 2.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005292/49.84, allocations: 1.382 MB / 21.08 GB, free: 0.8032 GB / 2.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005333/49.84, allocations: 0.7983 MB / 21.08 GB, free: 0.8024 GB / 2.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/49.87, allocations: 23.17 MB / 21.11 GB, free: 0.779 GB / 2.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/49.87, allocations: 4.031 kB / 21.11 GB, free: 0.7789 GB / 2.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 13.38/63.26, allocations: 8.891 GB / 30 GB, free: 0.8775 GB / 2.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02364/63.28, allocations: 6.338 MB / 30 GB, free: 0.8721 GB / 2.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006914/63.29, allocations: 0.6484 MB / 30 GB, free: 0.8715 GB / 2.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01432/63.3, allocations: 0.7244 MB / 30 GB, free: 0.8708 GB / 2.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005999/63.31, allocations: 0.6516 MB / 30.01 GB, free: 0.8701 GB / 2.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005839/63.31, allocations: 1.246 MB / 30.01 GB, free: 0.8689 GB / 2.62 GB Notification: Performance of sorting global known variables: time 0.004181/63.32, allocations: 1.826 MB / 30.01 GB, free: 0.8671 GB / 2.62 GB Notification: Performance of sort global known variables: time 2.625e-06/63.32, allocations: 0 / 30.01 GB, free: 0.8671 GB / 2.62 GB Notification: Performance of remove unused functions: time 0.05644/63.38, allocations: 9.991 MB / 30.02 GB, free: 0.8574 GB / 2.62 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 13.3/76.67, allocations: 8.898 GB / 38.92 GB, free: 0.9465 GB / 2.62 GB Notification: Performance of simCode: created initialization part: time 0.2291/76.9, allocations: 81.8 MB / 39 GB, free: 0.8676 GB / 2.62 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/76.9, allocations: 0 / 39 GB, free: 0.8676 GB / 2.62 GB Notification: Performance of simCode: created simulation system equations: time 60.01/136.9, allocations: 28.62 GB / 67.61 GB, free: 1.655 GB / 2.933 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01673/136.9, allocations: 1.489 MB / 67.61 GB, free: 1.653 GB / 2.933 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1878/137.1, allocations: 59.59 MB / 67.67 GB, free: 1.595 GB / 2.933 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02624/137.1, allocations: 10.29 MB / 67.68 GB, free: 1.585 GB / 2.933 GB Notification: Performance of simCode: alias equations: time 0.01611/137.2, allocations: 4.354 MB / 67.69 GB, free: 1.581 GB / 2.933 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02139/137.2, allocations: 8.025 MB / 67.69 GB, free: 1.573 GB / 2.933 GB Notification: Performance of SimCode: time 3.697e-06/137.2, allocations: 0 / 67.69 GB, free: 1.573 GB / 2.933 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9908/138.2, allocations: 441.9 MB / 68.12 GB, free: 1.145 GB / 2.933 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/138.2, allocations: 229.2 kB / 68.13 GB, free: 1.144 GB / 2.933 GB Notification: Performance of buildModelFMU: Generate platform static: time 112.4/250.6, allocations: 0 / 68.13 GB, free: 1.144 GB / 2.933 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat does not exist to compare? outputFormat=mat