Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 8 kB / 264.5 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1009, allocations: 44.49 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.514, allocations: 82.12 MB / 391.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.5144, allocations: 88.95 kB / 391.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0489/0.5633, allocations: 13.1 MB / 404.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5633, allocations: 0 / 404.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.454e-05/0.5634, allocations: 15.38 kB / 404.3 MB, free: 12.25 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.002293/0.5657, allocations: 0.938 MB / 405.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5658, allocations: 11.5 kB / 405.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.566, allocations: 81.7 kB / 405.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009518/0.5669, allocations: 0.4893 MB / 405.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.567, allocations: 48.31 kB / 405.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5672, allocations: 70.67 kB / 405.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.5689, allocations: 0.6938 MB / 406.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.569, allocations: 4 kB / 406.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.5691, allocations: 26.22 kB / 406.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5691, allocations: 15.62 kB / 406.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.5706, allocations: 0.5218 MB / 407.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.5758, allocations: 2.565 MB / 409.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.5772, allocations: 0.5432 MB / 410.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.5773, allocations: 4.312 kB / 410.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.5782, allocations: 379.1 kB / 410.7 MB, free: 9.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 2.825e-06/0.5782, allocations: 3.938 kB / 410.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.004201/0.5824, allocations: 1.047 MB / 411.7 MB, free: 8.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.5825, allocations: 110.9 kB / 411.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.5832, allocations: 458.8 kB / 412.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.5833, allocations: 47.36 kB / 412.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.5835, allocations: 339.2 kB / 412.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.5837, allocations: 171.5 kB / 412.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.5838, allocations: 13.16 kB / 412.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.5839, allocations: 331.8 kB / 413.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.5845, allocations: 205.4 kB / 413.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.5852, allocations: 369.7 kB / 413.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.5858, allocations: 216 kB / 413.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5859, allocations: 0 / 413.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001743/0.5876, allocations: 0.6685 MB / 414.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.5877, allocations: 213.7 kB / 414.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5878, allocations: 7.797 kB / 414.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007624/0.5885, allocations: 157 kB / 415 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.5891, allocations: 85.2 kB / 415.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.593, allocations: 2.401 MB / 417.5 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.5938, allocations: 75.69 kB / 417.5 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.5939, allocations: 25.34 kB / 417.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.5939, allocations: 3.875 kB / 417.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/0.5954, allocations: 0.5899 MB / 418.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5954, allocations: 3.969 kB / 418.2 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.5961, allocations: 156 kB / 418.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.5966, allocations: 85.62 kB / 418.4 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.6003, allocations: 2.373 MB / 420.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.6009, allocations: 68.73 kB / 420.8 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.601, allocations: 18.91 kB / 420.9 MB, free: 3.777 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.000591/0.6016, allocations: 317 kB / 421.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6017, allocations: 58.67 kB / 421.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.6019, allocations: 62.98 kB / 421.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6019, allocations: 11.78 kB / 421.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6019, allocations: 0 / 421.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.602, allocations: 3.984 kB / 421.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.605, allocations: 1.417 MB / 422.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.605, allocations: 0 / 422.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.6055, allocations: 50.75 kB / 422.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006447/0.6062, allocations: 161.3 kB / 422.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.6062, allocations: 14.11 kB / 422.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.61, allocations: 2.305 MB / 425.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.61, allocations: 4 kB / 425.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.6125, allocations: 0.9766 MB / 426.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.6128, allocations: 189.8 kB / 426.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6129, allocations: 14.28 kB / 426.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.6135, allocations: 40.69 kB / 426.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.6138, allocations: 77.72 kB / 426.5 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.6139, allocations: 25.61 kB / 426.6 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004879/0.6143, allocations: 312.4 kB / 426.9 MB, free: 0.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6144, allocations: 0 / 426.9 MB, free: 0.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001405/0.6158, allocations: 322.3 kB / 427.2 MB, free: 0.75 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.0002671/0.6161, allocations: 150.5 kB / 427.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.619, allocations: 1.236 MB / 428.6 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.6191, allocations: 0 / 428.6 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.6202, allocations: 491.9 kB / 429 MB, free: 0 / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.6211, allocations: 89.48 kB / 429.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.6247, allocations: 1.504 MB / 430.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.6254, allocations: 0.9343 MB / 431.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.6256, allocations: 42.28 kB / 431.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6256, allocations: 0 / 431.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of Templates: time 0.02102/0.6466, allocations: 10.43 MB / 442 MB, free: 8.305 MB / 330.7 MB