Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.783e-05, allocations: 4 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07793/0.07798, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4134, allocations: 77.98 MB / 377.8 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4137, allocations: 88.34 kB / 377.9 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05249/0.4662, allocations: 13.38 MB / 391.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.935e-06/0.4663, allocations: 4.219 kB / 391.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.147e-05/0.4663, allocations: 23.44 kB / 391.3 MB, free: 20.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001672/0.468, allocations: 0.9228 MB / 392.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4681, allocations: 11.48 kB / 392.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.4683, allocations: 94.03 kB / 392.4 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.4694, allocations: 0.6157 MB / 393 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.4694, allocations: 49.78 kB / 393 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.4696, allocations: 60.12 kB / 393.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4711, allocations: 0.8826 MB / 394 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.4712, allocations: 7.172 kB / 394 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.4713, allocations: 30.19 kB / 394 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.4714, allocations: 28.66 kB / 394 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.4727, allocations: 0.7177 MB / 394.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.4773, allocations: 2.818 MB / 397.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.4782, allocations: 0.7179 MB / 398.3 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/0.4788, allocations: 341.7 kB / 398.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.4789, allocations: 8.219 kB / 398.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.4795, allocations: 352.3 kB / 399 MB, free: 17.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.869e-06/0.4795, allocations: 0 / 399 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001312/0.4808, allocations: 0.6382 MB / 399.6 MB, free: 17.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4809, allocations: 114.6 kB / 399.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.4817, allocations: 0.5052 MB / 400.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.4817, allocations: 37.05 kB / 400.3 MB, free: 17.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.482, allocations: 382.2 kB / 400.6 MB, free: 17.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4821, allocations: 131.5 kB / 400.8 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.4821, allocations: 11.22 kB / 400.8 MB, free: 17.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.4822, allocations: 330.2 kB / 401.1 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.4826, allocations: 200.4 kB / 401.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.483, allocations: 331.1 kB / 401.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.4834, allocations: 221.5 kB / 401.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.4834, allocations: 3.938 kB / 401.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001237/0.4847, allocations: 0.6836 MB / 402.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4847, allocations: 3.938 kB / 402.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.435e-06/0.4847, allocations: 3.875 kB / 402.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.4853, allocations: 210.6 kB / 402.7 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.4857, allocations: 72.03 kB / 402.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.4891, allocations: 2.772 MB / 405.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.4896, allocations: 65.17 kB / 405.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.4897, allocations: 15.25 kB / 405.6 MB, free: 15.13 MB / 314.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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.4899, allocations: 139.2 kB / 405.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.49, allocations: 58.73 kB / 405.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.4902, allocations: 70.88 kB / 405.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-06/0.4902, allocations: 3.906 kB / 405.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.625e-06/0.4902, allocations: 0 / 405.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.006e-06/0.4902, allocations: 0 / 405.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4932, allocations: 1.726 MB / 407.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.535e-06/0.4932, allocations: 0 / 407.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.4935, allocations: 50.3 kB / 407.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.4941, allocations: 193.2 kB / 407.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.4941, allocations: 11.41 kB / 407.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.4975, allocations: 2.645 MB / 410.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-06/0.4975, allocations: 0 / 410.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.4994, allocations: 1.088 MB / 411.6 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.4998, allocations: 195 kB / 411.8 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.4999, allocations: 10.06 kB / 411.8 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.5003, allocations: 27.06 kB / 411.8 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.5005, allocations: 49.94 kB / 411.9 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.5005, allocations: 19.36 kB / 411.9 MB, free: 28.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00061/0.5012, allocations: 404.4 kB / 412.3 MB, free: 28.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.5012, allocations: 0 / 412.3 MB, free: 28.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009274/0.5021, allocations: 202.3 kB / 412.5 MB, free: 28.64 MB / 330.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002178/0.5024, allocations: 121 kB / 412.6 MB, free: 28.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5036, allocations: 0.6807 MB / 413.3 MB, free: 28.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.595e-06/0.5037, allocations: 0 / 413.3 MB, free: 28.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.5044, allocations: 458.7 kB / 413.8 MB, free: 28.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.5052, allocations: 138.6 kB / 413.9 MB, free: 28.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.5076, allocations: 1.109 MB / 415 MB, free: 27.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008134/0.5084, allocations: 1.076 MB / 416.1 MB, free: 27.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.5086, allocations: 34.81 kB / 416.1 MB, free: 27.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5086, allocations: 0 / 416.1 MB, free: 27.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01554/0.5242, allocations: 12.27 MB / 428.4 MB, free: 20.94 MB / 330.7 MB