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_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006111/0.0006114, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09475, allocations: 44.51 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.007122/0.1019, allocations: 4.092 MB / 312.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.1053, allocations: 1.373 MB / 313.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.1061, allocations: 11.94 kB / 313.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.1067, allocations: 119.1 kB / 314 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1077, allocations: 251.2 kB / 314.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009175/0.1086, allocations: 215.6 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.1099, allocations: 0.598 MB / 315 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.1106, allocations: 331.5 kB / 315.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.1112, allocations: 254.9 kB / 315.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.1116, allocations: 286.5 kB / 315.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.653e-05/0.1117, allocations: 32 kB / 315.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1119, allocations: 32 kB / 315.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.112, allocations: 127.4 kB / 316.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.1123, allocations: 169.2 kB / 316.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.1134, allocations: 0.7599 MB / 317 MB, free: 8.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.131e-06/0.1134, allocations: 0 / 317 MB, free: 8.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.552e-06/0.1134, allocations: 0 / 317 MB, free: 8.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.1134, allocations: 4 kB / 317 MB, free: 8.328 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002137/0.1156, allocations: 0.9396 MB / 317.9 MB, free: 7.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1156, allocations: 19.95 kB / 318 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.1159, allocations: 82.97 kB / 318 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.117, allocations: 485.9 kB / 318.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/0.1171, allocations: 53.31 kB / 318.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1173, allocations: 67.98 kB / 318.6 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.1192, allocations: 0.7098 MB / 319.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.1193, allocations: 0 / 319.3 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.1194, allocations: 31.94 kB / 319.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.1194, allocations: 20 kB / 319.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.1209, allocations: 0.5204 MB / 319.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.1263, allocations: 2.592 MB / 322.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.1277, allocations: 0.5434 MB / 323 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.1277, allocations: 12.42 kB / 323.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008922/0.1286, allocations: 373.7 kB / 323.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 3.744e-06/0.1287, allocations: 0 / 323.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.003401/0.1321, allocations: 1.073 MB / 324.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1322, allocations: 115.4 kB / 324.6 MB, free: 392 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.1331, allocations: 469.7 kB / 325.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.506e-05/0.1332, allocations: 45.62 kB / 325.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.1335, allocations: 350.8 kB / 325.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.1337, allocations: 177.5 kB / 325.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.1338, allocations: 12 kB / 325.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.134, allocations: 334.8 kB / 326 MB, free: 15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.1346, allocations: 205.2 kB / 326.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.1354, allocations: 369.5 kB / 326.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.136, allocations: 218.1 kB / 326.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/0.136, allocations: 4 kB / 326.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001799/0.1379, allocations: 0.6645 MB / 327.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.1381, allocations: 222.7 kB / 327.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.1381, allocations: 4 kB / 327.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.1389, allocations: 149.7 kB / 327.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.1394, allocations: 99.77 kB / 327.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.1447, allocations: 3.475 MB / 331.3 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.1453, allocations: 75.41 kB / 331.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.1454, allocations: 27.95 kB / 331.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1454, allocations: 4 kB / 331.4 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/0.147, allocations: 0.6042 MB / 332.1 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.1471, allocations: 4 kB / 332.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.1477, allocations: 158.3 kB / 332.2 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.1481, allocations: 91.83 kB / 332.3 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/0.1531, allocations: 3.455 MB / 335.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.1536, allocations: 67.52 kB / 335.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.1537, allocations: 20.39 kB / 335.8 MB, free: 4.418 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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006028/0.1543, allocations: 321 kB / 336.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1545, allocations: 55.34 kB / 336.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1546, allocations: 69.5 kB / 336.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.1547, allocations: 11.95 kB / 336.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.004e-06/0.1547, allocations: 0 / 336.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1547, allocations: 3.984 kB / 336.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.158, allocations: 1.423 MB / 337.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.255e-06/0.158, allocations: 0 / 337.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.1584, allocations: 63.89 kB / 337.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/0.159, allocations: 145.5 kB / 337.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.1591, allocations: 12 kB / 337.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004793/0.1639, allocations: 3.313 MB / 341.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.3e-06/0.164, allocations: 3.953 kB / 341.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.1664, allocations: 0.9792 MB / 342.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.1669, allocations: 192.2 kB / 342.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.167, allocations: 19.94 kB / 342.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.1675, allocations: 31.97 kB / 342.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.1677, allocations: 76.45 kB / 342.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.1678, allocations: 19.98 kB / 342.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005546/0.1684, allocations: 315.1 kB / 342.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.1684, allocations: 0 / 342.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001564/0.17, allocations: 335 kB / 343.2 MB, free: 12.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_n2.off,rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.1703, allocations: 140.4 kB / 343.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.1735, allocations: 1.392 MB / 344.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.1735, allocations: 0 / 344.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.1748, allocations: 0.5678 MB / 345.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.1756, allocations: 98.14 kB / 345.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.1793, allocations: 1.601 MB / 347 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/0.1801, allocations: 0.943 MB / 347.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.1804, allocations: 51.42 kB / 348 MB, free: 7.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1804, allocations: 0 / 348 MB, free: 7.73 MB / 298.7 MB Notification: Performance of Templates: time 0.0244/0.2048, allocations: 13.37 MB / 361.4 MB, free: 10.37 MB / 314.7 MB