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_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003512, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.0968, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.5928, allocations: 79.63 MB / 388.7 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5932, allocations: 86.56 kB / 388.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03673/0.6299, allocations: 9.289 MB / 398.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.63, allocations: 0 / 398.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.017e-05/0.63, allocations: 11.59 kB / 398.1 MB, free: 14.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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001983/0.632, allocations: 0.7467 MB / 398.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6321, allocations: 7.719 kB / 398.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.6323, allocations: 54.53 kB / 398.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.6331, allocations: 371 kB / 399.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.6331, allocations: 38.75 kB / 399.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.6332, allocations: 41 kB / 399.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.6346, allocations: 477.8 kB / 399.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6346, allocations: 5.172 kB / 399.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.6347, allocations: 14.34 kB / 399.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.6347, allocations: 14.09 kB / 399.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.636, allocations: 378.6 kB / 400.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/0.6406, allocations: 1.575 MB / 401.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.6422, allocations: 415.4 kB / 402.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.6423, allocations: 2.891 kB / 402.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007591/0.6431, allocations: 273.8 kB / 402.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.637e-06/0.6431, allocations: 3.938 kB / 402.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002325/0.6454, allocations: 0.6173 MB / 403.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.6455, allocations: 118.3 kB / 403.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.646, allocations: 310.3 kB / 403.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.6461, allocations: 39.53 kB / 403.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6463, allocations: 242.7 kB / 403.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.6464, allocations: 86.34 kB / 403.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.6465, allocations: 9.125 kB / 403.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.6466, allocations: 347.6 kB / 404.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.6471, allocations: 146.5 kB / 404.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.6477, allocations: 289.4 kB / 404.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.6483, allocations: 164.5 kB / 404.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6483, allocations: 3.938 kB / 404.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00144/0.6497, allocations: 0.4898 MB / 405.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.6499, allocations: 210.7 kB / 405.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6499, allocations: 7.75 kB / 405.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.6502, allocations: 51.08 kB / 405.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.6507, allocations: 78.2 kB / 405.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.6522, allocations: 1.5 MB / 407.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.6529, allocations: 81.34 kB / 407.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.6529, allocations: 18.75 kB / 407.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.6529, allocations: 4.562 kB / 407.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.6542, allocations: 399.2 kB / 407.6 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.6542, allocations: 11.83 kB / 407.6 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.6546, allocations: 46.19 kB / 407.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.6553, allocations: 69.67 kB / 407.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.6576, allocations: 1.509 MB / 409.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.6587, allocations: 60.88 kB / 409.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.6588, allocations: 19.27 kB / 409.3 MB, free: 7.523 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 (47): * Single equations (assignments): 46 * 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.0005953/0.6594, allocations: 275.2 kB / 409.6 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.6596, allocations: 31.09 kB / 409.6 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.6597, allocations: 36.64 kB / 409.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6598, allocations: 11.86 kB / 409.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6598, allocations: 4.125 kB / 409.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.6598, allocations: 0 / 409.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.6632, allocations: 0.9231 MB / 410.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6633, allocations: 0 / 410.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.6638, allocations: 46.31 kB / 410.6 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.6641, allocations: 42.67 kB / 410.7 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.6642, allocations: 11.64 kB / 410.7 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.6664, allocations: 1.414 MB / 412.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6664, allocations: 3.953 kB / 412.1 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.6692, allocations: 0.6449 MB / 412.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.6695, allocations: 139.5 kB / 412.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.6697, allocations: 3.688 kB / 412.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.6704, allocations: 54.2 kB / 412.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6707, allocations: 35.09 kB / 413 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.6707, allocations: 15.2 kB / 413 MB, free: 5.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.6712, allocations: 215.9 kB / 413.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.6712, allocations: 0 / 413.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001673/0.6729, allocations: 190.9 kB / 413.4 MB, free: 4.914 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 22 * 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.0002751/0.6732, allocations: 133.9 kB / 413.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.6763, allocations: 0.7923 MB / 414.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6764, allocations: 3.875 kB / 414.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6774, allocations: 304 kB / 414.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007393/0.6782, allocations: 40.84 kB / 414.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.6815, allocations: 0.9892 MB / 415.6 MB, free: 3.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.6821, allocations: 0.8421 MB / 416.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006554/0.6828, allocations: 74.09 kB / 416.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.683, allocations: 34.83 kB / 416.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.683, allocations: 0 / 416.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of Templates: time 0.02106/0.7041, allocations: 4.749 MB / 421.3 MB, free: 0.5312 MB / 314.7 MB