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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09333, allocations: 44.52 MB / 309.1 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL): time 0.01186/0.1052, allocations: 4.938 MB / 314 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.1192, allocations: 1.739 MB / 315.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.1201, allocations: 31.81 kB / 315.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1211, allocations: 218.7 kB / 316 MB, free: 9.371 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5967:20-5967:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5979:20-5979:43:writable] Warning: 'each' used when modifying non-array element thyristor_n. Notification: Performance of NFTyping.typeBindings: time 0.0101/0.1312, allocations: 398.8 kB / 316.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1327, allocations: 255.5 kB / 316.7 MB, free: 8.73 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5967:20-5967:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5979:20-5979:43:writable] Warning: 'each' used when modifying non-array element thyristor_n. Notification: Performance of NFFlatten.flatten: time 0.007746/0.1404, allocations: 1.342 MB / 318 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.1437, allocations: 1.306 MB / 319.3 MB, free: 6.043 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5967:20-5967:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5979:20-5979:43:writable] Warning: 'each' used when modifying non-array element thyristor_n. Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.1453, allocations: 0.6303 MB / 319.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01/0.1554, allocations: 0.7857 MB / 320.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004633/0.1559, allocations: 96 kB / 320.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.1565, allocations: 92 kB / 320.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008347/0.1573, allocations: 466.5 kB / 321.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007784/0.1581, allocations: 400.6 kB / 321.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.1635, allocations: 2.653 MB / 324.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1636, allocations: 0 / 324.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1636, allocations: 0 / 324.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.579e-05/0.1637, allocations: 0 / 324.4 MB, free: 0.9219 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.009117/0.1728, allocations: 2.163 MB / 326.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.1729, allocations: 12.03 kB / 326.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.1739, allocations: 221.3 kB / 326.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.1786, allocations: 1.216 MB / 328 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.1789, allocations: 143.4 kB / 328.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007096/0.1797, allocations: 176 kB / 328.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008296/0.188, allocations: 2.404 MB / 330.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.1881, allocations: 7.906 kB / 330.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.1884, allocations: 67.98 kB / 330.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.1885, allocations: 71.39 kB / 330.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/0.195, allocations: 2.137 MB / 333 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.2147, allocations: 7.148 MB / 340.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.2186, allocations: 1.46 MB / 341.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.2188, allocations: 16.98 kB / 341.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002557/0.2214, allocations: 0.8794 MB / 342.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=112): time 5.51e-06/0.2215, allocations: 0 / 342.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=112): time 0.01336/0.2348, allocations: 2.949 MB / 345.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.235, allocations: 131.7 kB / 345.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.2377, allocations: 1.209 MB / 346.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003153/0.238, allocations: 65.69 kB / 346.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.2391, allocations: 0.7844 MB / 347.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.2398, allocations: 339.3 kB / 348 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2399, allocations: 24 kB / 348 MB, free: 8.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.2401, allocations: 357.9 kB / 348.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.2422, allocations: 0.6388 MB / 349 MB, free: 7.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.245, allocations: 0.8869 MB / 349.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.2471, allocations: 0.6665 MB / 350.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.2472, allocations: 8 kB / 350.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005563/0.2527, allocations: 1.856 MB / 352.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.253, allocations: 277.5 kB / 352.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2531, allocations: 12 kB / 352.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.2548, allocations: 433.7 kB / 353.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.2563, allocations: 183.6 kB / 353.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.2665, allocations: 4.526 MB / 357.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.2682, allocations: 167 kB / 358 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.2684, allocations: 47.98 kB / 358 MB, free: 14.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2684, allocations: 4 kB / 358 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004845/0.2733, allocations: 1.707 MB / 359.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.2733, allocations: 4 kB / 359.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.2749, allocations: 441.5 kB / 360.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.2764, allocations: 175.7 kB / 360.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.2865, allocations: 4.516 MB / 364.9 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.2888, allocations: 163 kB / 365 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/0.2893, allocations: 44 kB / 365.1 MB, free: 7.281 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.002054/0.2914, allocations: 0.7935 MB / 365.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.2918, allocations: 130.4 kB / 366 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.2923, allocations: 164.7 kB / 366.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.2923, allocations: 7.969 kB / 366.2 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2923, allocations: 0 / 366.2 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/0.2933, allocations: 363.2 kB / 366.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.2938, allocations: 39.92 kB / 366.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.2951, allocations: 103.9 kB / 366.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005575/0.2957, allocations: 144.7 kB / 366.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00715/0.3029, allocations: 1.95 MB / 368.7 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006532/0.3095, allocations: 2.454 MB / 371.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001938/0.3114, allocations: 0.7182 MB / 371.9 MB, free: 380 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.248/0.5595, allocations: 0.834 MB / 372.7 MB, free: 60.68 MB / 314.7 MB Notification: Performance of Backend: time 1.914e-06/0.5595, allocations: 0 / 372.7 MB, free: 60.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006919/0.5665, allocations: 2.409 MB / 375.2 MB, free: 60.32 MB / 314.7 MB Notification: Performance of SimCode: time 0.008747/0.5753, allocations: 4.453 MB / 379.6 MB, free: 57.91 MB / 314.7 MB Notification: Performance of Templates: time 0.06262/0.6379, allocations: 26.93 MB / 406.5 MB, free: 38.7 MB / 314.7 MB