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_RLV.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_RLV,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_RLV") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005432, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV): time 0.01274/0.1447, allocations: 5.036 MB / 314.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006689/0.1515, allocations: 1.755 MB / 315.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.1525, allocations: 35.75 kB / 315.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.1536, allocations: 222.6 kB / 316.1 MB, free: 9.262 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.002517/0.1562, allocations: 414.8 kB / 316.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1578, allocations: 251.6 kB / 316.8 MB, free: 8.609 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.004128/0.1619, allocations: 1.358 MB / 318.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/0.1655, allocations: 1.31 MB / 319.4 MB, free: 5.902 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.001924/0.1675, allocations: 0.642 MB / 320.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002253/0.1697, allocations: 0.8012 MB / 320.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.1703, allocations: 92 kB / 321 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000693/0.171, allocations: 96 kB / 321.1 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008957/0.1719, allocations: 458.5 kB / 321.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.1729, allocations: 416.6 kB / 321.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.1784, allocations: 2.673 MB / 324.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1785, allocations: 0 / 324.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1785, allocations: 0 / 324.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.57e-05/0.1786, allocations: 0 / 324.6 MB, free: 0.7266 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.01026/0.1889, allocations: 2.172 MB / 326.8 MB, free: 14.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.728e-05/0.189, allocations: 8.031 kB / 326.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1904, allocations: 229.3 kB / 327 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.1957, allocations: 1.236 MB / 328.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.196, allocations: 135.4 kB / 328.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007658/0.1968, allocations: 180 kB / 328.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.207, allocations: 2.417 MB / 331 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.2071, allocations: 3.984 kB / 331 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.2075, allocations: 72 kB / 331 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.2077, allocations: 71.44 kB / 331.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009799/0.2176, allocations: 2.149 MB / 333.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/0.2451, allocations: 7.207 MB / 340.5 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005485/0.2507, allocations: 1.471 MB / 341.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.2509, allocations: 13 kB / 341.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003659/0.2546, allocations: 0.8792 MB / 342.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=113): time 6.732e-06/0.2546, allocations: 1.422 kB / 342.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=113): time 0.01801/0.2726, allocations: 2.961 MB / 345.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.2728, allocations: 123.8 kB / 345.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.2766, allocations: 1.222 MB / 347.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004062/0.277, allocations: 65.67 kB / 347.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.2785, allocations: 0.7923 MB / 348 MB, free: 8.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008309/0.2793, allocations: 343.3 kB / 348.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2795, allocations: 27.94 kB / 348.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.2798, allocations: 357.9 kB / 348.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.2828, allocations: 0.6389 MB / 349.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/0.286, allocations: 0.8908 MB / 350.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.289, allocations: 0.6705 MB / 350.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.289, allocations: 4 kB / 350.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007981/0.297, allocations: 1.86 MB / 352.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.2974, allocations: 289.6 kB / 353 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.2975, allocations: 8 kB / 353.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/0.3, allocations: 433 kB / 353.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.3021, allocations: 179.7 kB / 353.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.3166, allocations: 4.526 MB / 358.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.3192, allocations: 170.9 kB / 358.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.3195, allocations: 44 kB / 358.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3195, allocations: 4 kB / 358.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007273/0.3268, allocations: 1.707 MB / 360.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/0.3269, allocations: 8 kB / 360.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.3292, allocations: 441.1 kB / 360.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.3313, allocations: 179.7 kB / 360.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.3456, allocations: 4.521 MB / 365.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.348, allocations: 159.1 kB / 365.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.3482, allocations: 48 kB / 365.4 MB, free: 6.91 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 (126): * Single equations (assignments): 125 * 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.002488/0.3507, allocations: 0.7973 MB / 366.2 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.3513, allocations: 130.4 kB / 366.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.3519, allocations: 168.9 kB / 366.5 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.352, allocations: 3.984 kB / 366.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.352, allocations: 0 / 366.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.3533, allocations: 371.1 kB / 366.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/0.3538, allocations: 35.98 kB / 366.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.3556, allocations: 103.9 kB / 367 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007474/0.3564, allocations: 144.8 kB / 367.2 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0102/0.3666, allocations: 1.954 MB / 369.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00955/0.3762, allocations: 2.454 MB / 371.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2768/0.653, allocations: 0.7263 MB / 372.3 MB, free: 60.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002236/0.6553, allocations: 0.8408 MB / 373.1 MB, free: 60.68 MB / 314.7 MB Notification: Performance of Backend: time 7.62e-07/0.6554, allocations: 0.5938 kB / 373.1 MB, free: 60.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006884/0.6623, allocations: 2.414 MB / 375.6 MB, free: 60.3 MB / 314.7 MB Notification: Performance of SimCode: time 0.009115/0.6714, allocations: 4.487 MB / 380 MB, free: 57.74 MB / 314.7 MB Notification: Performance of Templates: time 0.06317/0.7346, allocations: 27.04 MB / 407.1 MB, free: 38.18 MB / 314.7 MB