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_R.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_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 2.028/2.028, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 8 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08649, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4318, allocations: 82.12 MB / 390.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4321, allocations: 87.98 kB / 390.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04658/0.4787, allocations: 13.11 MB / 403.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.664e-06/0.4788, allocations: 0 / 403.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.939e-05/0.4788, allocations: 15.53 kB / 403.8 MB, free: 16.79 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.00177/0.4806, allocations: 0.9326 MB / 404.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4807, allocations: 11.66 kB / 404.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.4809, allocations: 81.89 kB / 404.8 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.4817, allocations: 0.4908 MB / 405.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.4818, allocations: 49.38 kB / 405.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.4819, allocations: 67.73 kB / 405.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.4833, allocations: 0.6903 MB / 406.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.4834, allocations: 3.938 kB / 406.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.4835, allocations: 25.38 kB / 406.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.4835, allocations: 15.5 kB / 406.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.4849, allocations: 0.5316 MB / 406.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004566/0.4895, allocations: 2.593 MB / 409.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.4908, allocations: 0.5773 MB / 409.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.4909, allocations: 8.297 kB / 409.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007012/0.4916, allocations: 353.8 kB / 410.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.792e-06/0.4917, allocations: 0 / 410.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.003235/0.4949, allocations: 0.971 MB / 411.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.495, allocations: 115 kB / 411.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.4957, allocations: 435.1 kB / 411.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.4958, allocations: 39.42 kB / 411.8 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.4961, allocations: 352.7 kB / 412.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4962, allocations: 165.5 kB / 412.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.4963, allocations: 11 kB / 412.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.4964, allocations: 337.1 kB / 412.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.497, allocations: 206.3 kB / 412.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.4976, allocations: 363.9 kB / 413.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.4982, allocations: 216.9 kB / 413.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4982, allocations: 3.875 kB / 413.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001567/0.4998, allocations: 0.666 MB / 414 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/0.5001, allocations: 1.571 MB / 415.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5001, allocations: 3.875 kB / 415.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.5008, allocations: 151.8 kB / 415.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.5012, allocations: 88.44 kB / 415.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.5047, allocations: 2.396 MB / 418.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/0.5055, allocations: 92.81 kB / 418.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.5056, allocations: 22.81 kB / 418.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5056, allocations: 3.875 kB / 418.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001375/0.507, allocations: 0.5936 MB / 419 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5071, allocations: 7.906 kB / 419 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.5076, allocations: 161.8 kB / 419.1 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.508, allocations: 85.55 kB / 419.2 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.5114, allocations: 2.38 MB / 421.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.5119, allocations: 68.16 kB / 421.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.512, allocations: 27.22 kB / 421.7 MB, free: 6.898 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.0008478/0.5129, allocations: 315.5 kB / 422 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.5132, allocations: 58.39 kB / 422 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.5135, allocations: 64.77 kB / 422.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5136, allocations: 3.906 kB / 422.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.236e-06/0.5136, allocations: 3.906 kB / 422.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.5136, allocations: 3.984 kB / 422.1 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/0.5187, allocations: 1.351 MB / 423.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.916e-06/0.5188, allocations: 0 / 423.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.5193, allocations: 46.48 kB / 423.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009841/0.5203, allocations: 145.2 kB / 423.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/0.5205, allocations: 14.95 kB / 423.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/0.5266, allocations: 2.302 MB / 426 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.48e-06/0.5266, allocations: 3.875 kB / 426 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.5303, allocations: 0.9189 MB / 426.9 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.5311, allocations: 177.7 kB / 427.1 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.5313, allocations: 18.52 kB / 427.1 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.5322, allocations: 41.56 kB / 427.1 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.5326, allocations: 73.89 kB / 427.2 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.942e-05/0.5327, allocations: 19.23 kB / 427.2 MB, free: 20.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.5338, allocations: 330.8 kB / 427.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.069e-06/0.5338, allocations: 0 / 427.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002679/0.5365, allocations: 334.4 kB / 427.9 MB, free: 19.91 MB / 330.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: 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 (38): * Single equations (assignments): 32 * 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.0003851/0.5369, allocations: 134.9 kB / 428 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.5415, allocations: 1.199 MB / 429.2 MB, free: 19.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.178e-06/0.5415, allocations: 0 / 429.2 MB, free: 19.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.5431, allocations: 447.8 kB / 429.6 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5444, allocations: 115.7 kB / 429.8 MB, free: 19.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.5493, allocations: 1.452 MB / 431.2 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.5504, allocations: 0.935 MB / 432.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.5508, allocations: 42.16 kB / 432.2 MB, free: 17.47 MB / 330.7 MB Notification: Performance of SimCode: time 2.362e-06/0.5508, allocations: 0 / 432.2 MB, free: 17.47 MB / 330.7 MB Notification: Performance of Templates: time 0.02959/0.5804, allocations: 10.43 MB / 442.6 MB, free: 11.89 MB / 330.7 MB