Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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="ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004103/0.004102, allocations: 371.5 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.139/4.139, allocations: 388.9 MB / 405.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00538/0.005379, allocations: 221.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6968/0.6968, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007285/0.0007288, allocations: 12.97 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1286, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R): time 0.01079/0.1394, allocations: 5.688 MB / 0.6857 GB, free: 35.92 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.1453, allocations: 1.84 MB / 0.6875 GB, free: 34.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.1469, allocations: 43.75 kB / 0.6875 GB, free: 34.03 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1482, allocations: 250.3 kB / 0.6877 GB, free: 33.79 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5549:20-5549:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/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.002211/0.1504, allocations: 477.3 kB / 0.6882 GB, free: 33.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.152, allocations: 267.6 kB / 0.6885 GB, free: 33.05 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5549:20-5549:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/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.004954/0.1571, allocations: 2.523 MB / 0.6909 GB, free: 30.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.1605, allocations: 1.44 MB / 0.6923 GB, free: 29.04 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Electrical/PowerConverters.mo:5549:20-5549:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/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.001782/0.1623, allocations: 0.7235 MB / 0.693 GB, free: 28.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.1647, allocations: 0.9334 MB / 0.6939 GB, free: 27.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005222/0.1653, allocations: 100 kB / 0.694 GB, free: 27.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.1659, allocations: 104 kB / 0.6941 GB, free: 27.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.1665, allocations: 0.5061 MB / 0.6946 GB, free: 26.67 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.1671, allocations: 440.6 kB / 0.6951 GB, free: 26.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.1706, allocations: 2.907 MB / 0.6979 GB, free: 23.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1707, allocations: 0 / 0.6979 GB, free: 23.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1707, allocations: 0 / 0.6979 GB, free: 23.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.1708, allocations: 0 / 0.6979 GB, free: 23.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.006855/0.1777, allocations: 2.282 MB / 0.7001 GB, free: 20.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1778, allocations: 8.031 kB / 0.7001 GB, free: 20.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.1786, allocations: 237.2 kB / 0.7004 GB, free: 20.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.182, allocations: 1.311 MB / 0.7016 GB, free: 19.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.1822, allocations: 151.7 kB / 0.7018 GB, free: 19.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005612/0.1827, allocations: 184 kB / 0.702 GB, free: 19.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/0.1895, allocations: 2.632 MB / 0.7045 GB, free: 16.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/0.1896, allocations: 3.938 kB / 0.7045 GB, free: 16.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.1899, allocations: 87.88 kB / 0.7046 GB, free: 16.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.19, allocations: 75.72 kB / 0.7047 GB, free: 16.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006461/0.1965, allocations: 2.275 MB / 0.7069 GB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/0.2146, allocations: 7.39 MB / 0.7141 GB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.2186, allocations: 1.725 MB / 0.7158 GB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.2209, allocations: 0.9607 MB / 0.7167 GB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2211, allocations: 22.84 kB / 0.7168 GB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002489/0.2236, allocations: 1.016 MB / 0.7178 GB, free: 2.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 5.951e-06/0.2236, allocations: 0 / 0.7178 GB, free: 2.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=134): time 0.3198/0.5434, allocations: 3.893 MB / 0.7216 GB, free: 44.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.5435, allocations: 233.8 kB / 0.7218 GB, free: 44.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.5467, allocations: 1.308 MB / 0.7231 GB, free: 43.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003722/0.5471, allocations: 76.52 kB / 0.7231 GB, free: 43.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009331/0.5481, allocations: 0.8426 MB / 0.724 GB, free: 43.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/0.5487, allocations: 409.1 kB / 0.7244 GB, free: 43.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.5489, allocations: 30.53 kB / 0.7244 GB, free: 43.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.549, allocations: 365.3 kB / 0.7247 GB, free: 42.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.5512, allocations: 0.7567 MB / 0.7255 GB, free: 42.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.5536, allocations: 1.108 MB / 0.7265 GB, free: 41.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.5559, allocations: 0.8279 MB / 0.7274 GB, free: 41.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5559, allocations: 1.719 kB / 0.7274 GB, free: 41.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005798/0.5618, allocations: 2.266 MB / 0.7296 GB, free: 40.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.562, allocations: 320.2 kB / 0.7299 GB, free: 40.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.5621, allocations: 14.95 kB / 0.7299 GB, free: 40.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.5643, allocations: 0.5635 MB / 0.7304 GB, free: 39.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.5659, allocations: 186.1 kB / 0.7306 GB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.5789, allocations: 5.994 MB / 0.7365 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.581, allocations: 218.6 kB / 0.7367 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.5813, allocations: 61.45 kB / 0.7367 GB, free: 36.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5813, allocations: 3.312 kB / 0.7367 GB, free: 36.43 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005794/0.5871, allocations: 2.103 MB / 0.7388 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/0.5872, allocations: 8.375 kB / 0.7388 GB, free: 35.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.5893, allocations: 0.5519 MB / 0.7393 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.5909, allocations: 190.4 kB / 0.7395 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.6036, allocations: 5.967 MB / 0.7454 GB, free: 31.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.6056, allocations: 199.9 kB / 0.7455 GB, free: 31.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.6058, allocations: 53.19 kB / 0.7456 GB, free: 31.45 MB / 346.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 (147): * Single equations (assignments): 146 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.001988/0.6078, allocations: 0.8612 MB / 0.7464 GB, free: 30.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/0.6083, allocations: 141.2 kB / 0.7466 GB, free: 30.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.6088, allocations: 186.4 kB / 0.7467 GB, free: 30.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.6088, allocations: 4.984 kB / 0.7468 GB, free: 30.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.6088, allocations: 4.766 kB / 0.7468 GB, free: 30.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009821/0.6098, allocations: 413.8 kB / 0.7472 GB, free: 30.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004425/0.6103, allocations: 46.34 kB / 0.7472 GB, free: 30.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.6117, allocations: 114.8 kB / 0.7473 GB, free: 30.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/0.6122, allocations: 146.5 kB / 0.7474 GB, free: 30.16 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007614/0.6198, allocations: 2.247 MB / 0.7496 GB, free: 28.7 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01063/0.6305, allocations: 2.646 MB / 0.7522 GB, free: 26.04 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003004/0.6336, allocations: 0.7866 MB / 0.753 GB, free: 25.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002749/0.6364, allocations: 0.8805 MB / 0.7538 GB, free: 24.37 MB / 346.7 MB Notification: Performance of Backend: time 2.154e-06/0.6365, allocations: 7 kB / 0.7539 GB, free: 24.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/0.649, allocations: 2.971 MB / 0.7568 GB, free: 21.37 MB / 346.7 MB Notification: Performance of SimCode: time 0.01515/0.6642, allocations: 4.819 MB / 0.7615 GB, free: 16.51 MB / 346.7 MB Notification: Performance of Templates: time 0.12/0.7842, allocations: 32.91 MB / 0.7936 GB, free: 15.77 MB / 378.7 MB