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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 16 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09791, allocations: 44.49 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5439, allocations: 82.12 MB / 391.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5443, allocations: 91.45 kB / 391.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05004/0.5944, allocations: 13.11 MB / 404.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5944, allocations: 0 / 404.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.902e-05/0.5945, allocations: 18.19 kB / 404.4 MB, free: 12.55 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002503/0.597, allocations: 0.9327 MB / 405.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5971, allocations: 7.781 kB / 405.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.5974, allocations: 89.69 kB / 405.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5985, allocations: 0.4898 MB / 405.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.5986, allocations: 48 kB / 406 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5987, allocations: 61.88 kB / 406 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.6005, allocations: 0.6949 MB / 406.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.6006, allocations: 3.938 kB / 406.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.6007, allocations: 24.28 kB / 406.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6008, allocations: 11.78 kB / 406.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.6023, allocations: 0.5242 MB / 407.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/0.6078, allocations: 2.57 MB / 409.9 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.6093, allocations: 0.54 MB / 410.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.6094, allocations: 10.91 kB / 410.4 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009198/0.6103, allocations: 371.7 kB / 410.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.637e-06/0.6103, allocations: 0 / 410.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.004295/0.6146, allocations: 1.051 MB / 411.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.6147, allocations: 111.1 kB / 411.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.6155, allocations: 454.8 kB / 412.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6156, allocations: 46.97 kB / 412.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.6159, allocations: 299.3 kB / 412.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.6161, allocations: 172.7 kB / 412.9 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.6161, allocations: 15.06 kB / 412.9 MB, free: 8.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6162, allocations: 367.1 kB / 413.2 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006212/0.6169, allocations: 203.4 kB / 413.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.6176, allocations: 356.2 kB / 413.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.6182, allocations: 226.7 kB / 414 MB, free: 7.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6182, allocations: 0 / 414 MB, free: 7.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001896/0.6202, allocations: 0.6941 MB / 414.7 MB, free: 7.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.6203, allocations: 214.2 kB / 414.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.6204, allocations: 7.812 kB / 414.9 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/0.6211, allocations: 153.4 kB / 415.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.6218, allocations: 87.72 kB / 415.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.6258, allocations: 2.407 MB / 417.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.6266, allocations: 72.3 kB / 417.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.6267, allocations: 30.08 kB / 417.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.6267, allocations: 3.844 kB / 417.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001553/0.6283, allocations: 0.5867 MB / 418.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6283, allocations: 3.938 kB / 418.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.629, allocations: 157.4 kB / 418.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.6295, allocations: 77.47 kB / 418.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.6334, allocations: 2.397 MB / 420.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.6342, allocations: 68.3 kB / 421 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.6342, allocations: 25.03 kB / 421 MB, free: 4.098 MB / 314.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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005631/0.6348, allocations: 312.7 kB / 421.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.635, allocations: 62.47 kB / 421.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.6352, allocations: 63.52 kB / 421.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6352, allocations: 7.75 kB / 421.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6352, allocations: 0 / 421.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6352, allocations: 3.984 kB / 421.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.6384, allocations: 1.427 MB / 422.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.6384, allocations: 0 / 422.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.6389, allocations: 50.12 kB / 422.9 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006606/0.6396, allocations: 147.1 kB / 423 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/0.6396, allocations: 10.75 kB / 423.1 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/0.6435, allocations: 2.314 MB / 425.4 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6436, allocations: 0 / 425.4 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.6461, allocations: 0.987 MB / 426.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.6466, allocations: 183.6 kB / 426.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.6468, allocations: 14.45 kB / 426.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.6474, allocations: 38.56 kB / 426.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.6477, allocations: 83.28 kB / 426.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.6478, allocations: 18.92 kB / 426.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000568/0.6483, allocations: 316.5 kB / 427 MB, free: 1.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6483, allocations: 0 / 427 MB, free: 1.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001492/0.6498, allocations: 322.5 kB / 427.3 MB, free: 1.066 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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002586/0.6501, allocations: 142.3 kB / 427.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.6532, allocations: 1.233 MB / 428.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/0.6533, allocations: 3.812 kB / 428.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.6545, allocations: 494.9 kB / 429.2 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.6554, allocations: 100.5 kB / 429.3 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.6591, allocations: 1.472 MB / 430.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.6599, allocations: 0.9434 MB / 431.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006112/0.6605, allocations: 82.47 kB / 431.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.6607, allocations: 37.78 kB / 431.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6607, allocations: 4 kB / 431.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of Templates: time 0.02941/0.6902, allocations: 10.05 MB / 441.9 MB, free: 8.18 MB / 330.7 MB