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.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 19.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09508, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5222, allocations: 79.43 MB / 388.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5226, allocations: 92.92 kB / 388.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03518/0.5578, allocations: 9.171 MB / 397.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5578, allocations: 0 / 397.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.5579, allocations: 7.656 kB / 397.8 MB, free: 14.53 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001638/0.5595, allocations: 0.7283 MB / 398.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5596, allocations: 7.625 kB / 398.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.5598, allocations: 53.22 kB / 398.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.5604, allocations: 379.2 kB / 398.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.5605, allocations: 34.53 kB / 399 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.5606, allocations: 45.22 kB / 399 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5617, allocations: 447.9 kB / 399.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5618, allocations: 7.25 kB / 399.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.5619, allocations: 14.62 kB / 399.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.5619, allocations: 14.45 kB / 399.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/0.5629, allocations: 329 kB / 399.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.5664, allocations: 1.554 MB / 401.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.5672, allocations: 271.7 kB / 401.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.5673, allocations: 4.188 kB / 401.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006166/0.5679, allocations: 264.4 kB / 401.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.516e-06/0.5679, allocations: 3.906 kB / 401.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001926/0.5699, allocations: 0.5682 MB / 402.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.57, allocations: 110.6 kB / 402.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.5704, allocations: 317.3 kB / 402.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.5705, allocations: 38.14 kB / 402.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5707, allocations: 232.9 kB / 403.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.5708, allocations: 92 kB / 403.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.5708, allocations: 10.5 kB / 403.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.5709, allocations: 340.9 kB / 403.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.5713, allocations: 126.6 kB / 403.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.5718, allocations: 271.2 kB / 403.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.5722, allocations: 149.6 kB / 404.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5722, allocations: 0 / 404.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001157/0.5734, allocations: 454.5 kB / 404.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5735, allocations: 218.5 kB / 404.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5735, allocations: 3.875 kB / 404.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/0.5739, allocations: 46.47 kB / 404.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.5743, allocations: 62.52 kB / 404.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.5758, allocations: 1.51 MB / 406.4 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.5764, allocations: 64.94 kB / 406.4 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.5765, allocations: 22.92 kB / 406.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.5765, allocations: 3.969 kB / 406.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009744/0.5775, allocations: 362 kB / 406.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5775, allocations: 3.906 kB / 406.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.5777, allocations: 45.61 kB / 406.9 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.5781, allocations: 59.12 kB / 406.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.5795, allocations: 1.516 MB / 408.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.58, allocations: 52.94 kB / 408.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.5801, allocations: 19.25 kB / 408.5 MB, free: 7.785 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004104/0.5805, allocations: 278.6 kB / 408.8 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.5806, allocations: 35.16 kB / 408.8 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.849e-05/0.5807, allocations: 41.95 kB / 408.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5807, allocations: 3.844 kB / 408.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5807, allocations: 0 / 408.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.5807, allocations: 0 / 408.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.5827, allocations: 0.9023 MB / 409.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5827, allocations: 8.062 kB / 409.8 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.583, allocations: 34.52 kB / 409.8 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.5832, allocations: 50.59 kB / 409.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.5833, allocations: 3.5 kB / 409.9 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.5846, allocations: 1.43 MB / 411.3 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5846, allocations: 0 / 411.3 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5861, allocations: 0.6038 MB / 411.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.5863, allocations: 137.1 kB / 412 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.5864, allocations: 14 kB / 412 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.5869, allocations: 39.06 kB / 412.1 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.587, allocations: 27.48 kB / 412.1 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.5871, allocations: 15.8 kB / 412.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003123/0.5874, allocations: 219.4 kB / 412.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5874, allocations: 0 / 412.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001036/0.5884, allocations: 190.6 kB / 412.5 MB, free: 5.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/0.5887, allocations: 137.2 kB / 412.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.5904, allocations: 0.7408 MB / 413.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5904, allocations: 0 / 413.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.591, allocations: 285.8 kB / 413.7 MB, free: 4.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.5916, allocations: 53.5 kB / 413.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.5939, allocations: 0.9823 MB / 414.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5943, allocations: 0.8541 MB / 415.6 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.5948, allocations: 70.03 kB / 415.6 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5949, allocations: 26.75 kB / 415.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5949, allocations: 0 / 415.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of Templates: time 0.0139/0.6088, allocations: 4.621 MB / 420.3 MB, free: 0.8555 MB / 314.7 MB