Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09552, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.00752/0.1031, allocations: 4.295 MB / 313.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.107, allocations: 1.536 MB / 314.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.1075, allocations: 23.88 kB / 314.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.1082, allocations: 171 kB / 315.1 MB, free: 10.29 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1093, allocations: 311 kB / 315.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.1101, allocations: 223.6 kB / 315.6 MB, free: 9.77 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFFlatten.flatten: time 0.001696/0.1118, allocations: 0.9677 MB / 316.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.1136, allocations: 0.9666 MB / 317.6 MB, free: 7.812 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.1144, allocations: 466.2 kB / 318 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009138/0.1153, allocations: 0.5405 MB / 318.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.1155, allocations: 64 kB / 318.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1158, allocations: 68 kB / 318.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.1162, allocations: 311 kB / 319 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.1165, allocations: 296.9 kB / 319.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.1191, allocations: 1.882 MB / 321.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1191, allocations: 0 / 321.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1191, allocations: 0 / 321.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1191, allocations: 4 kB / 321.2 MB, free: 4.191 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004707/0.1239, allocations: 1.647 MB / 322.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1239, allocations: 8.031 kB / 322.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.1243, allocations: 170 kB / 323 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.1265, allocations: 0.8993 MB / 323.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1267, allocations: 102.5 kB / 324 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.127, allocations: 135.9 kB / 324.1 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004763/0.1318, allocations: 1.744 MB / 325.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.1319, allocations: 0 / 325.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.1321, allocations: 55.91 kB / 325.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.1322, allocations: 58.55 kB / 326 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004617/0.1368, allocations: 1.501 MB / 327.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.1491, allocations: 4.964 MB / 332.4 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.1522, allocations: 1.085 MB / 333.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.648e-05/0.1523, allocations: 12.64 kB / 333.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.154, allocations: 0.664 MB / 334.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 3.677e-06/0.1541, allocations: 0 / 334.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=85): time 0.006095/0.1602, allocations: 1.786 MB / 336 MB, free: 5.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.1603, allocations: 123.8 kB / 336.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.1619, allocations: 0.8481 MB / 337 MB, free: 4.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.1621, allocations: 53.69 kB / 337 MB, free: 3.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.1628, allocations: 0.6044 MB / 337.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.1631, allocations: 244.6 kB / 337.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.1632, allocations: 20 kB / 337.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1634, allocations: 345.9 kB / 338.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.1647, allocations: 469.7 kB / 338.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.1664, allocations: 0.7154 MB / 339.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.1678, allocations: 0.4987 MB / 339.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.1678, allocations: 4 kB / 339.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003826/0.1716, allocations: 1.36 MB / 341.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.172, allocations: 309.5 kB / 341.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.172, allocations: 8 kB / 341.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/0.1729, allocations: 218 kB / 341.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.1741, allocations: 167.7 kB / 341.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.1794, allocations: 2.83 MB / 344.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.1808, allocations: 159 kB / 344.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.1809, allocations: 40 kB / 345 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.181, allocations: 4 kB / 345 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003605/0.1846, allocations: 1.243 MB / 346.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.1847, allocations: 12.03 kB / 346.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.1864, allocations: 216.8 kB / 346.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.1876, allocations: 163.7 kB / 346.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.1928, allocations: 2.819 MB / 349.4 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.1941, allocations: 147.2 kB / 349.6 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.1942, allocations: 39.95 kB / 349.6 MB, free: 6.855 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.1955, allocations: 0.6063 MB / 350.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.1957, allocations: 94.88 kB / 350.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.196, allocations: 113.5 kB / 350.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.1961, allocations: 7.984 kB / 350.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.1961, allocations: 4 kB / 350.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.1967, allocations: 275.6 kB / 350.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.197, allocations: 27.94 kB / 350.7 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/0.1979, allocations: 87.92 kB / 350.8 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003751/0.1983, allocations: 100.8 kB / 350.9 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004571/0.2029, allocations: 1.341 MB / 352.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004779/0.2077, allocations: 1.796 MB / 354 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001477/0.2092, allocations: 0.5153 MB / 354.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.2105, allocations: 0.5809 MB / 355.1 MB, free: 1.258 MB / 298.7 MB Notification: Performance of Backend: time 6.51e-07/0.2105, allocations: 0 / 355.1 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005062/0.2156, allocations: 1.752 MB / 356.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of SimCode: time 0.006917/0.2226, allocations: 3.292 MB / 360.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of Templates: time 0.3121/0.5347, allocations: 17.82 MB / 378 MB, free: 60.28 MB / 314.7 MB