Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.752e-05, allocations: 7.984 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09325, allocations: 50.41 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4584, allocations: 81.95 MB / 425 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.4587, allocations: 82.44 kB / 425.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04164/0.5004, allocations: 6.427 MB / 431.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.718e-06/0.5004, allocations: 0 / 431.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-05/0.5005, allocations: 8 kB / 431.6 MB, free: 6.75 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002001/0.5025, allocations: 0.6133 MB / 432.2 MB, free: 6.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5026, allocations: 8.031 kB / 432.2 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.5028, allocations: 47.44 kB / 432.2 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.5038, allocations: 332.6 kB / 432.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.5039, allocations: 28.84 kB / 432.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.5041, allocations: 41.95 kB / 432.6 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.5055, allocations: 372.2 kB / 433 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.5055, allocations: 0 / 433 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.5057, allocations: 13.12 kB / 433 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.5057, allocations: 8 kB / 433 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.5068, allocations: 235.1 kB / 433.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.5117, allocations: 1.497 MB / 434.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/0.5126, allocations: 232.4 kB / 435 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.5133, allocations: 148.7 kB / 435.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.5133, allocations: 240 / 435.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/0.5141, allocations: 217.5 kB / 435.3 MB, free: 3.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 5.283e-06/0.5142, allocations: 0 / 435.3 MB, free: 3.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001587/0.5158, allocations: 328 kB / 435.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.5159, allocations: 110.8 kB / 435.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.5166, allocations: 258.2 kB / 436 MB, free: 2.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.5167, allocations: 35.95 kB / 436 MB, free: 2.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.517, allocations: 211.8 kB / 436.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.5172, allocations: 101.2 kB / 436.3 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.5173, allocations: 10.38 kB / 436.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.5175, allocations: 341.2 kB / 436.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.5179, allocations: 79.2 kB / 436.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.5185, allocations: 201.7 kB / 437 MB, free: 2.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.519, allocations: 100 kB / 437.1 MB, free: 1.938 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.646e-06/0.519, allocations: 0 / 437.1 MB, free: 1.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001538/0.5206, allocations: 371.1 kB / 437.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.5206, allocations: 11.95 kB / 437.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5207, allocations: 7.938 kB / 437.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.5213, allocations: 81.31 kB / 437.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.5219, allocations: 64.19 kB / 437.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/0.526, allocations: 1.777 MB / 439.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.5266, allocations: 41.61 kB / 439.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.5267, allocations: 19.81 kB / 439.4 MB, free: 15.76 MB / 362.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: 11 ($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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.527, allocations: 139.4 kB / 439.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5272, allocations: 31.62 kB / 439.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.5274, allocations: 40.41 kB / 439.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5274, allocations: 4 kB / 439.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.386e-06/0.5274, allocations: 0 / 439.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5275, allocations: 0 / 439.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.529, allocations: 0.5674 MB / 440.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.319e-06/0.529, allocations: 0 / 440.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.5295, allocations: 39.45 kB / 440.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.5301, allocations: 80.31 kB / 440.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.5301, allocations: 3.688 kB / 440.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003928/0.5341, allocations: 1.791 MB / 442.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.5341, allocations: 3.984 kB / 442.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.5362, allocations: 490.2 kB / 442.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.5366, allocations: 130.9 kB / 442.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.5367, allocations: 11.67 kB / 442.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.5372, allocations: 19.77 kB / 442.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.5373, allocations: 30.89 kB / 442.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.5374, allocations: 8 kB / 442.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004894/0.5379, allocations: 207.4 kB / 443 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.409e-06/0.538, allocations: 0 / 443 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001248/0.5392, allocations: 111.9 kB / 443.1 MB, free: 12.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/0.5396, allocations: 129.9 kB / 443.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.541, allocations: 367.8 kB / 443.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.518e-06/0.541, allocations: 3.938 kB / 443.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.5418, allocations: 261.2 kB / 443.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.5425, allocations: 59.05 kB / 443.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.5447, allocations: 492 kB / 444.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.5455, allocations: 0.8223 MB / 445.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.5459, allocations: 30.97 kB / 445.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.546, allocations: 23.44 kB / 445.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.228e-06/0.5461, allocations: 0 / 445.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.02346/0.5695, allocations: 4.281 MB / 449.5 MB, free: 6.145 MB / 362.7 MB