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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.07904, allocations: 44.51 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV): time 0.005855/0.08494, allocations: 3.94 MB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.08788, allocations: 1.31 MB / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.08831, allocations: 27.81 kB / 313.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.08875, allocations: 99.28 kB / 313.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.08943, allocations: 231.3 kB / 314 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.09017, allocations: 211.6 kB / 314.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.091, allocations: 0.5431 MB / 314.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005819/0.0916, allocations: 302.9 kB / 315 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.09199, allocations: 239 kB / 315.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.09239, allocations: 266.6 kB / 315.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.09249, allocations: 28 kB / 315.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.09261, allocations: 32 kB / 315.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.09278, allocations: 111.5 kB / 315.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.09297, allocations: 149.3 kB / 315.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009013/0.09389, allocations: 0.6898 MB / 316.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.576e-06/0.09391, allocations: 4 kB / 316.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.09392, allocations: 0 / 316.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.09394, allocations: 0 / 316.5 MB, free: 8.812 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001947/0.0959, allocations: 0.9133 MB / 317.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.09595, allocations: 12.03 kB / 317.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.09614, allocations: 83.06 kB / 317.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.09707, allocations: 473.9 kB / 318 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.09716, allocations: 49.3 kB / 318 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.0973, allocations: 64 kB / 318.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.09884, allocations: 0.6457 MB / 318.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.09889, allocations: 4 kB / 318.7 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.09898, allocations: 24 kB / 318.8 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.09901, allocations: 16 kB / 318.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.1003, allocations: 488.9 kB / 319.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.1049, allocations: 2.282 MB / 321.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.106, allocations: 447 kB / 322 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/0.1061, allocations: 19.97 kB / 322 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007891/0.1069, allocations: 331.3 kB / 322.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.454e-06/0.1069, allocations: 3.938 kB / 322.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.002497/0.1094, allocations: 0.8091 MB / 323.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.1095, allocations: 111.2 kB / 323.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.1103, allocations: 453.8 kB / 323.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.1104, allocations: 49.69 kB / 323.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.1107, allocations: 342.9 kB / 324.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.1109, allocations: 149.9 kB / 324.2 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.111, allocations: 12 kB / 324.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1112, allocations: 334.8 kB / 324.6 MB, free: 448 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.1117, allocations: 177 kB / 324.7 MB, free: 272 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.1124, allocations: 336.5 kB / 325.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.1129, allocations: 192.8 kB / 325.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1129, allocations: 0 / 325.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001469/0.1144, allocations: 0.5749 MB / 325.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.1146, allocations: 210.2 kB / 326 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1146, allocations: 4 kB / 326 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.115, allocations: 80.81 kB / 326.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.1155, allocations: 91.83 kB / 326.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.1182, allocations: 1.807 MB / 328 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.1187, allocations: 63.52 kB / 328.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.1188, allocations: 27.98 kB / 328.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.98e-06/0.1188, allocations: 4 kB / 328.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/0.1201, allocations: 0.511 MB / 328.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1201, allocations: 4 kB / 328.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.1204, allocations: 84.84 kB / 328.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.1208, allocations: 83.89 kB / 328.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.1234, allocations: 1.788 MB / 330.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.1238, allocations: 67.62 kB / 330.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.1239, allocations: 20.5 kB / 330.7 MB, free: 9.926 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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005233/0.1244, allocations: 305 kB / 331 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1246, allocations: 55.34 kB / 331 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1247, allocations: 65.41 kB / 331.1 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.052e-06/0.1248, allocations: 7.938 kB / 331.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-06/0.1248, allocations: 0 / 331.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1248, allocations: 7.938 kB / 331.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.1275, allocations: 1.239 MB / 332.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.516e-06/0.1276, allocations: 0 / 332.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.128, allocations: 59.97 kB / 332.4 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.1283, allocations: 80.73 kB / 332.5 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.1284, allocations: 15.98 kB / 332.5 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.131, allocations: 1.792 MB / 334.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.233e-06/0.131, allocations: 96 / 334.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.1331, allocations: 0.8411 MB / 335.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.1334, allocations: 172.4 kB / 335.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.815e-05/0.1336, allocations: 8 kB / 335.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.134, allocations: 35.97 kB / 335.3 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.1342, allocations: 60.31 kB / 335.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.1342, allocations: 16 kB / 335.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007529/0.135, allocations: 311.1 kB / 335.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.004e-06/0.135, allocations: 0 / 335.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001414/0.1365, allocations: 287.1 kB / 336 MB, free: 4.336 MB / 282.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/0.1367, allocations: 129.4 kB / 336.1 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.139, allocations: 0.9981 MB / 337.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.1391, allocations: 4 kB / 337.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.1399, allocations: 409.2 kB / 337.5 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.1405, allocations: 86.2 kB / 337.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.1434, allocations: 1.44 MB / 339 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.1442, allocations: 0.9217 MB / 340 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1444, allocations: 43.44 kB / 340 MB, free: 212 kB / 282.7 MB Notification: Performance of SimCode: time 1.685e-06/0.1444, allocations: 3.938 kB / 340 MB, free: 208 kB / 282.7 MB Notification: Performance of Templates: time 0.01709/0.1615, allocations: 9.688 MB / 349.7 MB, free: 6.523 MB / 298.7 MB