Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 210.6 MB, free: 7.789 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.072e-05, allocations: 7.938 kB / 258.8 MB, free: 7.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3059, allocations: 44.5 MB / 303.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006342/0.3123, allocations: 3.834 MB / 307.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.3157, allocations: 1.219 MB / 308.4 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.3163, allocations: 27.88 kB / 308.4 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.317, allocations: 175 kB / 308.6 MB, free: 8.262 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426: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:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001016/0.318, allocations: 283.1 kB / 308.9 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.3185, allocations: 131.8 kB / 309 MB, free: 7.855 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426: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:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.001543/0.3201, allocations: 0.686 MB / 309.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009477/0.321, allocations: 495.3 kB / 310.2 MB, free: 6.672 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426: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:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.0007839/0.3218, allocations: 379 kB / 310.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.3228, allocations: 478.4 kB / 311 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.3231, allocations: 48 kB / 311.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.3233, allocations: 47.94 kB / 311.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.3236, allocations: 279.1 kB / 311.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.324, allocations: 112 kB / 311.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.3262, allocations: 1.64 MB / 313.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3263, allocations: 0 / 313.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3263, allocations: 0 / 313.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.294e-05/0.3264, allocations: 4 kB / 313.1 MB, free: 3.707 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003865/0.3303, allocations: 1.281 MB / 314.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3303, allocations: 8.031 kB / 314.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005358/0.3309, allocations: 134.4 kB / 314.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.3331, allocations: 0.8365 MB / 315.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.3332, allocations: 70 kB / 315.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.3335, allocations: 104 kB / 315.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.3381, allocations: 1.423 MB / 317 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.107e-05/0.3382, allocations: 11.84 kB / 317 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.3384, allocations: 36 kB / 317 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.832e-05/0.3385, allocations: 41.98 kB / 317.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/0.3427, allocations: 1.288 MB / 318.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.354, allocations: 4.359 MB / 322.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.3573, allocations: 1.967 MB / 324.7 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.694e-05/0.3574, allocations: 8.656 kB / 324.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.359, allocations: 0.6015 MB / 325.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 4.138e-06/0.359, allocations: 4 kB / 325.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.01371/0.3727, allocations: 2.825 MB / 328.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/0.3729, allocations: 115.5 kB / 328.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.3745, allocations: 0.7302 MB / 329 MB, free: 3.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.3747, allocations: 41.7 kB / 329 MB, free: 3.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005855/0.3753, allocations: 491.7 kB / 329.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.3757, allocations: 236.6 kB / 329.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.3757, allocations: 16 kB / 329.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.376, allocations: 394.7 kB / 330.1 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3771, allocations: 397.7 kB / 330.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3784, allocations: 0.5493 MB / 331 MB, free: 1.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.3798, allocations: 453.9 kB / 331.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.3798, allocations: 0 / 331.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003667/0.3835, allocations: 1.291 MB / 332.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.3836, allocations: 7.953 kB / 332.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.3836, allocations: 4 kB / 332.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.3856, allocations: 472.5 kB / 333.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.3864, allocations: 99.81 kB / 333.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.3986, allocations: 5.293 MB / 338.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.3998, allocations: 91.45 kB / 338.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4, allocations: 35.89 kB / 338.8 MB, free: 9.285 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 (55): * Single equations (assignments): 54 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.4011, allocations: 459.2 kB / 339.2 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.4014, allocations: 91.08 kB / 339.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.4017, allocations: 112.6 kB / 339.4 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.4017, allocations: 12 kB / 339.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4017, allocations: 0 / 339.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.4018, allocations: 3.984 kB / 339.4 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.4093, allocations: 2.623 MB / 342.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.4093, allocations: 0 / 342.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.41, allocations: 67.89 kB / 342.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.412, allocations: 461.2 kB / 342.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.4122, allocations: 15.98 kB / 342.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.4242, allocations: 5.272 MB / 347.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4242, allocations: 0 / 347.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005005/0.4293, allocations: 1.927 MB / 349.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/0.4301, allocations: 275.8 kB / 350.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.4303, allocations: 12.12 kB / 350.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.4311, allocations: 47.95 kB / 350.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.4314, allocations: 76.53 kB / 350.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.4315, allocations: 20 kB / 350.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001285/0.4328, allocations: 0.5849 MB / 350.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4328, allocations: 0 / 350.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001614/0.4345, allocations: 343 kB / 351.1 MB, free: 12.67 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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003111/0.4348, allocations: 134.9 kB / 351.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.4386, allocations: 1.293 MB / 352.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.4386, allocations: 4 kB / 352.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.4409, allocations: 0.8213 MB / 353.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.4428, allocations: 254.8 kB / 353.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/0.4499, allocations: 2.691 MB / 356.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.4513, allocations: 1.349 MB / 357.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007754/0.4522, allocations: 147.3 kB / 357.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.4524, allocations: 51.44 kB / 357.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of SimCode: time 3.757e-06/0.4524, allocations: 0 / 357.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of Templates: time 0.04724/0.4997, allocations: 17.77 MB / 375.6 MB, free: 4.086 MB / 314.7 MB