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_DC_Drive.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_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.inductor.2..i|lMains.inductor.3..i|meanCurrent.x|meanVoltage.x|pulse2.twomPulse.filter.1..firstOrder.y|pulse2.twomPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.1..transferFunction.2..x_scaled.1.|pulse2.twomPulse.filter.2..firstOrder.y|pulse2.twomPulse.filter.2..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.2..transferFunction.2..x_scaled.1.|pulse2.twomPulse.filter.3..firstOrder.y|pulse2.twomPulse.filter.3..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.3..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twomPulse.timerNegative.1..entryTime|pulse2.twomPulse.timerNegative.2..entryTime|pulse2.twomPulse.timerNegative.3..entryTime|pulse2.twomPulse.timerPositive.1..entryTime|pulse2.twomPulse.timerPositive.2..entryTime|pulse2.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_DC_Drive") Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 15.92 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive): time 0.02256/0.1243, allocations: 9.834 MB / 318.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.1366, allocations: 3.774 MB / 322.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.1386, allocations: 55.69 kB / 322.8 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.1415, allocations: 0.6958 MB / 323.5 MB, free: 1.93 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:1952:24-1952:47:writable] Warning: 'each' used when modifying non-array element sinevoltage. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:1953:18-1953:35:writable] Warning: 'each' used when modifying non-array element sinevoltage. [/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.003736/0.1453, allocations: 0.8139 MB / 324.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.1474, allocations: 395.5 kB / 324.7 MB, free: 0.7266 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.006648/0.1541, allocations: 2.891 MB / 327.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.158, allocations: 2.031 MB / 329.6 MB, free: 11.76 MB / 282.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.003465/0.1615, allocations: 1.436 MB / 331 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.1649, allocations: 1.443 MB / 332.5 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007616/0.1657, allocations: 171.9 kB / 332.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1668, allocations: 212 kB / 332.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.1679, allocations: 0.7552 MB / 333.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.169, allocations: 0.6951 MB / 334.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007291/0.1763, allocations: 4.983 MB / 339.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1763, allocations: 0 / 339.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1763, allocations: 0 / 339.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000133/0.1765, allocations: 4 kB / 339.3 MB, free: 2.031 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 0.0163/0.1928, allocations: 4.306 MB / 343.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1929, allocations: 8.031 kB / 343.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.1949, allocations: 419.2 kB / 344 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.206, allocations: 2.931 MB / 346.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.2064, allocations: 221.7 kB / 347.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.2074, allocations: 303.9 kB / 347.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.2255, allocations: 3.764 MB / 351.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/0.2258, allocations: 19.84 kB / 351.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006028/0.2264, allocations: 116 kB / 351.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.2266, allocations: 113.5 kB / 351.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.2369, allocations: 3.175 MB / 354.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/0.2695, allocations: 12.16 MB / 366.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006332/0.2758, allocations: 2.349 MB / 369.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.276, allocations: 29.28 kB / 369.2 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003466/0.2795, allocations: 1.332 MB / 370.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=175): time 5.851e-06/0.2796, allocations: 0 / 370.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.2707/0.5503, allocations: 7.507 MB / 378 MB, free: 56.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5505, allocations: 290.7 kB / 378.3 MB, free: 56.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/0.5565, allocations: 2.534 MB / 380.8 MB, free: 55.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004901/0.557, allocations: 86.31 kB / 380.9 MB, free: 55.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.5588, allocations: 1.481 MB / 382.4 MB, free: 54.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009348/0.5598, allocations: 0.5811 MB / 383 MB, free: 53.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.5599, allocations: 45.69 kB / 383 MB, free: 53.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5601, allocations: 396.2 kB / 383.4 MB, free: 53.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.5631, allocations: 1.109 MB / 384.5 MB, free: 53.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.5666, allocations: 1.793 MB / 386.3 MB, free: 51.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.5702, allocations: 1.3 MB / 387.6 MB, free: 51.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/0.5703, allocations: 4.5 kB / 387.6 MB, free: 51.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008145/0.5784, allocations: 3.546 MB / 391.1 MB, free: 50 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.5788, allocations: 0.6511 MB / 391.8 MB, free: 49.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.5788, allocations: 19.75 kB / 391.8 MB, free: 49.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.5807, allocations: 0.5918 MB / 392.4 MB, free: 48.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.5837, allocations: 435.5 kB / 392.8 MB, free: 48.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.5952, allocations: 8.223 MB / 401.1 MB, free: 42.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/0.5987, allocations: 192.9 kB / 401.2 MB, free: 42.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004727/0.5992, allocations: 95.83 kB / 401.3 MB, free: 41.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5992, allocations: 8.469 kB / 401.3 MB, free: 41.99 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007345/0.6066, allocations: 3.281 MB / 404.6 MB, free: 38.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-05/0.6066, allocations: 16 kB / 404.6 MB, free: 38.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.6085, allocations: 0.5994 MB / 405.2 MB, free: 38.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.6114, allocations: 434.8 kB / 405.7 MB, free: 37.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.6229, allocations: 8.206 MB / 413.9 MB, free: 29.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.6261, allocations: 187.8 kB / 414.1 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.6265, allocations: 95.19 kB / 414.1 MB, free: 29.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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,pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[3].y,$PRE.pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,$PRE.pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,$PRE.pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,$PRE.pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,$PRE.pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,$PRE.pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 252 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.002645/0.6291, allocations: 1.243 MB / 415.4 MB, free: 27.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000724/0.6299, allocations: 248.9 kB / 415.6 MB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006898/0.6368, allocations: 2.84 MB / 418.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/0.6368, allocations: 7.969 kB / 418.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6369, allocations: 0 / 418.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.6388, allocations: 0.5709 MB / 419.1 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007127/0.6395, allocations: 71.95 kB / 419.1 MB, free: 23.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.6415, allocations: 163.8 kB / 419.3 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005841/0.6421, allocations: 189.6 kB / 419.5 MB, free: 23.61 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009608/0.6518, allocations: 3.238 MB / 422.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008247/0.6601, allocations: 3.938 MB / 426.6 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00247/0.6626, allocations: 1.194 MB / 427.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003476/0.6661, allocations: 1.714 MB / 429.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Backend: time 1.022e-06/0.6661, allocations: 0 / 429.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.6766, allocations: 4.434 MB / 434 MB, free: 9.008 MB / 314.7 MB Notification: Performance of SimCode: time 0.01616/0.6928, allocations: 8.028 MB / 442 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of Templates: time 0.1713/0.8642, allocations: 48.37 MB / 490.4 MB, free: 0.5586 MB / 362.7 MB