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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.02318/0.1257, allocations: 8.521 MB / 317.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.138, allocations: 3.229 MB / 320.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.1399, allocations: 39.88 kB / 320.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.1436, allocations: 0.5168 MB / 321.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.1482, allocations: 0.627 MB / 322 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.1509, allocations: 339.5 kB / 322.4 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005905/0.1568, allocations: 1.593 MB / 323.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.1591, allocations: 0.6983 MB / 324.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.1608, allocations: 0.7121 MB / 325.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.1622, allocations: 0.7192 MB / 326.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.1626, allocations: 84 kB / 326.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.1633, allocations: 120 kB / 326.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.1637, allocations: 294.8 kB / 326.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.1643, allocations: 372.7 kB / 326.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.1677, allocations: 2.107 MB / 329 MB, free: 12.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1678, allocations: 0 / 329 MB, free: 12.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1678, allocations: 4 kB / 329 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.611e-05/0.1679, allocations: 0 / 329 MB, free: 12.28 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: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.007063/0.175, allocations: 2.092 MB / 331.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.175, allocations: 12.03 kB / 331.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.1759, allocations: 217.6 kB / 331.4 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.1801, allocations: 1.298 MB / 332.7 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.1803, allocations: 110.9 kB / 332.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.1806, allocations: 148 kB / 332.9 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.1847, allocations: 1.513 MB / 334.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.27e-05/0.1848, allocations: 11.89 kB / 334.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.185, allocations: 56 kB / 334.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.1851, allocations: 40 kB / 334.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.1887, allocations: 1.111 MB / 335.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.202, allocations: 6.104 MB / 341.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.2046, allocations: 0.8746 MB / 342.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.661e-05/0.2047, allocations: 16.92 kB / 342.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.2062, allocations: 0.5561 MB / 343.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=92): time 3.807e-06/0.2063, allocations: 0 / 343.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=95): time 0.01033/0.2166, allocations: 3.065 MB / 346.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.2168, allocations: 171.2 kB / 346.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.2194, allocations: 1.219 MB / 347.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.2196, allocations: 49.7 kB / 347.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008985/0.2205, allocations: 0.7607 MB / 348.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004587/0.221, allocations: 327.5 kB / 348.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.2211, allocations: 24 kB / 348.8 MB, free: 7.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2213, allocations: 357.9 kB / 349.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.2226, allocations: 398.4 kB / 349.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.2243, allocations: 0.8185 MB / 350.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.2257, allocations: 494.7 kB / 350.8 MB, free: 5.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.2258, allocations: 4 kB / 350.8 MB, free: 5.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004242/0.23, allocations: 1.526 MB / 352.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004419/0.2305, allocations: 487.8 kB / 352.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.2305, allocations: 12 kB / 352.8 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009159/0.2314, allocations: 197.5 kB / 353 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.2332, allocations: 271.5 kB / 353.3 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.2391, allocations: 3.828 MB / 357.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.2407, allocations: 88 kB / 357.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.2409, allocations: 56 kB / 357.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2409, allocations: 4 kB / 357.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003592/0.2445, allocations: 1.373 MB / 358.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.2445, allocations: 16 kB / 358.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.2453, allocations: 194.3 kB / 358.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.247, allocations: 271.5 kB / 359.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.253, allocations: 3.83 MB / 363 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.2546, allocations: 75.95 kB / 363 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.2548, allocations: 64.06 kB / 363.1 MB, free: 8.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.2559, allocations: 0.4969 MB / 363.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.2563, allocations: 138.3 kB / 363.7 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.2597, allocations: 1.167 MB / 364.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.2597, allocations: 7.984 kB / 364.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.2598, allocations: 3.984 kB / 364.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/0.2605, allocations: 299.2 kB / 365.2 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.2609, allocations: 27.98 kB / 365.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.2619, allocations: 64.06 kB / 365.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.2622, allocations: 76.89 kB / 365.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004929/0.2671, allocations: 1.249 MB / 366.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004333/0.2715, allocations: 1.604 MB / 368.2 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/0.2727, allocations: 419.7 kB / 368.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001763/0.2745, allocations: 0.8134 MB / 369.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of Backend: time 6.02e-07/0.2745, allocations: 0 / 369.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.28, allocations: 2.052 MB / 371.5 MB, free: 44 kB / 314.7 MB Notification: Performance of SimCode: time 0.2911/0.5712, allocations: 4.048 MB / 375.5 MB, free: 58.54 MB / 314.7 MB Notification: Performance of Templates: time 0.05784/0.6291, allocations: 21.37 MB / 396.9 MB, free: 46.77 MB / 314.7 MB