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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 44.51 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5461, allocations: 82.19 MB / 391.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.5465, allocations: 93.97 kB / 391.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05085/0.5973, allocations: 12.68 MB / 404 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5974, allocations: 0 / 404 MB, free: 12.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.071e-05/0.5975, allocations: 15.56 kB / 404 MB, free: 12.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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002724/0.6002, allocations: 0.9252 MB / 404.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6003, allocations: 7.719 kB / 404.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.6006, allocations: 81.62 kB / 405 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.6018, allocations: 484.5 kB / 405.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.6019, allocations: 49.62 kB / 405.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.602, allocations: 63.06 kB / 405.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6039, allocations: 0.6597 MB / 406.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.604, allocations: 352 / 406.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.6041, allocations: 28.7 kB / 406.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.6041, allocations: 15.38 kB / 406.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.6057, allocations: 0.491 MB / 406.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.611, allocations: 2.308 MB / 409.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.6122, allocations: 454.1 kB / 409.5 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-05/0.6123, allocations: 15.67 kB / 409.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000844/0.6131, allocations: 334.9 kB / 409.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.995e-06/0.6131, allocations: 0 / 409.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002976/0.6161, allocations: 0.8098 MB / 410.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.6162, allocations: 115 kB / 410.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.617, allocations: 457.8 kB / 411.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/0.6171, allocations: 41.08 kB / 411.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.6174, allocations: 348.3 kB / 411.6 MB, free: 8.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.6176, allocations: 148.6 kB / 411.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.6176, allocations: 10.75 kB / 411.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6177, allocations: 332.2 kB / 412.1 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.6183, allocations: 177.6 kB / 412.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.6191, allocations: 342.8 kB / 412.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.6197, allocations: 198.5 kB / 412.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.6197, allocations: 4 kB / 412.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001643/0.6214, allocations: 0.5715 MB / 413.4 MB, free: 7.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.6216, allocations: 203.7 kB / 413.6 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.6217, allocations: 11.61 kB / 413.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.6222, allocations: 85.28 kB / 413.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.6229, allocations: 89.45 kB / 413.7 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.6252, allocations: 1.791 MB / 415.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.626, allocations: 80.09 kB / 415.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.6261, allocations: 19.47 kB / 415.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.6261, allocations: 3.719 kB / 415.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/0.6274, allocations: 0.502 MB / 416.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6274, allocations: 3.844 kB / 416.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.6277, allocations: 93.84 kB / 416.2 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.6283, allocations: 85.78 kB / 416.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.6304, allocations: 1.78 MB / 418.1 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.631, allocations: 60.97 kB / 418.2 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.6311, allocations: 22.38 kB / 418.2 MB, free: 4.555 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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006/0.6317, allocations: 309.9 kB / 418.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6319, allocations: 54.59 kB / 418.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.6321, allocations: 56.17 kB / 418.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6321, allocations: 3.875 kB / 418.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6321, allocations: 3.984 kB / 418.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6321, allocations: 0 / 418.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.6352, allocations: 1.281 MB / 419.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.6352, allocations: 3.969 kB / 419.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.6357, allocations: 54.66 kB / 419.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.6361, allocations: 84.77 kB / 420 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.6362, allocations: 10.81 kB / 420 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.6385, allocations: 1.8 MB / 421.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6386, allocations: 3.844 kB / 421.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.6409, allocations: 0.8532 MB / 422.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.6412, allocations: 169.6 kB / 422.9 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.6413, allocations: 14.58 kB / 422.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.6419, allocations: 45.88 kB / 422.9 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.6421, allocations: 57.81 kB / 423 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.6422, allocations: 18.83 kB / 423 MB, free: 1.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004988/0.6427, allocations: 304.2 kB / 423.3 MB, free: 1.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6427, allocations: 0 / 423.3 MB, free: 1.633 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001282/0.644, allocations: 293.8 kB / 423.6 MB, free: 1.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.6442, allocations: 138.7 kB / 423.7 MB, free: 1.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.6467, allocations: 1.008 MB / 424.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.6468, allocations: 0 / 424.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.6477, allocations: 396.6 kB / 425.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.6485, allocations: 88.69 kB / 425.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.652, allocations: 1.472 MB / 426.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.6527, allocations: 0.9211 MB / 427.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.6529, allocations: 46.48 kB / 427.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.653, allocations: 0 / 427.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of Templates: time 0.02051/0.6735, allocations: 9.706 MB / 437.3 MB, free: 10.3 MB / 330.7 MB