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_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.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.817/1.817, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 8 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09076, allocations: 44.5 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5115, allocations: 81.64 MB / 390.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.5118, allocations: 91.28 kB / 390.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04627/0.5581, allocations: 12.09 MB / 402.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5582, allocations: 0 / 402.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.545e-05/0.5582, allocations: 19.31 kB / 402.8 MB, free: 12.73 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.002091/0.5603, allocations: 0.8811 MB / 403.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5604, allocations: 11.73 kB / 403.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.5606, allocations: 78.11 kB / 403.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.5615, allocations: 467.7 kB / 404.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.5615, allocations: 53.45 kB / 404.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5617, allocations: 57.03 kB / 404.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.5632, allocations: 0.6201 MB / 405 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.5633, allocations: 0 / 405 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.5633, allocations: 29.75 kB / 405 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5634, allocations: 11.59 kB / 405 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5648, allocations: 476.3 kB / 405.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.5693, allocations: 2.178 MB / 407.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5704, allocations: 428.2 kB / 408.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.5705, allocations: 3.875 kB / 408.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007915/0.5713, allocations: 337.3 kB / 408.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.945e-06/0.5713, allocations: 3.719 kB / 408.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.002859/0.5742, allocations: 0.7993 MB / 409.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.5743, allocations: 114.5 kB / 409.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.5749, allocations: 436 kB / 409.7 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-05/0.575, allocations: 40.39 kB / 409.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.5752, allocations: 330.2 kB / 410.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5754, allocations: 140.6 kB / 410.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.5754, allocations: 6.688 kB / 410.3 MB, free: 8.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.5755, allocations: 337.1 kB / 410.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.5761, allocations: 179.6 kB / 410.8 MB, free: 8.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.5767, allocations: 324.1 kB / 411.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.5773, allocations: 193.2 kB / 411.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.5773, allocations: 0 / 411.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001451/0.5788, allocations: 0.5454 MB / 411.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/0.5789, allocations: 218.4 kB / 412 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5789, allocations: 3.844 kB / 412 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/0.5794, allocations: 88.38 kB / 412.1 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.58, allocations: 88.77 kB / 412.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.5824, allocations: 1.862 MB / 414.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.5831, allocations: 69.41 kB / 414.1 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.5831, allocations: 18.91 kB / 414.1 MB, free: 6.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.5831, allocations: 3.875 kB / 414.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/0.5844, allocations: 492.2 kB / 414.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5845, allocations: 7.844 kB / 414.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.5848, allocations: 90 kB / 414.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.5853, allocations: 72.19 kB / 414.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.5875, allocations: 1.831 MB / 416.6 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.5881, allocations: 62.69 kB / 416.7 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.5881, allocations: 22.5 kB / 416.7 MB, free: 4.902 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.0004991/0.5886, allocations: 308.2 kB / 417 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.5888, allocations: 54.5 kB / 417.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.5889, allocations: 61.83 kB / 417.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.589, allocations: 11.77 kB / 417.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.589, allocations: 0 / 417.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.589, allocations: 3.984 kB / 417.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.5917, allocations: 1.231 MB / 418.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.5918, allocations: 0 / 418.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.5922, allocations: 54.41 kB / 418.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/0.5926, allocations: 80.91 kB / 418.5 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.5927, allocations: 14.52 kB / 418.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.5949, allocations: 1.769 MB / 420.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5949, allocations: 0 / 420.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5971, allocations: 0.8333 MB / 421.1 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.5974, allocations: 171.5 kB / 421.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5976, allocations: 10.06 kB / 421.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.5981, allocations: 40.92 kB / 421.3 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.5983, allocations: 61.83 kB / 421.4 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.5984, allocations: 19.12 kB / 421.4 MB, free: 2.184 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004703/0.5989, allocations: 298.2 kB / 421.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5989, allocations: 7.781 kB / 421.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001176/0.6001, allocations: 274.3 kB / 422 MB, free: 2 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: 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 (37): * Single equations (assignments): 31 * 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.0002159/0.6003, allocations: 135 kB / 422.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.6027, allocations: 1.004 MB / 423.1 MB, free: 1.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6028, allocations: 0 / 423.1 MB, free: 1.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008936/0.6037, allocations: 408.1 kB / 423.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.6044, allocations: 78.11 kB / 423.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.6072, allocations: 1.303 MB / 424.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.6078, allocations: 0.9161 MB / 425.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.608, allocations: 37.88 kB / 425.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.608, allocations: 0 / 425.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of Templates: time 0.0184/0.6264, allocations: 9.261 MB / 435.1 MB, free: 11.06 MB / 330.7 MB