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.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,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_RLV") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09278, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV): time 0.009461/0.1023, allocations: 5.23 MB / 314.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005433/0.1078, allocations: 1.836 MB / 316.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.109, allocations: 35.75 kB / 316.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1106, allocations: 278.5 kB / 316.5 MB, free: 8.938 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.002146/0.1128, allocations: 406.8 kB / 316.9 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1143, allocations: 263.5 kB / 317.1 MB, free: 8.281 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.003301/0.1176, allocations: 1.354 MB / 318.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.1206, allocations: 1.357 MB / 319.8 MB, free: 5.531 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.001627/0.1222, allocations: 0.6343 MB / 320.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.124, allocations: 0.735 MB / 321.2 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004627/0.1246, allocations: 96 kB / 321.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.1251, allocations: 95.94 kB / 321.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.1258, allocations: 438.5 kB / 321.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006987/0.1265, allocations: 408.6 kB / 322.2 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.1309, allocations: 2.661 MB / 324.9 MB, free: 476 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.131, allocations: 0 / 324.9 MB, free: 476 kB / 266.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.131, allocations: 0 / 324.9 MB, free: 476 kB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.1311, allocations: 0 / 324.9 MB, free: 476 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.00753/0.1387, allocations: 2.101 MB / 327 MB, free: 14.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1388, allocations: 8.031 kB / 327 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.1397, allocations: 225.3 kB / 327.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/0.1433, allocations: 1.2 MB / 328.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.1436, allocations: 143.4 kB / 328.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006142/0.1442, allocations: 172 kB / 328.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007518/0.1517, allocations: 2.409 MB / 331.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/0.1519, allocations: 0 / 331.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.1522, allocations: 68 kB / 331.2 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.1523, allocations: 79.45 kB / 331.3 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006913/0.1592, allocations: 2.063 MB / 333.3 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.1781, allocations: 6.84 MB / 340.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/0.1818, allocations: 1.558 MB / 341.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.1819, allocations: 20.84 kB / 341.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00234/0.1843, allocations: 0.919 MB / 342.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=125): time 4.508e-06/0.1843, allocations: 1.641 kB / 342.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.01843/0.2028, allocations: 3.417 MB / 346.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/0.203, allocations: 153.5 kB / 346.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007417/0.2104, allocations: 1.141 MB / 347.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003895/0.2109, allocations: 73.67 kB / 347.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.2122, allocations: 0.7764 MB / 348.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007153/0.2129, allocations: 374.8 kB / 348.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.2131, allocations: 32 kB / 348.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.2134, allocations: 369.9 kB / 349 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/0.216, allocations: 0.6832 MB / 349.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/0.2275, allocations: 0.9974 MB / 350.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006573/0.2341, allocations: 0.7402 MB / 351.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.2341, allocations: 0 / 351.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.01206/0.2462, allocations: 2.071 MB / 353.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003742/0.2466, allocations: 319.5 kB / 353.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.2467, allocations: 11.94 kB / 353.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.2493, allocations: 0.494 MB / 354.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00954/0.2589, allocations: 183.7 kB / 354.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/0.2798, allocations: 5.393 MB / 359.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.2821, allocations: 182.8 kB / 360 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.2824, allocations: 51.98 kB / 360.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2824, allocations: 4 kB / 360.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00576/0.2882, allocations: 1.906 MB / 362 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.2883, allocations: 8 kB / 362 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.2901, allocations: 0.4972 MB / 362.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.2915, allocations: 183.7 kB / 362.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.3035, allocations: 5.389 MB / 368.1 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.3052, allocations: 174.9 kB / 368.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.3053, allocations: 52 kB / 368.3 MB, free: 4.086 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 (144): * Single equations (assignments): 143 * 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.001797/0.3072, allocations: 0.8056 MB / 369.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.3075, allocations: 130.4 kB / 369.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.308, allocations: 169.2 kB / 369.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.3081, allocations: 3.984 kB / 369.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3081, allocations: 0 / 369.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/0.309, allocations: 375.1 kB / 369.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.3094, allocations: 47.97 kB / 369.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.3106, allocations: 99.86 kB / 369.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/0.3111, allocations: 136.8 kB / 370 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007045/0.3181, allocations: 2.04 MB / 372.1 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2556/0.5738, allocations: 2.442 MB / 374.5 MB, free: 60.66 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002449/0.5763, allocations: 0.7222 MB / 375.2 MB, free: 60.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002324/0.5787, allocations: 0.775 MB / 376 MB, free: 60.37 MB / 314.7 MB Notification: Performance of Backend: time 9.82e-07/0.5787, allocations: 2.031 kB / 376 MB, free: 60.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009665/0.5884, allocations: 2.665 MB / 378.7 MB, free: 59.24 MB / 314.7 MB Notification: Performance of SimCode: time 0.01182/0.6002, allocations: 4.487 MB / 383.2 MB, free: 56.68 MB / 314.7 MB Notification: Performance of Templates: time 0.06647/0.6668, allocations: 28.81 MB / 412 MB, free: 33.18 MB / 314.7 MB