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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09241, allocations: 44.49 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005171/0.09762, allocations: 3.024 MB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1001, allocations: 0.9403 MB / 313 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.1005, allocations: 11.94 kB / 313.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.1007, allocations: 51.59 kB / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.1013, allocations: 175.4 kB / 313.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.1017, allocations: 107.8 kB / 313.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007213/0.1025, allocations: 399 kB / 313.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.1029, allocations: 157.3 kB / 313.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1032, allocations: 187.2 kB / 314.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.1036, allocations: 195.1 kB / 314.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.806e-05/0.1037, allocations: 24 kB / 314.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1038, allocations: 24 kB / 314.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.104, allocations: 83.66 kB / 314.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1041, allocations: 113.5 kB / 314.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.1048, allocations: 466.7 kB / 315 MB, free: 10.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1048, allocations: 4 kB / 315 MB, free: 10.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1048, allocations: 0 / 315 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.1048, allocations: 0 / 315 MB, free: 10.39 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.001716/0.1066, allocations: 0.6869 MB / 315.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1066, allocations: 12.03 kB / 315.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1068, allocations: 47.44 kB / 315.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.1075, allocations: 355 kB / 316.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.1075, allocations: 40.94 kB / 316.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1077, allocations: 43.91 kB / 316.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1089, allocations: 445.6 kB / 316.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1089, allocations: 0 / 316.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.109, allocations: 19.94 kB / 316.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.109, allocations: 8 kB / 316.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.11, allocations: 323.8 kB / 316.9 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.1139, allocations: 1.84 MB / 318.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1151, allocations: 0.6086 MB / 319.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.1152, allocations: 4.328 kB / 319.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007403/0.1159, allocations: 273.2 kB / 319.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 3.467e-06/0.116, allocations: 0 / 319.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.004041/0.12, allocations: 0.8499 MB / 320.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.1201, allocations: 85.11 kB / 320.6 MB, free: 4.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.1206, allocations: 312.4 kB / 320.9 MB, free: 4.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.1207, allocations: 37.7 kB / 320.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.1209, allocations: 208.4 kB / 321.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1211, allocations: 138.1 kB / 321.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1212, allocations: 8 kB / 321.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1213, allocations: 346.8 kB / 321.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.1217, allocations: 121.1 kB / 321.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.1223, allocations: 264.8 kB / 322 MB, free: 2.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.1228, allocations: 144 kB / 322.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1228, allocations: 0 / 322.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001525/0.1243, allocations: 0.5087 MB / 322.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1244, allocations: 4 kB / 322.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.1244, allocations: 11.94 kB / 322.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.1251, allocations: 150.6 kB / 322.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.1256, allocations: 59.91 kB / 322.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.13, allocations: 2.341 MB / 325.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1305, allocations: 43.62 kB / 325.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.1306, allocations: 20.03 kB / 325.3 MB, free: 15.53 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: 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.0003365/0.1309, allocations: 181.9 kB / 325.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.131, allocations: 39.53 kB / 325.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.1312, allocations: 44.3 kB / 325.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1312, allocations: 11.92 kB / 325.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1312, allocations: 0 / 325.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.1315, allocations: 148.5 kB / 325.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.1316, allocations: 8 kB / 325.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.1319, allocations: 15.98 kB / 325.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1321, allocations: 31.91 kB / 325.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002195/0.1343, allocations: 0.5767 MB / 326.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001716/0.136, allocations: 0.7002 MB / 327 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004572/0.1365, allocations: 135.9 kB / 327.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003864/0.1369, allocations: 219.1 kB / 327.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of Backend: time 6.11e-07/0.1369, allocations: 4 kB / 327.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1384, allocations: 0.4974 MB / 327.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of SimCode: time 0.002329/0.1407, allocations: 1.477 MB / 329.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of Templates: time 0.01806/0.1588, allocations: 5.671 MB / 335 MB, free: 5.719 MB / 282.7 MB