Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 2.215/2.215, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.165e-05, allocations: 4 kB / 258.8 MB, free: 8.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3466, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006398/0.3531, allocations: 3.686 MB / 307 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.3566, allocations: 1.151 MB / 308.2 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005559/0.3572, allocations: 27.88 kB / 308.2 MB, free: 8.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.3576, allocations: 143.2 kB / 308.3 MB, free: 8.68 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5843:20-5843:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5854:20-5854:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001253/0.3589, allocations: 267.1 kB / 308.6 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.3595, allocations: 123.8 kB / 308.7 MB, free: 8.297 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5843:20-5843:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5854:20-5854:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.001778/0.3613, allocations: 0.725 MB / 309.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009699/0.3622, allocations: 495.3 kB / 309.9 MB, free: 7.074 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5843:20-5843:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5854:20-5854:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/0.3632, allocations: 402.9 kB / 310.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3644, allocations: 0.5451 MB / 310.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.3648, allocations: 52 kB / 310.9 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.365, allocations: 56 kB / 311 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.3655, allocations: 307 kB / 311.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.3659, allocations: 120 kB / 311.4 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.3687, allocations: 1.765 MB / 313.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3688, allocations: 7.938 kB / 313.1 MB, free: 3.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3688, allocations: 0 / 313.1 MB, free: 3.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.424e-05/0.3689, allocations: 0 / 313.1 MB, free: 3.832 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004049/0.373, allocations: 1.375 MB / 314.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.373, allocations: 8.031 kB / 314.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004785/0.3735, allocations: 154.2 kB / 314.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.3757, allocations: 0.891 MB / 315.6 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/0.3758, allocations: 86.03 kB / 315.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.3761, allocations: 100 kB / 315.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.3802, allocations: 1.529 MB / 317.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.3803, allocations: 0 / 317.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.3805, allocations: 47.98 kB / 317.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/0.3805, allocations: 42.03 kB / 317.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.3847, allocations: 1.448 MB / 318.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.3963, allocations: 4.976 MB / 323.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.3991, allocations: 1.464 MB / 325.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/0.3992, allocations: 8.516 kB / 325.3 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.401, allocations: 0.6123 MB / 325.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 4.098e-06/0.401, allocations: 0 / 325.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.01046/0.4115, allocations: 2.412 MB / 328.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.4116, allocations: 89.75 kB / 328.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.4135, allocations: 0.8437 MB / 329.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.4137, allocations: 37.69 kB / 329.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.4142, allocations: 0.5216 MB / 329.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.4146, allocations: 232.7 kB / 330 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.4146, allocations: 20 kB / 330 MB, free: 2.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4148, allocations: 342.8 kB / 330.4 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4161, allocations: 417.7 kB / 330.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4175, allocations: 0.5563 MB / 331.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.4188, allocations: 461.9 kB / 331.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4188, allocations: 0 / 331.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003572/0.4224, allocations: 1.242 MB / 333 MB, free: 15.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.4224, allocations: 4 kB / 333 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4225, allocations: 4 kB / 333 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.4241, allocations: 394.4 kB / 333.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/0.4251, allocations: 127.8 kB / 333.5 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/0.4342, allocations: 4.257 MB / 337.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4353, allocations: 91.39 kB / 337.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.4354, allocations: 28 kB / 337.9 MB, free: 10.3 MB / 282.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (59): * Single equations (assignments): 58 * 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.001111/0.4365, allocations: 498.9 kB / 338.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.4367, allocations: 90.97 kB / 338.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.4371, allocations: 116.5 kB / 338.6 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4371, allocations: 4 kB / 338.6 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4371, allocations: 0 / 338.6 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4371, allocations: 11.98 kB / 338.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/0.4437, allocations: 2.581 MB / 341.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4438, allocations: 4 kB / 341.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.4446, allocations: 83.88 kB / 341.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.4461, allocations: 393.3 kB / 341.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.4462, allocations: 27.94 kB / 341.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00915/0.4554, allocations: 4.211 MB / 345.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4554, allocations: 0 / 345.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005481/0.4609, allocations: 1.985 MB / 347.9 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.4618, allocations: 275.8 kB / 348.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.462, allocations: 19.98 kB / 348.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.4629, allocations: 51.95 kB / 348.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.4632, allocations: 76.53 kB / 348.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.4633, allocations: 23.98 kB / 348.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.4648, allocations: 0.6668 MB / 349 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4648, allocations: 0 / 349 MB, free: 14.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00143/0.4663, allocations: 350.8 kB / 349.3 MB, free: 14.62 MB / 298.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,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 (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.0002638/0.4665, allocations: 131.2 kB / 349.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003756/0.4703, allocations: 1.291 MB / 350.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4704, allocations: 3.938 kB / 350.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.4726, allocations: 0.8068 MB / 351.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.4743, allocations: 235.1 kB / 351.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.4827, allocations: 3.072 MB / 354.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.4843, allocations: 1.381 MB / 356.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.4848, allocations: 63.42 kB / 356.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of SimCode: time 1.313e-06/0.4848, allocations: 3.938 kB / 356.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of Templates: time 0.04698/0.5318, allocations: 21.11 MB / 377.4 MB, free: 2.43 MB / 314.7 MB