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.Rectifier1Pulse.Thyristor1Pulse_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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003549, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.0812, allocations: 44.5 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004738/0.08598, allocations: 2.997 MB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.08854, allocations: 1.065 MB / 312.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.08896, allocations: 11.94 kB / 312.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.08935, allocations: 79.45 kB / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.08985, allocations: 147.5 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.0905, allocations: 163.7 kB / 312.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.0911, allocations: 359.7 kB / 313.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.09154, allocations: 209.9 kB / 313.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.09183, allocations: 151.3 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.0921, allocations: 167.2 kB / 313.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.09218, allocations: 20 kB / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.09226, allocations: 16 kB / 313.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.09239, allocations: 75.67 kB / 313.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.09255, allocations: 109.5 kB / 313.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.09317, allocations: 463 kB / 314.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.09319, allocations: 4 kB / 314.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 2e-06/0.0932, allocations: 0 / 314.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.09323, allocations: 0 / 314.4 MB, free: 10.98 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001582/0.09482, allocations: 0.7096 MB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.09488, allocations: 8.031 kB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.09504, allocations: 51.44 kB / 315.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.09578, allocations: 367.1 kB / 315.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.09585, allocations: 36.98 kB / 315.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.09596, allocations: 43.94 kB / 315.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.09703, allocations: 439 kB / 316 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.09707, allocations: 4 kB / 316 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.09715, allocations: 19.98 kB / 316 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.09718, allocations: 12 kB / 316 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.09808, allocations: 323.7 kB / 316.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.1015, allocations: 1.56 MB / 317.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.1023, allocations: 270.8 kB / 318.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.1023, allocations: 7.984 kB / 318.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006063/0.103, allocations: 252.8 kB / 318.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 3.649e-06/0.103, allocations: 0 / 318.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001721/0.1047, allocations: 0.5388 MB / 319 MB, free: 6.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1049, allocations: 118.8 kB / 319.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.1054, allocations: 316.4 kB / 319.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.1055, allocations: 37.69 kB / 319.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.1057, allocations: 282.6 kB / 319.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1058, allocations: 86.8 kB / 319.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1059, allocations: 12 kB / 319.8 MB, free: 5.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1061, allocations: 326.8 kB / 320.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.1064, allocations: 120.8 kB / 320.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.1069, allocations: 263.1 kB / 320.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.1074, allocations: 145 kB / 320.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.719e-06/0.1074, allocations: 4 kB / 320.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001075/0.1085, allocations: 419.5 kB / 321.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.1087, allocations: 212.4 kB / 321.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1087, allocations: 4 kB / 321.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.109, allocations: 48.83 kB / 321.3 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.1094, allocations: 67.84 kB / 321.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.1113, allocations: 1.502 MB / 322.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.1118, allocations: 59.73 kB / 322.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.1118, allocations: 16 kB / 323 MB, free: 1.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.783e-06/0.1119, allocations: 0 / 323 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009063/0.1128, allocations: 376.5 kB / 323.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1128, allocations: 4 kB / 323.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.113, allocations: 40.84 kB / 323.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1133, allocations: 71.91 kB / 323.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.1152, allocations: 1.499 MB / 324.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.1157, allocations: 51.73 kB / 325 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.1157, allocations: 16 kB / 325 MB, free: 15.61 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: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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.twoPulse.fire_n[1],pulse2.fire_p,$PRE.idealthyristor.off,idealthyristor.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004538/0.1162, allocations: 283.5 kB / 325.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.382e-05/0.1163, allocations: 31.62 kB / 325.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1164, allocations: 39.95 kB / 325.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.831e-06/0.1164, allocations: 8 kB / 325.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-06/0.1165, allocations: 0 / 325.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.053e-06/0.1165, allocations: 0 / 325.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1185, allocations: 0.8949 MB / 326.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.1185, allocations: 8 kB / 326.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.1188, allocations: 27.97 kB / 326.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.119, allocations: 44.78 kB / 326.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.119, allocations: 15.94 kB / 326.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.1208, allocations: 1.41 MB / 327.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.853e-06/0.1208, allocations: 3.984 kB / 327.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.1223, allocations: 0.5801 MB / 328.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.1225, allocations: 136.7 kB / 328.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.1226, allocations: 12.36 kB / 328.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.1229, allocations: 27.98 kB / 328.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1231, allocations: 27.95 kB / 328.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.1232, allocations: 23.98 kB / 328.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003478/0.1235, allocations: 215.1 kB / 328.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.111e-06/0.1235, allocations: 0 / 328.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001087/0.1246, allocations: 191.3 kB / 329 MB, free: 11.39 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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.fire_n[1],pulse2.fire_p,idealthyristor.off) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.1249, allocations: 130.9 kB / 329.1 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.1266, allocations: 0.7283 MB / 329.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.546e-06/0.1266, allocations: 0 / 329.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.1273, allocations: 279.8 kB / 330.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.1278, allocations: 56.95 kB / 330.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1299, allocations: 0.9949 MB / 331.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.1305, allocations: 0.8386 MB / 332 MB, free: 8.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.1307, allocations: 31.44 kB / 332 MB, free: 8.23 MB / 282.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1307, allocations: 0 / 332 MB, free: 8.23 MB / 282.7 MB Notification: Performance of Templates: time 0.01218/0.1429, allocations: 6.499 MB / 338.5 MB, free: 1.73 MB / 282.7 MB