Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 194.8 MB / 211.6 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006581/0.0006584, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1413, allocations: 44.52 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.008548/0.1499, allocations: 3.016 MB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.1538, allocations: 0.9441 MB / 312.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.1547, allocations: 8 kB / 312.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.155, allocations: 51.53 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.1563, allocations: 179.5 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.1572, allocations: 103.8 kB / 312.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.1588, allocations: 403 kB / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006349/0.1595, allocations: 157 kB / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.1601, allocations: 167.3 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.1607, allocations: 207.1 kB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1608, allocations: 23.94 kB / 313.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.161, allocations: 24 kB / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1612, allocations: 83.66 kB / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.1615, allocations: 113.5 kB / 313.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1625, allocations: 467 kB / 314.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.067e-06/0.1626, allocations: 4 kB / 314.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.989e-06/0.1626, allocations: 0 / 314.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.1626, allocations: 0 / 314.3 MB, free: 11.07 MB / 266.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.002559/0.1652, allocations: 0.687 MB / 315 MB, free: 10.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.1653, allocations: 8.031 kB / 315 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.1656, allocations: 55.38 kB / 315 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.1667, allocations: 359 kB / 315.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.1668, allocations: 29 kB / 315.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.167, allocations: 43.91 kB / 315.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.169, allocations: 453.5 kB / 315.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.1691, allocations: 3.984 kB / 315.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.1692, allocations: 20 kB / 315.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.1693, allocations: 12 kB / 315.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.1711, allocations: 319.8 kB / 316.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006544/0.1776, allocations: 1.844 MB / 318.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.1798, allocations: 0.6047 MB / 318.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.1799, allocations: 8.266 kB / 318.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.181, allocations: 265.2 kB / 319 MB, free: 6.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 5.678e-06/0.1811, allocations: 0 / 319 MB, free: 6.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.006123/0.1872, allocations: 0.8538 MB / 319.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1874, allocations: 81.11 kB / 319.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.1883, allocations: 312.4 kB / 320.2 MB, free: 4.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.1884, allocations: 41.64 kB / 320.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.1888, allocations: 262.8 kB / 320.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.1891, allocations: 134.1 kB / 320.6 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.1892, allocations: 8 kB / 320.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.1895, allocations: 334.8 kB / 321 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.1902, allocations: 125.1 kB / 321.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.1911, allocations: 256.9 kB / 321.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.192, allocations: 140 kB / 321.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.898e-06/0.192, allocations: 0 / 321.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002539/0.1946, allocations: 0.4933 MB / 322 MB, free: 2.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.1946, allocations: 11.95 kB / 322 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1947, allocations: 4.469 kB / 322 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.196, allocations: 152.7 kB / 322.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.1967, allocations: 67.91 kB / 322.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/0.2041, allocations: 2.334 MB / 324.5 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.2049, allocations: 43.62 kB / 324.6 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.205, allocations: 24 kB / 324.6 MB, free: 188 kB / 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 () * Number of clocked 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.0005403/0.2056, allocations: 173.7 kB / 324.8 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.2058, allocations: 43.58 kB / 324.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.206, allocations: 48.25 kB / 324.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.2061, allocations: 4 kB / 324.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-06/0.2061, allocations: 0 / 324.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.2061, allocations: 3.984 kB / 324.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.2089, allocations: 1.004 MB / 325.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.258e-06/0.2089, allocations: 0 / 325.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.2092, allocations: 47.91 kB / 325.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/0.2098, allocations: 140.4 kB / 326.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.2099, allocations: 4 kB / 326.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.2138, allocations: 2.34 MB / 328.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-06/0.2138, allocations: 0 / 328.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.2156, allocations: 0.7231 MB / 329.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.2158, allocations: 148.6 kB / 329.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.2159, allocations: 8 kB / 329.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.2162, allocations: 11.98 kB / 329.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.2164, allocations: 35.95 kB / 329.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.2164, allocations: 15.98 kB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003297/0.2168, allocations: 223.1 kB / 329.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.2168, allocations: 0 / 329.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000832/0.2176, allocations: 143.7 kB / 329.7 MB, free: 10.84 MB / 282.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) * Number of clocked states: 0 () * 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.0002008/0.2178, allocations: 115.8 kB / 329.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.2192, allocations: 0.5297 MB / 330.3 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.351e-06/0.2192, allocations: 0 / 330.3 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.2201, allocations: 399.4 kB / 330.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.2206, allocations: 69.08 kB / 330.8 MB, free: 9.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.2229, allocations: 1.051 MB / 331.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.2235, allocations: 0.836 MB / 332.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2236, allocations: 31.44 kB / 332.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of SimCode: time 1.577e-06/0.2237, allocations: 0 / 332.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of Templates: time 0.01269/0.2364, allocations: 6.652 MB / 339.4 MB, free: 1.102 MB / 282.7 MB