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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.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.95/1.95, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003576, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.07954, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.4819, allocations: 82.2 MB / 390.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4822, allocations: 85.34 kB / 390.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04568/0.5279, allocations: 12.7 MB / 403.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5279, allocations: 3.875 kB / 403.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.785e-05/0.528, allocations: 15.66 kB / 403.5 MB, free: 16.9 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.001645/0.5296, allocations: 0.9254 MB / 404.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5297, allocations: 7.625 kB / 404.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.5299, allocations: 77.5 kB / 404.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.5307, allocations: 494.2 kB / 405 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.5308, allocations: 49.53 kB / 405 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.5309, allocations: 59.41 kB / 405.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5323, allocations: 0.6551 MB / 405.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.5323, allocations: 8.031 kB / 405.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.5324, allocations: 26.27 kB / 405.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.5324, allocations: 15.16 kB / 405.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.5337, allocations: 0.4907 MB / 406.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.5377, allocations: 2.325 MB / 408.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.5389, allocations: 489.4 kB / 409.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.5389, allocations: 3.875 kB / 409.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.5396, allocations: 310.8 kB / 409.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 4.436e-06/0.5396, allocations: 0 / 409.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002146/0.5418, allocations: 0.7535 MB / 410.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5419, allocations: 114.8 kB / 410.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.5426, allocations: 428.8 kB / 410.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.5426, allocations: 48.03 kB / 410.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.5428, allocations: 345.1 kB / 411 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.543, allocations: 145.9 kB / 411.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.543, allocations: 14.38 kB / 411.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.5431, allocations: 329.9 kB / 411.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.5436, allocations: 182.4 kB / 411.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.5441, allocations: 333.4 kB / 412 MB, free: 12.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.5446, allocations: 201.8 kB / 412.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.5447, allocations: 0 / 412.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001342/0.546, allocations: 0.5706 MB / 412.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.5463, allocations: 1.579 MB / 414.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5464, allocations: 7.875 kB / 414.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.5467, allocations: 84.25 kB / 414.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.5471, allocations: 92.8 kB / 414.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.5492, allocations: 1.789 MB / 416.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.55, allocations: 88.69 kB / 416.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.5501, allocations: 23.02 kB / 416.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.5501, allocations: 3.906 kB / 416.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/0.5514, allocations: 0.5042 MB / 417 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5514, allocations: 3.875 kB / 417 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.5517, allocations: 81.27 kB / 417 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.5521, allocations: 93.11 kB / 417.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.5542, allocations: 1.785 MB / 418.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.5547, allocations: 65.72 kB / 419 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.5547, allocations: 26.25 kB / 419 MB, free: 7.508 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.0005131/0.5553, allocations: 304.5 kB / 419.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.5554, allocations: 57.81 kB / 419.4 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.5556, allocations: 57.5 kB / 419.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-06/0.5556, allocations: 3.906 kB / 419.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5556, allocations: 0 / 419.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-06/0.5556, allocations: 0 / 419.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.5578, allocations: 1.196 MB / 420.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.556e-06/0.5579, allocations: 0 / 420.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.5582, allocations: 46.08 kB / 420.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.5585, allocations: 77.19 kB / 420.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.5586, allocations: 7.547 kB / 420.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.5606, allocations: 1.794 MB / 422.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.752e-06/0.5606, allocations: 0 / 422.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5622, allocations: 0.7765 MB / 423.3 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.5627, allocations: 169.3 kB / 423.5 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5628, allocations: 15.19 kB / 423.5 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.5633, allocations: 46.02 kB / 423.5 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5634, allocations: 50.7 kB / 423.6 MB, free: 20.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.5635, allocations: 11.66 kB / 423.6 MB, free: 20.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005467/0.5641, allocations: 335.3 kB / 423.9 MB, free: 20.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.5641, allocations: 0 / 423.9 MB, free: 20.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001258/0.5653, allocations: 292.3 kB / 424.2 MB, free: 20.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * 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.0002245/0.5656, allocations: 133.6 kB / 424.3 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.5676, allocations: 0.9968 MB / 425.3 MB, free: 20.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.914e-06/0.5677, allocations: 0 / 425.3 MB, free: 20.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.5684, allocations: 364.7 kB / 425.7 MB, free: 19.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.569, allocations: 66.16 kB / 425.8 MB, free: 19.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.5715, allocations: 1.432 MB / 427.2 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.5722, allocations: 0.9213 MB / 428.1 MB, free: 18.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.5724, allocations: 38.47 kB / 428.1 MB, free: 18.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.56e-06/0.5724, allocations: 0 / 428.1 MB, free: 18.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01421/0.5866, allocations: 9.706 MB / 437.9 MB, free: 13.38 MB / 330.7 MB