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.ThyristorBridge2Pulse_R.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.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.00035, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08168, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006502/0.08822, allocations: 3.995 MB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.09164, allocations: 1.361 MB / 313.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.0923, allocations: 19.88 kB / 313.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.09278, allocations: 99.27 kB / 313.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009221/0.09373, allocations: 247.2 kB / 314.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009171/0.09467, allocations: 223.5 kB / 314.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.09605, allocations: 0.5741 MB / 314.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.0968, allocations: 319 kB / 315.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.09738, allocations: 246.9 kB / 315.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.09781, allocations: 278.6 kB / 315.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.228e-05/0.09792, allocations: 32 kB / 315.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.09804, allocations: 32 kB / 315.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.09823, allocations: 127.4 kB / 315.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.09844, allocations: 153.3 kB / 316 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.09947, allocations: 0.7521 MB / 316.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.434e-06/0.09949, allocations: 0 / 316.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.293e-06/0.0995, allocations: 0 / 316.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.09952, allocations: 0 / 316.8 MB, free: 8.512 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002122/0.1017, allocations: 0.9235 MB / 317.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1017, allocations: 8.031 kB / 317.7 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.1019, allocations: 87.05 kB / 317.8 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.103, allocations: 481.9 kB / 318.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.1031, allocations: 49.31 kB / 318.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1032, allocations: 64 kB / 318.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.105, allocations: 0.6942 MB / 319.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.105, allocations: 4 kB / 319.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.1051, allocations: 31.98 kB / 319.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.1052, allocations: 16 kB / 319.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.1066, allocations: 0.5009 MB / 319.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.1119, allocations: 2.545 MB / 322.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.1134, allocations: 0.538 MB / 322.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.1134, allocations: 16.31 kB / 322.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009456/0.1144, allocations: 373.6 kB / 323.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.717e-06/0.1144, allocations: 0 / 323.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003649/0.1181, allocations: 1.043 MB / 324.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1182, allocations: 119.3 kB / 324.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.119, allocations: 449.8 kB / 324.7 MB, free: 292 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.1191, allocations: 45.7 kB / 324.8 MB, free: 240 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.1194, allocations: 347 kB / 325.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.1197, allocations: 173.6 kB / 325.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.1197, allocations: 12 kB / 325.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1199, allocations: 334.8 kB / 325.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.1205, allocations: 197.2 kB / 325.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/0.1212, allocations: 361.5 kB / 326.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.1219, allocations: 214.1 kB / 326.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.527e-06/0.1219, allocations: 4 kB / 326.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001726/0.1236, allocations: 0.652 MB / 327 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.1239, allocations: 218.7 kB / 327.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.1239, allocations: 4 kB / 327.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000676/0.1246, allocations: 156.5 kB / 327.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.125, allocations: 87.83 kB / 327.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.1294, allocations: 2.401 MB / 329.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.13, allocations: 71.52 kB / 329.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.1301, allocations: 24 kB / 330 MB, free: 10.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1301, allocations: 4 kB / 330 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/0.1317, allocations: 0.5997 MB / 330.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.1318, allocations: 8 kB / 330.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.1324, allocations: 152.6 kB / 330.7 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.1329, allocations: 83.83 kB / 330.8 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.1371, allocations: 2.374 MB / 333.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.1376, allocations: 55.58 kB / 333.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.1377, allocations: 31.94 kB / 333.3 MB, free: 7.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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.0006055/0.1383, allocations: 317.1 kB / 333.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.1384, allocations: 59.28 kB / 333.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.1386, allocations: 69.38 kB / 333.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.1387, allocations: 4 kB / 333.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.411e-06/0.1387, allocations: 4 kB / 333.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.161e-06/0.1387, allocations: 0 / 333.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.1419, allocations: 1.406 MB / 335.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.142, allocations: 0 / 335.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.1423, allocations: 55.91 kB / 335.2 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.1429, allocations: 136.8 kB / 335.3 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.143, allocations: 15.95 kB / 335.3 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004059/0.1471, allocations: 2.316 MB / 337.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.288e-06/0.1471, allocations: 0 / 337.6 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.1495, allocations: 0.9512 MB / 338.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.1499, allocations: 196.2 kB / 338.8 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1501, allocations: 12 kB / 338.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.1505, allocations: 39.97 kB / 338.8 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.1507, allocations: 72.45 kB / 338.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.1508, allocations: 19.98 kB / 338.9 MB, free: 1.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005422/0.1514, allocations: 307.1 kB / 339.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.1514, allocations: 0 / 339.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001398/0.1528, allocations: 335.1 kB / 339.5 MB, free: 0.7656 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n2.off,rectifier.thyristor_n1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002443/0.1531, allocations: 125.4 kB / 339.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.1559, allocations: 1.22 MB / 340.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.151e-06/0.156, allocations: 0 / 340.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1571, allocations: 490.9 kB / 341.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.1578, allocations: 101.9 kB / 341.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.1611, allocations: 1.497 MB / 343 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/0.1619, allocations: 0.9348 MB / 343.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.1621, allocations: 43.44 kB / 343.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 4.08e-06/0.1621, allocations: 0 / 343.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Templates: time 0.02/0.1822, allocations: 10.4 MB / 354.3 MB, free: 1.875 MB / 298.7 MB