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 2.13/2.13, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.923e-05, allocations: 4 kB / 258.8 MB, free: 8.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3729, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005244/0.3782, allocations: 2.966 MB / 306.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.3812, allocations: 0.951 MB / 307.2 MB, free: 9.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.3817, allocations: 22.06 kB / 307.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.382, allocations: 91.58 kB / 307.3 MB, free: 9.539 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5225:20-5225:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.001054/0.3831, allocations: 180.6 kB / 307.5 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3835, allocations: 99.8 kB / 307.6 MB, free: 9.297 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5225:20-5225:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFFlatten.flatten: time 0.001199/0.3847, allocations: 445.7 kB / 308 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.3854, allocations: 278.9 kB / 308.3 MB, free: 8.656 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5225:20-5225:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.3861, allocations: 247.3 kB / 308.6 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007557/0.3869, allocations: 319 kB / 308.9 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.3871, allocations: 32 kB / 308.9 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.3872, allocations: 32 kB / 308.9 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.3875, allocations: 183.4 kB / 309.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.3877, allocations: 68 kB / 309.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.3892, allocations: 0.9875 MB / 310.2 MB, free: 6.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3892, allocations: 3.938 kB / 310.2 MB, free: 6.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3892, allocations: 3.938 kB / 310.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.3892, allocations: 7.938 kB / 310.2 MB, free: 6.789 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002508/0.3918, allocations: 0.9328 MB / 311.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3918, allocations: 8.031 kB / 311.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.3921, allocations: 98.81 kB / 311.2 MB, free: 5.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.3934, allocations: 0.5681 MB / 311.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.3935, allocations: 53.3 kB / 311.8 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.3937, allocations: 64 kB / 311.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.3962, allocations: 0.9033 MB / 312.8 MB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.3963, allocations: 7.922 kB / 312.8 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.3964, allocations: 28 kB / 312.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/0.3965, allocations: 25.31 kB / 312.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.399, allocations: 0.7975 MB / 313.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007568/0.4066, allocations: 2.803 MB / 316.5 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.4083, allocations: 0.7556 MB / 317.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.4084, allocations: 4.328 kB / 317.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.4096, allocations: 385 kB / 317.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 3.517e-06/0.4096, allocations: 0 / 317.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.004869/0.4145, allocations: 1.201 MB / 318.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.4147, allocations: 89.09 kB / 318.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.4158, allocations: 0.5011 MB / 319.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.416, allocations: 41.69 kB / 319.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.4164, allocations: 382.4 kB / 319.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.4166, allocations: 138.1 kB / 319.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.4167, allocations: 11.94 kB / 320 MB, free: 12.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4169, allocations: 338.8 kB / 320.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007365/0.4176, allocations: 229 kB / 320.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.4185, allocations: 352.9 kB / 320.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.4193, allocations: 255.8 kB / 321.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.4194, allocations: 0 / 321.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002215/0.4216, allocations: 0.7353 MB / 321.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.4217, allocations: 8 kB / 321.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.4217, allocations: 7.953 kB / 321.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009049/0.4226, allocations: 201 kB / 322.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.4233, allocations: 75.83 kB / 322.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005427/0.4287, allocations: 2.73 MB / 324.9 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.4295, allocations: 59.61 kB / 324.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.4295, allocations: 16 kB / 324.9 MB, free: 7.453 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: 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 (44): * Single equations (assignments): 43 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006934/0.4302, allocations: 333.4 kB / 325.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4304, allocations: 55.34 kB / 325.3 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.4306, allocations: 69.27 kB / 325.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.4306, allocations: 4.141 kB / 325.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4306, allocations: 8 kB / 325.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4307, allocations: 3.984 kB / 325.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.4345, allocations: 1.524 MB / 326.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.4346, allocations: 0 / 326.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.4351, allocations: 55.91 kB / 327 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007743/0.4359, allocations: 192.7 kB / 327.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.436, allocations: 4 kB / 327.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/0.441, allocations: 2.721 MB / 329.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4411, allocations: 0 / 329.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.4442, allocations: 1.125 MB / 331 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.4447, allocations: 188.4 kB / 331.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.4449, allocations: 16 kB / 331.2 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.4454, allocations: 27.97 kB / 331.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.4456, allocations: 43.94 kB / 331.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.4457, allocations: 11.98 kB / 331.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007982/0.4465, allocations: 414.8 kB / 331.7 MB, free: 456 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4465, allocations: 0 / 331.7 MB, free: 456 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001007/0.4475, allocations: 203.3 kB / 331.9 MB, free: 252 kB / 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: 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.0002332/0.4478, allocations: 131.3 kB / 332 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.4499, allocations: 0.7364 MB / 332.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.45, allocations: 0 / 332.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.4513, allocations: 491.4 kB / 333.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4524, allocations: 130.7 kB / 333.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.4573, allocations: 1.783 MB / 335.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009827/0.4583, allocations: 1.078 MB / 336.2 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.4586, allocations: 39.44 kB / 336.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4586, allocations: 0 / 336.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of Templates: time 0.02868/0.4873, allocations: 12.33 MB / 348.6 MB, free: 15.46 MB / 298.7 MB