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_R.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_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="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007848/0.0007848, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09665, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R): time 0.008998/0.1057, allocations: 5.047 MB / 314.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005273/0.111, allocations: 1.809 MB / 315.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1121, allocations: 35.75 kB / 316 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1133, allocations: 266.5 kB / 316.2 MB, free: 9.168 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.001728/0.115, allocations: 398.7 kB / 316.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1162, allocations: 259.6 kB / 316.9 MB, free: 8.523 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.002933/0.1191, allocations: 1.319 MB / 318.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.1217, allocations: 1.352 MB / 319.5 MB, free: 5.812 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.001325/0.1231, allocations: 0.607 MB / 320.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.1245, allocations: 0.7233 MB / 320.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.1249, allocations: 88 kB / 321 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.1253, allocations: 88 kB / 321 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.1259, allocations: 442.5 kB / 321.5 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.1265, allocations: 392.7 kB / 321.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.1304, allocations: 2.626 MB / 324.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1304, allocations: 0 / 324.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1304, allocations: 0 / 324.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.275e-05/0.1305, allocations: 0 / 324.5 MB, free: 0.8477 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006851/0.1374, allocations: 2.059 MB / 326.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.353e-05/0.1375, allocations: 8.031 kB / 326.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.1384, allocations: 217.4 kB / 326.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.1419, allocations: 1.188 MB / 328 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.1422, allocations: 135.3 kB / 328.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.1427, allocations: 172 kB / 328.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/0.1501, allocations: 2.361 MB / 330.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-05/0.1502, allocations: 4 kB / 330.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.1505, allocations: 68 kB / 330.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.1507, allocations: 75.36 kB / 330.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006683/0.1574, allocations: 2.043 MB / 332.8 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.1764, allocations: 6.749 MB / 339.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.1806, allocations: 1.541 MB / 341.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1808, allocations: 17 kB / 341.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002552/0.1834, allocations: 0.9034 MB / 342 MB, free: 15.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 5.911e-06/0.1834, allocations: 0 / 342 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01546/0.1989, allocations: 3.463 MB / 345.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.199, allocations: 157.4 kB / 345.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.2015, allocations: 1.132 MB / 346.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003053/0.2018, allocations: 73.67 kB / 346.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.2028, allocations: 0.749 MB / 347.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005872/0.2034, allocations: 367.1 kB / 347.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2035, allocations: 28 kB / 348 MB, free: 8.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2037, allocations: 361.9 kB / 348.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.2057, allocations: 0.6792 MB / 349 MB, free: 7.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.208, allocations: 0.9857 MB / 350 MB, free: 6.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.2101, allocations: 0.7402 MB / 350.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/0.2101, allocations: 7.953 kB / 350.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005707/0.2159, allocations: 2.044 MB / 352.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003175/0.2162, allocations: 323.5 kB / 353.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.2163, allocations: 8 kB / 353.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.2183, allocations: 0.5004 MB / 353.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.2197, allocations: 179.6 kB / 353.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.2324, allocations: 5.546 MB / 359.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.2342, allocations: 190.8 kB / 359.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.2344, allocations: 44 kB / 359.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2344, allocations: 4 kB / 359.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006205/0.2406, allocations: 1.905 MB / 361.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.2407, allocations: 8 kB / 361.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.2433, allocations: 0.5016 MB / 362 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.245, allocations: 175.6 kB / 362.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.2633, allocations: 5.532 MB / 367.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.2655, allocations: 171 kB / 367.8 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.2657, allocations: 48 kB / 367.9 MB, free: 4.488 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 (138): * Single equations (assignments): 137 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.002389/0.2681, allocations: 0.7979 MB / 368.7 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/0.2686, allocations: 130.4 kB / 368.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.2693, allocations: 164.4 kB / 369 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.2694, allocations: 7.969 kB / 369 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.2694, allocations: 0 / 369 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.2708, allocations: 371.2 kB / 369.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004815/0.2713, allocations: 39.98 kB / 369.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.2729, allocations: 99.91 kB / 369.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007058/0.2737, allocations: 148.7 kB / 369.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009222/0.2829, allocations: 2.02 MB / 371.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2647/0.5476, allocations: 2.419 MB / 374.1 MB, free: 60.64 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001799/0.5495, allocations: 0.7156 MB / 374.8 MB, free: 60.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001629/0.5511, allocations: 0.7658 MB / 375.5 MB, free: 60.52 MB / 314.7 MB Notification: Performance of Backend: time 9.11e-07/0.5512, allocations: 0 / 375.5 MB, free: 60.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007295/0.5585, allocations: 2.671 MB / 378.2 MB, free: 59.41 MB / 314.7 MB Notification: Performance of SimCode: time 0.009178/0.5677, allocations: 4.358 MB / 382.6 MB, free: 56.89 MB / 314.7 MB Notification: Performance of Templates: time 0.0769/0.6446, allocations: 28.81 MB / 411.4 MB, free: 33.85 MB / 314.7 MB