Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005582/0.0005587, allocations: 12 kB / 264.6 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 44.5 MB / 309.1 MB, free: 332 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.6033, allocations: 81.64 MB / 390.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.6037, allocations: 93.19 kB / 390.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04721/0.6509, allocations: 12.09 MB / 402.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.651, allocations: 0 / 402.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.622e-05/0.6511, allocations: 19.22 kB / 402.9 MB, free: 12.97 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.00236/0.6535, allocations: 0.8818 MB / 403.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6535, allocations: 15.69 kB / 403.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.6538, allocations: 89.56 kB / 403.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.6547, allocations: 459.2 kB / 404.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.6547, allocations: 45.91 kB / 404.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.6549, allocations: 56 kB / 404.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.6564, allocations: 0.6223 MB / 405.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.6565, allocations: 0 / 405.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.6566, allocations: 20.94 kB / 405.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6566, allocations: 15.5 kB / 405.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.658, allocations: 478.9 kB / 405.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.6629, allocations: 2.182 MB / 407.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.6643, allocations: 424.9 kB / 408.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/0.6644, allocations: 7.391 kB / 408.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008783/0.6653, allocations: 328.9 kB / 408.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.038e-06/0.6653, allocations: 0 / 408.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.002923/0.6683, allocations: 0.804 MB / 409.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.6684, allocations: 117.7 kB / 409.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.6691, allocations: 428.6 kB / 409.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.6692, allocations: 40.14 kB / 409.9 MB, free: 9.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.6694, allocations: 298.1 kB / 410.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6696, allocations: 136.5 kB / 410.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.6696, allocations: 7.125 kB / 410.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6698, allocations: 367.5 kB / 410.7 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.6703, allocations: 172.8 kB / 410.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.671, allocations: 326.1 kB / 411.1 MB, free: 8.715 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.6715, allocations: 186.1 kB / 411.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6716, allocations: 3.812 kB / 411.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001646/0.6732, allocations: 0.5815 MB / 411.9 MB, free: 8.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.6734, allocations: 210.4 kB / 412.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6734, allocations: 3.781 kB / 412.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.6739, allocations: 95.03 kB / 412.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.6745, allocations: 85.67 kB / 412.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.677, allocations: 1.859 MB / 414.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.6779, allocations: 69.48 kB / 414.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.678, allocations: 23.16 kB / 414.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.678, allocations: 3.906 kB / 414.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.6794, allocations: 499.9 kB / 414.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.6794, allocations: 3.938 kB / 414.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.6798, allocations: 85.19 kB / 414.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.6803, allocations: 73.78 kB / 414.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.6828, allocations: 1.856 MB / 416.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.6836, allocations: 59.06 kB / 416.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.6836, allocations: 19.09 kB / 416.8 MB, free: 5.156 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.0006169/0.6843, allocations: 302.9 kB / 417.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.6845, allocations: 50.75 kB / 417.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.6846, allocations: 64.36 kB / 417.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6847, allocations: 7.828 kB / 417.2 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6847, allocations: 4 kB / 417.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6847, allocations: 0 / 417.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.6877, allocations: 1.238 MB / 418.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.6878, allocations: 3.844 kB / 418.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.6882, allocations: 50.38 kB / 418.5 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.6887, allocations: 81.03 kB / 418.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.6887, allocations: 15.58 kB / 418.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.6911, allocations: 1.762 MB / 420.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6911, allocations: 0 / 420.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.6934, allocations: 0.8425 MB / 421.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.6938, allocations: 162.9 kB / 421.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.694, allocations: 16.66 kB / 421.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.6945, allocations: 42.14 kB / 421.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.6948, allocations: 56.53 kB / 421.5 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.6948, allocations: 18.12 kB / 421.5 MB, free: 2.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004987/0.6953, allocations: 299 kB / 421.8 MB, free: 2.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6953, allocations: 4.344 kB / 421.8 MB, free: 2.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00142/0.6968, allocations: 278.7 kB / 422.1 MB, free: 2.262 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.0002969/0.6971, allocations: 134.5 kB / 422.2 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.6997, allocations: 0.9917 MB / 423.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.6998, allocations: 0 / 423.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009935/0.7008, allocations: 412.3 kB / 423.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.7016, allocations: 77.61 kB / 423.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.7044, allocations: 1.288 MB / 425 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.7049, allocations: 0.9141 MB / 425.9 MB, free: 16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000587/0.7055, allocations: 91.42 kB / 426 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.7057, allocations: 34.78 kB / 426 MB, free: 15.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7057, allocations: 0 / 426 MB, free: 15.95 MB / 330.7 MB Notification: Performance of Templates: time 0.02327/0.729, allocations: 7.357 MB / 433.4 MB, free: 12.34 MB / 330.7 MB