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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 211.7 MB, free: 2.973 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 12 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08217, allocations: 44.51 MB / 308.5 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4319, allocations: 81.64 MB / 390.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4322, allocations: 95.27 kB / 390.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04268/0.4749, allocations: 12.1 MB / 402.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.597e-06/0.4749, allocations: 0 / 402.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.11e-05/0.475, allocations: 11.78 kB / 402.3 MB, free: 17.23 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001587/0.4766, allocations: 0.8864 MB / 403.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4767, allocations: 7.812 kB / 403.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.4768, allocations: 86.31 kB / 403.3 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.4776, allocations: 466.2 kB / 403.7 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.4777, allocations: 49.75 kB / 403.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4778, allocations: 57.22 kB / 403.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.4792, allocations: 0.6161 MB / 404.5 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.4792, allocations: 7.781 kB / 404.5 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.4793, allocations: 21.97 kB / 404.5 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4793, allocations: 11.62 kB / 404.5 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4805, allocations: 481.1 kB / 405 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.4844, allocations: 2.204 MB / 407.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4855, allocations: 458.5 kB / 407.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.4856, allocations: 4.203 kB / 407.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/0.4862, allocations: 308.6 kB / 407.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.289e-06/0.4862, allocations: 0 / 407.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.002085/0.4883, allocations: 0.7314 MB / 408.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.4884, allocations: 114.1 kB / 408.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.4891, allocations: 414.5 kB / 409.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.4892, allocations: 43.45 kB / 409.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4894, allocations: 338.9 kB / 409.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4895, allocations: 130.6 kB / 409.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.4895, allocations: 15.12 kB / 409.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.4896, allocations: 333.4 kB / 410 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.4901, allocations: 172.3 kB / 410.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.4906, allocations: 319.7 kB / 410.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.4911, allocations: 186.9 kB / 410.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4912, allocations: 3.875 kB / 410.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001337/0.4925, allocations: 0.5558 MB / 411.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.4929, allocations: 1.579 MB / 412.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4929, allocations: 3.875 kB / 412.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.4933, allocations: 80.47 kB / 412.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.4938, allocations: 88.92 kB / 413 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.496, allocations: 1.867 MB / 414.9 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.4967, allocations: 85.2 kB / 414.9 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.4968, allocations: 22.69 kB / 415 MB, free: 9.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.4968, allocations: 3.875 kB / 415 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/0.498, allocations: 0.4904 MB / 415.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.891e-06/0.498, allocations: 7.75 kB / 415.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.4983, allocations: 84.19 kB / 415.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.4987, allocations: 73.75 kB / 415.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.5008, allocations: 1.839 MB / 417.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.5013, allocations: 65.77 kB / 417.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.5014, allocations: 23.19 kB / 417.5 MB, free: 7.977 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004729/0.5018, allocations: 297.3 kB / 417.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.502, allocations: 58.48 kB / 417.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.5021, allocations: 58 kB / 417.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-06/0.5021, allocations: 3.875 kB / 417.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-06/0.5022, allocations: 0 / 417.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5022, allocations: 3.984 kB / 418 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.5044, allocations: 1.148 MB / 419.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.733e-06/0.5044, allocations: 0 / 419.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.5047, allocations: 39.36 kB / 419.1 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/0.5051, allocations: 92.3 kB / 419.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.5051, allocations: 6.75 kB / 419.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.5072, allocations: 1.763 MB / 421 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-06/0.5072, allocations: 0 / 421 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.5087, allocations: 0.7532 MB / 421.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.509, allocations: 172.6 kB / 421.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.5091, allocations: 15.28 kB / 421.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.5095, allocations: 38.78 kB / 422 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.5097, allocations: 46.77 kB / 422 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.5098, allocations: 18.8 kB / 422 MB, free: 5.344 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000541/0.5103, allocations: 324 kB / 422.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5103, allocations: 0 / 422.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001237/0.5116, allocations: 277.4 kB / 422.6 MB, free: 5.164 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: 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.5118, allocations: 123.6 kB / 422.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.5141, allocations: 0.9793 MB / 423.7 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.526e-06/0.5141, allocations: 0 / 423.7 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006822/0.5148, allocations: 363.9 kB / 424.1 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.5155, allocations: 85.48 kB / 424.2 MB, free: 20.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.5177, allocations: 1.259 MB / 425.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.5184, allocations: 0.916 MB / 426.3 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5186, allocations: 38.64 kB / 426.4 MB, free: 18.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.666e-06/0.5186, allocations: 0 / 426.4 MB, free: 18.89 MB / 330.7 MB Notification: Performance of Templates: time 0.01434/0.533, allocations: 9.263 MB / 435.6 MB, free: 14.27 MB / 330.7 MB