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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic): time 0.01505/0.1277, allocations: 5.273 MB / 314.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.1357, allocations: 1.895 MB / 316.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.1367, allocations: 35.75 kB / 316.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1378, allocations: 266.5 kB / 316.5 MB, free: 8.852 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5549:20-5549: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:5561:20-5561:43:writable] Warning: 'each' used when modifying non-array element thyristor_n. Notification: Performance of NFTyping.typeBindings: time 0.001554/0.1394, allocations: 430.7 kB / 317 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1404, allocations: 271.5 kB / 317.2 MB, free: 8.164 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5549:20-5549: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:5561:20-5561:43:writable] Warning: 'each' used when modifying non-array element thyristor_n. Notification: Performance of NFFlatten.flatten: time 0.002475/0.1429, allocations: 1.354 MB / 318.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.1453, allocations: 1.377 MB / 320 MB, free: 5.395 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5549:20-5549: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:5561:20-5561:43:writable] Warning: 'each' used when modifying non-array element thyristor_n. Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.1465, allocations: 0.6304 MB / 320.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.1479, allocations: 0.7739 MB / 321.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.1482, allocations: 92 kB / 321.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.1485, allocations: 92 kB / 321.5 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.1491, allocations: 438.6 kB / 322 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.1497, allocations: 408.6 kB / 322.4 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.1533, allocations: 2.673 MB / 325 MB, free: 296 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1534, allocations: 0 / 325 MB, free: 296 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1534, allocations: 0 / 325 MB, free: 296 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.242e-05/0.1534, allocations: 4 kB / 325.1 MB, free: 292 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.006726/0.1602, allocations: 2.121 MB / 327.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1602, allocations: 16.03 kB / 327.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006473/0.1609, allocations: 221.4 kB / 327.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.164, allocations: 1.208 MB / 328.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.1642, allocations: 139.5 kB / 328.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.1647, allocations: 172 kB / 328.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/0.1715, allocations: 2.425 MB / 331.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.1716, allocations: 7.938 kB / 331.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.1719, allocations: 72 kB / 331.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.1721, allocations: 75.47 kB / 331.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006961/0.179, allocations: 2.102 MB / 333.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.1978, allocations: 6.852 MB / 340.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004478/0.2024, allocations: 1.639 MB / 342.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.2025, allocations: 20.94 kB / 342.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002433/0.205, allocations: 0.9346 MB / 343 MB, free: 13.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=126): time 4.508e-06/0.205, allocations: 0 / 343 MB, free: 13.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=126): time 0.01496/0.22, allocations: 3.464 MB / 346.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.2201, allocations: 157.4 kB / 346.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.2225, allocations: 1.153 MB / 347.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.2227, allocations: 73.67 kB / 347.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/0.2237, allocations: 0.7724 MB / 348.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/0.2242, allocations: 378.8 kB / 349 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2244, allocations: 28 kB / 349.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.2246, allocations: 365.9 kB / 349.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.2266, allocations: 0.7027 MB / 350.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.229, allocations: 1.019 MB / 351.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.2312, allocations: 0.7636 MB / 351.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.2312, allocations: 4 kB / 351.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00569/0.2369, allocations: 2.094 MB / 354 MB, free: 2.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.2372, allocations: 339.6 kB / 354.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.2372, allocations: 8 kB / 354.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.2391, allocations: 497.8 kB / 354.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.2405, allocations: 195.6 kB / 355 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.2527, allocations: 5.404 MB / 360.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.2545, allocations: 198.8 kB / 360.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.2546, allocations: 47.98 kB / 360.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2547, allocations: 4 kB / 360.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005345/0.26, allocations: 1.949 MB / 362.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.2601, allocations: 8 kB / 362.6 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/0.2619, allocations: 0.4973 MB / 363.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.2634, allocations: 191.6 kB / 363.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.2753, allocations: 5.385 MB / 368.7 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.277, allocations: 182.9 kB / 368.9 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.2772, allocations: 52 kB / 368.9 MB, free: 3.477 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (145): * Single equations (assignments): 144 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.00172/0.2789, allocations: 0.7979 MB / 369.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.2793, allocations: 138.3 kB / 369.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.2798, allocations: 165.3 kB / 370 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.2798, allocations: 11.95 kB / 370 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2799, allocations: 4 kB / 370 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/0.2808, allocations: 375.1 kB / 370.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.2812, allocations: 43.98 kB / 370.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.2824, allocations: 107.9 kB / 370.5 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005044/0.2829, allocations: 144.8 kB / 370.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3188/0.6017, allocations: 2.086 MB / 372.8 MB, free: 60.48 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009706/0.6115, allocations: 2.51 MB / 375.3 MB, free: 60.27 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002875/0.6144, allocations: 0.7439 MB / 376 MB, free: 60.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002393/0.6169, allocations: 0.774 MB / 376.8 MB, free: 59.79 MB / 314.7 MB Notification: Performance of Backend: time 2.164e-06/0.6169, allocations: 0 / 376.8 MB, free: 59.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01067/0.6276, allocations: 2.705 MB / 379.5 MB, free: 58.66 MB / 314.7 MB Notification: Performance of SimCode: time 0.01293/0.6406, allocations: 4.494 MB / 384 MB, free: 56.1 MB / 314.7 MB Notification: Performance of Templates: time 0.09132/0.7319, allocations: 29.07 MB / 413.1 MB, free: 32.16 MB / 314.7 MB