Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09269, allocations: 44.5 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4658, allocations: 82.42 MB / 390.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.466, allocations: 90.08 kB / 391 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04796/0.514, allocations: 13.44 MB / 404.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5141, allocations: 0 / 404.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.407e-05/0.5141, allocations: 19.56 kB / 404.4 MB, free: 16.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001885/0.516, allocations: 0.9494 MB / 405.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5161, allocations: 11.62 kB / 405.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.5163, allocations: 85.64 kB / 405.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.5173, allocations: 0.4972 MB / 406 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.5174, allocations: 50.38 kB / 406 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5176, allocations: 67.94 kB / 406.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.5191, allocations: 0.7107 MB / 406.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.5192, allocations: 3.984 kB / 406.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.5193, allocations: 25.75 kB / 406.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.5193, allocations: 19.38 kB / 406.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.5206, allocations: 0.5419 MB / 407.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004595/0.5252, allocations: 2.651 MB / 410 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.5266, allocations: 0.5853 MB / 410.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.5266, allocations: 8.062 kB / 410.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.5274, allocations: 350.2 kB / 411 MB, free: 13.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.933e-06/0.5274, allocations: 0 / 411 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.002721/0.5301, allocations: 0.9911 MB / 412 MB, free: 12.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5302, allocations: 114.8 kB / 412.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.531, allocations: 435 kB / 412.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5312, allocations: 47.75 kB / 412.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.5314, allocations: 351.9 kB / 412.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.5316, allocations: 173.1 kB / 413.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.5316, allocations: 10.25 kB / 413.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.5317, allocations: 345.8 kB / 413.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.5323, allocations: 207.3 kB / 413.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.5329, allocations: 360.5 kB / 414 MB, free: 11.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.5335, allocations: 231.2 kB / 414.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.365e-06/0.5335, allocations: 0 / 414.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001623/0.5352, allocations: 0.6765 MB / 414.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000329/0.5355, allocations: 1.571 MB / 416.4 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5356, allocations: 7.812 kB / 416.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.5362, allocations: 150.2 kB / 416.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.5367, allocations: 97.7 kB / 416.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.5404, allocations: 3.473 MB / 420.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.5412, allocations: 88.52 kB / 420.3 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.5413, allocations: 30.16 kB / 420.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5413, allocations: 7.734 kB / 420.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/0.5427, allocations: 0.6038 MB / 420.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5428, allocations: 3.875 kB / 420.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.5433, allocations: 147.8 kB / 421 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.5437, allocations: 92.45 kB / 421.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.5478, allocations: 3.455 MB / 424.6 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.5483, allocations: 74.38 kB / 424.7 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.5484, allocations: 23.22 kB / 424.7 MB, free: 19.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (67): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006514/0.5491, allocations: 320 kB / 425 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.5493, allocations: 54.56 kB / 425 MB, free: 19.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.5494, allocations: 74.72 kB / 425.1 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.052e-06/0.5495, allocations: 7.859 kB / 425.1 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.925e-06/0.5495, allocations: 0 / 425.1 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.792e-06/0.5495, allocations: 7.922 kB / 425.1 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.5522, allocations: 1.38 MB / 426.5 MB, free: 18.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5523, allocations: 0 / 426.5 MB, free: 18.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.5526, allocations: 50.53 kB / 426.6 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.5531, allocations: 138 kB / 426.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.5532, allocations: 10.78 kB / 426.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/0.5575, allocations: 3.321 MB / 430 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-06/0.5575, allocations: 0 / 430 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.5596, allocations: 0.9336 MB / 431 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.5601, allocations: 189.3 kB / 431.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5602, allocations: 14.94 kB / 431.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5607, allocations: 42.66 kB / 431.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.5609, allocations: 74.94 kB / 431.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.561, allocations: 19.14 kB / 431.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006186/0.5616, allocations: 344.9 kB / 431.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.5616, allocations: 0 / 431.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001551/0.5632, allocations: 328.5 kB / 432 MB, free: 15.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.5635, allocations: 142.1 kB / 432.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.5664, allocations: 1.381 MB / 433.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.843e-06/0.5665, allocations: 0 / 433.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.5675, allocations: 0.5332 MB / 434 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.5683, allocations: 105.5 kB / 434.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.5715, allocations: 1.561 MB / 435.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.5722, allocations: 0.9483 MB / 436.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.5725, allocations: 42.44 kB / 436.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-06/0.5725, allocations: 0 / 436.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of Templates: time 0.02187/0.5944, allocations: 13.4 MB / 450.1 MB, free: 3.961 MB / 330.7 MB