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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08202, allocations: 44.52 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005947/0.08802, allocations: 3.765 MB / 312.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.09117, allocations: 1.26 MB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.09172, allocations: 15.88 kB / 313.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.09219, allocations: 107.2 kB / 313.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006958/0.0929, allocations: 207.4 kB / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.09372, allocations: 207.6 kB / 313.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.09475, allocations: 0.5081 MB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.09536, allocations: 282.6 kB / 314.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004296/0.09581, allocations: 223 kB / 314.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.09621, allocations: 246.8 kB / 315.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.136e-05/0.09632, allocations: 31.94 kB / 315.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.09643, allocations: 24 kB / 315.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.0966, allocations: 107.5 kB / 315.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.09681, allocations: 145.3 kB / 315.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008912/0.09772, allocations: 0.6547 MB / 316.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.09773, allocations: 0 / 316.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.246e-06/0.09775, allocations: 0 / 316.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.09777, allocations: 0 / 316.1 MB, free: 9.223 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001929/0.09971, allocations: 0.8731 MB / 317 MB, free: 8.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.09977, allocations: 12.03 kB / 317 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.09997, allocations: 79.05 kB / 317.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.101, allocations: 454.1 kB / 317.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.1011, allocations: 53.23 kB / 317.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.1012, allocations: 63.98 kB / 317.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.1027, allocations: 0.6067 MB / 318.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.1028, allocations: 3.984 kB / 318.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.1029, allocations: 24 kB / 318.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1029, allocations: 12 kB / 318.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.1042, allocations: 461 kB / 318.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.109, allocations: 2.162 MB / 320.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.1101, allocations: 423.5 kB / 321.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1102, allocations: 4 kB / 321.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007957/0.111, allocations: 320 kB / 321.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 3.591e-06/0.111, allocations: 0 / 321.6 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.002634/0.1136, allocations: 0.8231 MB / 322.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1138, allocations: 110.8 kB / 322.6 MB, free: 2.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.1146, allocations: 433.8 kB / 323 MB, free: 2.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/0.1147, allocations: 41.69 kB / 323 MB, free: 2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.115, allocations: 335 kB / 323.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.1152, allocations: 138.1 kB / 323.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.1152, allocations: 12 kB / 323.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1154, allocations: 326.8 kB / 323.8 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.116, allocations: 173 kB / 324 MB, free: 1.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.1166, allocations: 320.1 kB / 324.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.1172, allocations: 191.9 kB / 324.5 MB, free: 472 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.232e-06/0.1172, allocations: 3.938 kB / 324.5 MB, free: 468 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001464/0.1187, allocations: 0.5446 MB / 325 MB, free: 15.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.1189, allocations: 232.8 kB / 325.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.1189, allocations: 4 kB / 325.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.1194, allocations: 88.81 kB / 325.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.1198, allocations: 79.83 kB / 325.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.1228, allocations: 1.842 MB / 327.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.1234, allocations: 83.52 kB / 327.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.1234, allocations: 23.98 kB / 327.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1235, allocations: 4.188 kB / 327.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/0.1248, allocations: 0.4888 MB / 327.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1248, allocations: 8.469 kB / 327.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.1252, allocations: 92.77 kB / 328 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.1256, allocations: 79.83 kB / 328.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.1283, allocations: 1.835 MB / 329.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.1288, allocations: 63.64 kB / 330 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.1289, allocations: 20 kB / 330 MB, free: 10.63 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 (57): * Single equations (assignments): 56 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005389/0.1294, allocations: 300.9 kB / 330.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1296, allocations: 47.44 kB / 330.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.1297, allocations: 56.95 kB / 330.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.1297, allocations: 12.03 kB / 330.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-06/0.1298, allocations: 0 / 330.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-06/0.1298, allocations: 4 kB / 330.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.1325, allocations: 1.203 MB / 331.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.08e-06/0.1325, allocations: 0 / 331.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.1329, allocations: 51.97 kB / 331.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.1332, allocations: 84.81 kB / 331.7 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.1333, allocations: 12 kB / 331.7 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.136, allocations: 1.773 MB / 333.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.679e-06/0.136, allocations: 0 / 333.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.1381, allocations: 0.8188 MB / 334.3 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.1385, allocations: 160.4 kB / 334.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.1386, allocations: 15.98 kB / 334.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.139, allocations: 27.98 kB / 334.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.1392, allocations: 51.92 kB / 334.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.1393, allocations: 23.98 kB / 334.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005122/0.1398, allocations: 295.1 kB / 334.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.1398, allocations: 0 / 334.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001305/0.1411, allocations: 279 kB / 335.2 MB, free: 5.188 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: 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_p.off,rectifier.thyristor_n.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002499/0.1414, allocations: 130 kB / 335.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.1439, allocations: 0.9986 MB / 336.3 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.452e-06/0.144, allocations: 384 / 336.3 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009622/0.1449, allocations: 402.2 kB / 336.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.1456, allocations: 78.52 kB / 336.8 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.1485, allocations: 1.294 MB / 338 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.1493, allocations: 0.9141 MB / 339 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.1495, allocations: 39.42 kB / 339 MB, free: 1.223 MB / 282.7 MB Notification: Performance of SimCode: time 1.656e-06/0.1495, allocations: 4 kB / 339 MB, free: 1.219 MB / 282.7 MB Notification: Performance of Templates: time 0.02849/0.178, allocations: 9.226 MB / 348.2 MB, free: 8.004 MB / 298.7 MB