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.RectifierBridge2mPulse.DiodeBridge2mPulse.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.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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003505, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08185/0.08223, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00568/0.08795, allocations: 3.917 MB / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.09107, allocations: 1.322 MB / 313.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.09162, allocations: 27.75 kB / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.09228, allocations: 183 kB / 313.8 MB, free: 11.55 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.001012/0.09331, allocations: 299.1 kB / 314.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.09383, allocations: 139.7 kB / 314.2 MB, free: 11.12 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.001591/0.09544, allocations: 0.9161 MB / 315.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.09661, allocations: 0.6622 MB / 315.8 MB, free: 9.52 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.0008922/0.09753, allocations: 450.4 kB / 316.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009204/0.09847, allocations: 0.5291 MB / 316.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.09868, allocations: 64 kB / 316.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.09892, allocations: 71.94 kB / 316.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.09933, allocations: 299.1 kB / 317.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.09974, allocations: 277 kB / 317.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.102, allocations: 1.64 MB / 319.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.606e-06/0.1021, allocations: 0 / 319.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.708e-06/0.1021, allocations: 4 kB / 319.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.587e-05/0.1021, allocations: 0 / 319.1 MB, free: 6.195 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003566/0.1057, allocations: 1.412 MB / 320.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1058, allocations: 8.031 kB / 320.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.1062, allocations: 134.4 kB / 320.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.108, allocations: 0.8365 MB / 321.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.1081, allocations: 74 kB / 321.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.1084, allocations: 96 kB / 321.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/0.1119, allocations: 1.431 MB / 323.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.112, allocations: 4 kB / 323.1 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.1122, allocations: 39.98 kB / 323.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.78e-05/0.1122, allocations: 38 kB / 323.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/0.1157, allocations: 1.296 MB / 324.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009403/0.1251, allocations: 4.351 MB / 328.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.1281, allocations: 1.967 MB / 330.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.249e-05/0.1282, allocations: 12.66 kB / 330.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.1295, allocations: 0.5976 MB / 331.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 7.081e-06/0.1295, allocations: 0 / 331.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.009693/0.1392, allocations: 2.832 MB / 334.3 MB, free: 6.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1394, allocations: 111.5 kB / 334.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.1409, allocations: 0.8206 MB / 335.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.1411, allocations: 45.64 kB / 335.2 MB, free: 5.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.1416, allocations: 494.3 kB / 335.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.142, allocations: 240.5 kB / 335.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.142, allocations: 19.94 kB / 336 MB, free: 4.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1423, allocations: 342.8 kB / 336.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/0.1432, allocations: 397.7 kB / 336.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.1443, allocations: 0.5455 MB / 337.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.1453, allocations: 449.9 kB / 337.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.839e-06/0.1454, allocations: 0 / 337.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002885/0.1483, allocations: 1.241 MB / 338.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.1483, allocations: 11.95 kB / 338.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.1484, allocations: 4 kB / 338.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.1499, allocations: 476.5 kB / 339.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.1505, allocations: 95.88 kB / 339.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.1609, allocations: 5.301 MB / 344.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.1617, allocations: 87.41 kB / 344.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.1618, allocations: 28 kB / 344.9 MB, free: 11.65 MB / 298.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 () * Number of clocked 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.0009345/0.1627, allocations: 467.3 kB / 345.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.1629, allocations: 90.97 kB / 345.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.1632, allocations: 108.6 kB / 345.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1633, allocations: 4 kB / 345.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-06/0.1633, allocations: 4 kB / 345.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.1633, allocations: 3.984 kB / 345.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005992/0.1693, allocations: 2.627 MB / 348.2 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.137e-06/0.1693, allocations: 0 / 348.2 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.1698, allocations: 67.89 kB / 348.3 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.1712, allocations: 465.2 kB / 348.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/0.1714, allocations: 15.98 kB / 348.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00988/0.1812, allocations: 5.256 MB / 354 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.131e-06/0.1813, allocations: 0 / 354 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/0.1855, allocations: 1.935 MB / 355.9 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/0.1862, allocations: 268.1 kB / 356.2 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.1864, allocations: 16 kB / 356.2 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/0.187, allocations: 43.95 kB / 356.2 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.1873, allocations: 80.53 kB / 356.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.1874, allocations: 20 kB / 356.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.1885, allocations: 0.5849 MB / 356.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.1886, allocations: 0 / 356.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001404/0.19, allocations: 343 kB / 357.3 MB, free: 15.03 MB / 314.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) * Number of clocked states: 0 () * 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.0002513/0.1902, allocations: 127 kB / 357.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.1933, allocations: 1.289 MB / 358.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.821e-06/0.1933, allocations: 4 kB / 358.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.1952, allocations: 0.825 MB / 359.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.1967, allocations: 258.8 kB / 359.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.2026, allocations: 2.712 MB / 362.5 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.204, allocations: 1.311 MB / 363.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.2043, allocations: 55.42 kB / 363.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of SimCode: time 1.811e-06/0.2043, allocations: 0 / 363.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of Templates: time 0.2365/0.4408, allocations: 19.78 MB / 383.6 MB, free: 58 MB / 314.7 MB