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_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.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_RL") Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL): time 0.00896/0.1186, allocations: 5.141 MB / 314.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.1237, allocations: 1.828 MB / 316.1 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.1248, allocations: 35.81 kB / 316.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.126, allocations: 270.5 kB / 316.4 MB, free: 9.047 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.001856/0.1279, allocations: 398.8 kB / 316.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1291, allocations: 263.5 kB / 317 MB, free: 8.398 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.003106/0.1322, allocations: 1.342 MB / 318.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.1347, allocations: 1.357 MB / 319.7 MB, free: 5.66 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.001525/0.1363, allocations: 0.6226 MB / 320.3 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.138, allocations: 0.7233 MB / 321 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.1384, allocations: 92 kB / 321.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.1388, allocations: 88 kB / 321.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.1394, allocations: 446.5 kB / 321.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.1399, allocations: 396.7 kB / 322 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.1435, allocations: 2.638 MB / 324.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1436, allocations: 0 / 324.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1436, allocations: 3.938 kB / 324.7 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.459e-05/0.1436, allocations: 0 / 324.7 MB, free: 0.6523 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: 442 * Number of variables: 442 Notification: Performance of Generate backend data structure: time 0.006095/0.1497, allocations: 2.084 MB / 326.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1498, allocations: 12.03 kB / 326.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/0.1505, allocations: 225.4 kB / 327 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.1538, allocations: 1.188 MB / 328.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.154, allocations: 131.4 kB / 328.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/0.1545, allocations: 176 kB / 328.5 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006113/0.1606, allocations: 2.385 MB / 330.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/0.1607, allocations: 11.91 kB / 330.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.1609, allocations: 64 kB / 330.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.1611, allocations: 79.41 kB / 331 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00617/0.1673, allocations: 2.051 MB / 333.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.1853, allocations: 6.788 MB / 339.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.189, allocations: 1.555 MB / 341.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-05/0.1891, allocations: 16.94 kB / 341.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.1915, allocations: 0.9151 MB / 342.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 4.559e-06/0.1915, allocations: 0 / 342.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.01474/0.2062, allocations: 3.421 MB / 345.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.2064, allocations: 153.5 kB / 345.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.2089, allocations: 1.133 MB / 347.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003543/0.2093, allocations: 81.78 kB / 347.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.2104, allocations: 0.7607 MB / 347.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/0.211, allocations: 378.8 kB / 348.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.2112, allocations: 28 kB / 348.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2114, allocations: 361.9 kB / 348.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.2135, allocations: 0.6909 MB / 349.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.2159, allocations: 0.9896 MB / 350.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.218, allocations: 0.7402 MB / 351.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.2181, allocations: 4 kB / 351.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006113/0.2242, allocations: 2.063 MB / 353.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/0.2246, allocations: 319.5 kB / 353.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.2246, allocations: 12 kB / 353.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.2266, allocations: 497.9 kB / 353.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.228, allocations: 183.7 kB / 354.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.2402, allocations: 5.425 MB / 359.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.2419, allocations: 178.9 kB / 359.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.242, allocations: 56 kB / 359.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.242, allocations: 5.875 kB / 359.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005013/0.2471, allocations: 1.902 MB / 361.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.2471, allocations: 8 kB / 361.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.249, allocations: 0.4972 MB / 362.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.2503, allocations: 183.7 kB / 362.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.2624, allocations: 5.394 MB / 367.8 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.264, allocations: 174.9 kB / 367.9 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.2642, allocations: 48 kB / 368 MB, free: 4.41 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 (143): * Single equations (assignments): 142 * 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.001753/0.266, allocations: 0.7978 MB / 368.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.2664, allocations: 126.5 kB / 368.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.2668, allocations: 168.6 kB / 369.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.2669, allocations: 3.984 kB / 369.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2669, allocations: 0 / 369.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/0.2678, allocations: 375.1 kB / 369.4 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/0.2682, allocations: 47.97 kB / 369.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.2693, allocations: 99.91 kB / 369.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/0.2698, allocations: 136.8 kB / 369.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006903/0.2768, allocations: 2.036 MB / 371.8 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2761/0.5529, allocations: 2.437 MB / 374.2 MB, free: 60.59 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001802/0.5548, allocations: 0.7227 MB / 374.9 MB, free: 60.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001622/0.5564, allocations: 0.7695 MB / 375.7 MB, free: 60.45 MB / 314.7 MB Notification: Performance of Backend: time 8.82e-07/0.5565, allocations: 0 / 375.7 MB, free: 60.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007309/0.5638, allocations: 2.663 MB / 378.3 MB, free: 59.33 MB / 314.7 MB Notification: Performance of SimCode: time 0.009097/0.5729, allocations: 4.445 MB / 382.8 MB, free: 56.79 MB / 314.7 MB Notification: Performance of Templates: time 0.06675/0.6397, allocations: 28.76 MB / 411.6 MB, free: 33.63 MB / 314.7 MB