Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.252/2.252, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.138e-05/5.143e-05, allocations: 4 kB / 292.8 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 50.4 MB / 343.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4981/0.6072, allocations: 85.03 MB / 428.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.6076, allocations: 87.56 kB / 428.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08821/0.6958, allocations: 21.6 MB / 449.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6959, allocations: 0 / 449.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.6961, allocations: 30.19 kB / 449.9 MB, free: 15.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.006775/0.7029, allocations: 1.39 MB / 451.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.703, allocations: 7.75 kB / 451.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008262/0.7038, allocations: 167.7 kB / 451.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/0.7046, allocations: 154.6 kB / 451.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.7085, allocations: 0.9476 MB / 452.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.7087, allocations: 81.94 kB / 452.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005193/0.7092, allocations: 101 kB / 452.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005944/0.7152, allocations: 1.462 MB / 454.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/0.7154, allocations: 7.453 kB / 454.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.7157, allocations: 42.12 kB / 454.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.7158, allocations: 49.41 kB / 454.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005562/0.7214, allocations: 1.262 MB / 455.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.7395, allocations: 4.995 MB / 460.6 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.7431, allocations: 1.405 MB / 462 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.7458, allocations: 0.6926 MB / 462.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.746, allocations: 12.39 kB / 462.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/0.7482, allocations: 0.5709 MB / 463.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 6.021e-06/0.7482, allocations: 3.938 kB / 463.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.004418/0.7527, allocations: 1.184 MB / 464.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.7528, allocations: 85.89 kB / 464.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.7549, allocations: 0.8285 MB / 465.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.7552, allocations: 44.62 kB / 465.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007023/0.7559, allocations: 0.5175 MB / 465.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/0.7564, allocations: 234.5 kB / 466.1 MB, free: 3.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.7565, allocations: 11.44 kB / 466.1 MB, free: 3.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7566, allocations: 342.9 kB / 466.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009808/0.7576, allocations: 379.4 kB / 466.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.7589, allocations: 0.4984 MB / 467.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.7601, allocations: 407.6 kB / 467.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.7602, allocations: 4 kB / 467.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003724/0.7639, allocations: 1.203 MB / 469 MB, free: 1.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.764, allocations: 11.95 kB / 469 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.764, allocations: 4 kB / 469 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.7657, allocations: 391.4 kB / 469.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7668, allocations: 115.8 kB / 469.5 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009325/0.7762, allocations: 4.121 MB / 473.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.7775, allocations: 95.45 kB / 473.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.7778, allocations: 35.95 kB / 473.7 MB, free: 12.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.7781, allocations: 146.7 kB / 473.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.7785, allocations: 86.97 kB / 473.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.779, allocations: 116.5 kB / 474.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.779, allocations: 11.98 kB / 474.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.779, allocations: 0 / 474.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.779, allocations: 0 / 474.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/0.7865, allocations: 2.54 MB / 476.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.7865, allocations: 3.953 kB / 476.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009893/0.7875, allocations: 87.88 kB / 476.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.7892, allocations: 396.1 kB / 477.1 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.7894, allocations: 12 kB / 477.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.798, allocations: 4.091 MB / 481.2 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7981, allocations: 0 / 481.2 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004822/0.8029, allocations: 1.852 MB / 483 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/0.804, allocations: 287.8 kB / 483.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.8044, allocations: 12 kB / 483.3 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8055, allocations: 55.91 kB / 483.4 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.8059, allocations: 72.66 kB / 483.5 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.497e-05/0.806, allocations: 24 kB / 483.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001616/0.8076, allocations: 0.6553 MB / 484.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.8077, allocations: 0 / 484.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001895/0.8096, allocations: 354.8 kB / 484.5 MB, free: 1.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.005308/0.8149, allocations: 2.437 MB / 486.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.8184, allocations: 1.173 MB / 488.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.8184, allocations: 0.875 kB / 488.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.8206, allocations: 0.7534 MB / 488.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.8227, allocations: 233.6 kB / 489.1 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007972/0.8307, allocations: 2.272 MB / 491.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.8327, allocations: 1.411 MB / 492.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001041/0.8338, allocations: 167.2 kB / 492.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.8349, allocations: 415.3 kB / 493.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.8349, allocations: 0 / 493.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08342/0.9183, allocations: 25.66 MB / 0.5068 GB, free: 15.23 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003749/0.9188, allocations: 237 kB / 0.507 GB, free: 14.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/4.333, allocations: 4 kB / 0.507 GB, free: 14.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat