Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 15.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.0911, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006543/0.0977, allocations: 3.909 MB / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.1013, allocations: 1.322 MB / 314.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.102, allocations: 23.88 kB / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.1028, allocations: 179 kB / 314.5 MB, free: 10.89 MB / 266.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.001388/0.1043, allocations: 307 kB / 314.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.1049, allocations: 131.8 kB / 314.9 MB, free: 10.46 MB / 266.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.002094/0.107, allocations: 0.92 MB / 315.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.1084, allocations: 0.6583 MB / 316.5 MB, free: 8.855 MB / 266.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.0009475/0.1093, allocations: 450.4 kB / 317 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.1106, allocations: 0.5252 MB / 317.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.1109, allocations: 67.94 kB / 317.6 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.1112, allocations: 68 kB / 317.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.1116, allocations: 307 kB / 317.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.112, allocations: 273.1 kB / 318.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.1144, allocations: 1.633 MB / 319.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1144, allocations: 0 / 319.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1145, allocations: 4 kB / 319.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.135e-05/0.1145, allocations: 4 kB / 319.8 MB, free: 5.535 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.004787/0.1193, allocations: 1.416 MB / 321.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1194, allocations: 8.031 kB / 321.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005039/0.1199, allocations: 134.4 kB / 321.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.1222, allocations: 0.8404 MB / 322.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.1223, allocations: 74 kB / 322.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.1226, allocations: 95.98 kB / 322.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/0.1266, allocations: 1.427 MB / 323.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.1267, allocations: 4 kB / 323.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.1268, allocations: 36 kB / 323.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.1269, allocations: 49.98 kB / 323.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/0.1308, allocations: 1.292 MB / 325.2 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.1418, allocations: 4.343 MB / 329.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.1453, allocations: 1.967 MB / 331.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1454, allocations: 16.66 kB / 331.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.1472, allocations: 0.5976 MB / 332.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 4.468e-06/0.1472, allocations: 4 kB / 332.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.01346/0.1607, allocations: 2.821 MB / 334.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.1608, allocations: 111.5 kB / 335.1 MB, free: 5.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.1625, allocations: 0.8207 MB / 335.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.1627, allocations: 41.7 kB / 335.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.1632, allocations: 479.8 kB / 336.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.1636, allocations: 244.5 kB / 336.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.1636, allocations: 8 kB / 336.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.1639, allocations: 402.7 kB / 337 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.165, allocations: 401.7 kB / 337.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.1663, allocations: 0.5454 MB / 338 MB, free: 2.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1675, allocations: 441.9 kB / 338.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1675, allocations: 4 kB / 338.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003568/0.1711, allocations: 1.295 MB / 339.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.1712, allocations: 11.95 kB / 339.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.1712, allocations: 7.938 kB / 339.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.1731, allocations: 472.7 kB / 340.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.1738, allocations: 95.83 kB / 340.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.1855, allocations: 5.305 MB / 345.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009519/0.1865, allocations: 79.45 kB / 345.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.1866, allocations: 35.94 kB / 345.7 MB, free: 10.9 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.0009742/0.1876, allocations: 455.2 kB / 346.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.1879, allocations: 90.97 kB / 346.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.1882, allocations: 124.5 kB / 346.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.1882, allocations: 7.922 kB / 346.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1882, allocations: 0 / 346.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/0.1889, allocations: 271.9 kB / 346.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.1891, allocations: 19.95 kB / 346.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.1899, allocations: 39.95 kB / 346.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.1901, allocations: 64.56 kB / 346.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005238/0.1954, allocations: 1.552 MB / 348.3 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00405/0.1995, allocations: 1.694 MB / 350 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001182/0.2007, allocations: 472.9 kB / 350.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.202, allocations: 0.581 MB / 351 MB, free: 5.508 MB / 298.7 MB Notification: Performance of Backend: time 7.92e-07/0.202, allocations: 4 kB / 351 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.2049, allocations: 0.9701 MB / 352 MB, free: 4.516 MB / 298.7 MB Notification: Performance of SimCode: time 0.006508/0.2115, allocations: 3.166 MB / 355.2 MB, free: 1.297 MB / 298.7 MB Notification: Performance of Templates: time 0.04557/0.2571, allocations: 16.23 MB / 371.4 MB, free: 1.113 MB / 314.7 MB