Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.274/2.274, allocations: 194.9 MB / 211.2 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.553e-05, allocations: 4 kB / 258.8 MB, free: 8.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3103, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00519/0.3155, allocations: 2.973 MB / 306.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3181, allocations: 0.8662 MB / 307.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.3186, allocations: 17 kB / 307.2 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.3189, allocations: 52.3 kB / 307.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.3196, allocations: 165.4 kB / 307.4 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.3201, allocations: 94.61 kB / 307.5 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.3211, allocations: 316.1 kB / 307.8 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.3215, allocations: 108.5 kB / 307.9 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.3219, allocations: 161.4 kB / 308 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.3224, allocations: 175.3 kB / 308.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3225, allocations: 20 kB / 308.2 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/0.3226, allocations: 20 kB / 308.2 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3227, allocations: 75.67 kB / 308.3 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.3229, allocations: 48 kB / 308.4 MB, free: 8.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.3236, allocations: 462.7 kB / 308.8 MB, free: 8.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3236, allocations: 3.938 kB / 308.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3236, allocations: 0 / 308.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3237, allocations: 0 / 308.8 MB, free: 8.117 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001667/0.3253, allocations: 0.6486 MB / 309.5 MB, free: 7.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3254, allocations: 12.03 kB / 309.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.3256, allocations: 55.34 kB / 309.5 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.3263, allocations: 351 kB / 309.9 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.3264, allocations: 33 kB / 309.9 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3265, allocations: 44 kB / 310 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3278, allocations: 445.5 kB / 310.4 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.3278, allocations: 0 / 310.4 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.3279, allocations: 27.97 kB / 310.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3279, allocations: 8 kB / 310.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.329, allocations: 319.8 kB / 310.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.333, allocations: 1.844 MB / 312.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.3343, allocations: 0.6124 MB / 313.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.3344, allocations: 4.328 kB / 313.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007376/0.3351, allocations: 265.2 kB / 313.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 3.146e-06/0.3352, allocations: 0 / 313.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.004173/0.3394, allocations: 0.8538 MB / 314.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.3395, allocations: 85.11 kB / 314.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.34, allocations: 275.7 kB / 314.7 MB, free: 1.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.3401, allocations: 41.64 kB / 314.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3403, allocations: 266.7 kB / 315 MB, free: 1.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.3405, allocations: 130.1 kB / 315.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3405, allocations: 12 kB / 315.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3407, allocations: 338.8 kB / 315.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.3411, allocations: 117.1 kB / 315.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.3417, allocations: 249 kB / 315.8 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.3421, allocations: 140 kB / 315.9 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.3422, allocations: 4 kB / 315.9 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001457/0.3436, allocations: 0.4932 MB / 316.4 MB, free: 72 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3437, allocations: 8.469 kB / 316.4 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.3437, allocations: 11.95 kB / 316.4 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/0.3445, allocations: 146.8 kB / 316.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.345, allocations: 71.89 kB / 316.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.3495, allocations: 2.337 MB / 319 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.35, allocations: 39.62 kB / 319 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.3501, allocations: 20 kB / 319.1 MB, free: 13.31 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003498/0.3505, allocations: 181.7 kB / 319.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3506, allocations: 39.53 kB / 319.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.3507, allocations: 48.3 kB / 319.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.3507, allocations: 4 kB / 319.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3508, allocations: 4 kB / 319.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3508, allocations: 0 / 319.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.3532, allocations: 1.008 MB / 320.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.3532, allocations: 0 / 320.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3536, allocations: 35.92 kB / 320.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006991/0.3543, allocations: 144.6 kB / 320.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.3544, allocations: 15.98 kB / 320.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004407/0.3588, allocations: 2.344 MB / 322.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3589, allocations: 0 / 322.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3608, allocations: 0.7077 MB / 323.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.3612, allocations: 148.7 kB / 323.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3613, allocations: 12 kB / 323.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.3617, allocations: 15.98 kB / 323.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.3619, allocations: 39.95 kB / 323.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.3619, allocations: 12 kB / 323.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005401/0.3625, allocations: 215.1 kB / 324 MB, free: 8.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.3625, allocations: 0 / 324 MB, free: 8.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001348/0.3639, allocations: 147.7 kB / 324.2 MB, free: 7.965 MB / 266.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002737/0.3642, allocations: 115.8 kB / 324.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3659, allocations: 0.5372 MB / 324.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.366, allocations: 0.875 kB / 324.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.3669, allocations: 382.9 kB / 325.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.3676, allocations: 76.89 kB / 325.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.3704, allocations: 1.043 MB / 326.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.371, allocations: 0.8399 MB / 327.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3712, allocations: 27.44 kB / 327.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3712, allocations: 0 / 327.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of Templates: time 0.01597/0.3872, allocations: 6.651 MB / 333.8 MB, free: 14.23 MB / 282.7 MB