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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 210.6 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.946e-05, allocations: 4 kB / 258.8 MB, free: 9.008 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3958, allocations: 44.51 MB / 303.3 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004966/0.4008, allocations: 2.968 MB / 306.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.4031, allocations: 0.8795 MB / 307.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.4034, allocations: 13.44 kB / 307.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.4036, allocations: 52.47 kB / 307.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.4042, allocations: 153 kB / 307.4 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.4045, allocations: 102.8 kB / 307.5 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.4051, allocations: 314.4 kB / 307.8 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.4054, allocations: 112 kB / 307.9 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.4057, allocations: 159.5 kB / 308.1 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.4061, allocations: 175.3 kB / 308.2 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.4062, allocations: 20 kB / 308.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.4063, allocations: 20 kB / 308.3 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.4064, allocations: 79.66 kB / 308.4 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4065, allocations: 44 kB / 308.4 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.4072, allocations: 462.7 kB / 308.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4072, allocations: 0 / 308.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4072, allocations: 0 / 308.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.4072, allocations: 0 / 308.9 MB, free: 8.203 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.002195/0.4094, allocations: 0.6485 MB / 309.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/0.4095, allocations: 12.03 kB / 309.5 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.4098, allocations: 59.33 kB / 309.6 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4109, allocations: 355 kB / 309.9 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.411, allocations: 33 kB / 310 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.4112, allocations: 44 kB / 310 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.4131, allocations: 445.5 kB / 310.4 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.4132, allocations: 4 kB / 310.4 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4133, allocations: 23.98 kB / 310.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.4133, allocations: 8 kB / 310.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.415, allocations: 315.8 kB / 310.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005397/0.4204, allocations: 1.848 MB / 312.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.4221, allocations: 0.6085 MB / 313.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/0.4222, allocations: 4.328 kB / 313.2 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009704/0.4232, allocations: 265.2 kB / 313.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 3.937e-06/0.4232, allocations: 3.938 kB / 313.5 MB, free: 3.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.005753/0.429, allocations: 0.8461 MB / 314.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.4291, allocations: 89.05 kB / 314.4 MB, free: 2.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.4296, allocations: 275.7 kB / 314.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.4296, allocations: 37.7 kB / 314.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.4298, allocations: 216.3 kB / 314.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.43, allocations: 142.1 kB / 315.1 MB, free: 1.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.4301, allocations: 8 kB / 315.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4302, allocations: 350.8 kB / 315.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.4306, allocations: 121.1 kB / 315.6 MB, free: 1.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.4311, allocations: 246 kB / 315.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.4316, allocations: 148 kB / 315.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4316, allocations: 0 / 315.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001449/0.4331, allocations: 0.5168 MB / 316.5 MB, free: 160 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4331, allocations: 4 kB / 316.5 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4331, allocations: 11.89 kB / 316.5 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.4339, allocations: 146.2 kB / 316.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.4343, allocations: 63.86 kB / 316.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.4385, allocations: 2.334 MB / 319 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.439, allocations: 43.59 kB / 319.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.439, allocations: 12 kB / 319.1 MB, free: 13.41 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.0003179/0.4393, allocations: 189.7 kB / 319.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.4394, allocations: 35.53 kB / 319.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.4396, allocations: 48.3 kB / 319.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4396, allocations: 4 kB / 319.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4396, allocations: 0 / 319.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4396, allocations: 4 kB / 319.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.4418, allocations: 1.008 MB / 320.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.4418, allocations: 3.938 kB / 320.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.4422, allocations: 43.86 kB / 320.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006474/0.4428, allocations: 140.9 kB / 320.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.4429, allocations: 8 kB / 320.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.447, allocations: 2.337 MB / 322.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.447, allocations: 4 kB / 322.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.4489, allocations: 0.7116 MB / 323.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.4491, allocations: 152.6 kB / 323.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4492, allocations: 12 kB / 323.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.4496, allocations: 16 kB / 323.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4498, allocations: 31.94 kB / 323.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.4498, allocations: 16 kB / 323.8 MB, free: 8.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.4501, allocations: 215.1 kB / 324 MB, free: 8.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4502, allocations: 0 / 324 MB, free: 8.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008084/0.451, allocations: 143.7 kB / 324.2 MB, free: 8.062 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.000189/0.4512, allocations: 119.8 kB / 324.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.4526, allocations: 0.5382 MB / 324.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4527, allocations: 0 / 324.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.4535, allocations: 390.5 kB / 325.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.4541, allocations: 80.59 kB / 325.3 MB, free: 6.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.4566, allocations: 1.006 MB / 326.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.4571, allocations: 0.8399 MB / 327.1 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.4573, allocations: 35.31 kB / 327.2 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.4575, allocations: 23.44 kB / 327.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.4575, allocations: 0 / 327.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of Templates: time 0.0181/0.4756, allocations: 6.068 MB / 333.3 MB, free: 14.93 MB / 282.7 MB