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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005344, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.6231, allocations: 82.42 MB / 391.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.6235, allocations: 89.47 kB / 391.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05234/0.6758, allocations: 13.43 MB / 404.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6759, allocations: 0 / 404.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.758e-05/0.676, allocations: 15.41 kB / 404.9 MB, free: 12.1 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002558/0.6785, allocations: 0.953 MB / 405.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6786, allocations: 15.53 kB / 405.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.6789, allocations: 93.56 kB / 406 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.68, allocations: 0.4922 MB / 406.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.6801, allocations: 57.17 kB / 406.5 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.6803, allocations: 64.62 kB / 406.6 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.6821, allocations: 0.7144 MB / 407.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.6822, allocations: 0 / 407.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6824, allocations: 25.16 kB / 407.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.6824, allocations: 15.5 kB / 407.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.6841, allocations: 0.5403 MB / 407.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.69, allocations: 2.614 MB / 410.5 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.6914, allocations: 0.5515 MB / 411.1 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.6915, allocations: 8.156 kB / 411.1 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000953/0.6925, allocations: 380.7 kB / 411.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=59): time 3.206e-06/0.6925, allocations: 4 kB / 411.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.004776/0.6973, allocations: 1.04 MB / 412.5 MB, free: 8.539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.6975, allocations: 119 kB / 412.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.6985, allocations: 455.9 kB / 413.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.6987, allocations: 50.44 kB / 413.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.6991, allocations: 341.8 kB / 413.4 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.6993, allocations: 193.5 kB / 413.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.6994, allocations: 14.31 kB / 413.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6996, allocations: 341.5 kB / 414 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/0.7005, allocations: 204.2 kB / 414.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000988/0.7015, allocations: 364.6 kB / 414.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.7024, allocations: 226.3 kB / 414.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.7024, allocations: 3.984 kB / 414.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002566/0.705, allocations: 0.676 MB / 415.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.7053, allocations: 210.8 kB / 415.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.7053, allocations: 11.83 kB / 415.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.7063, allocations: 139.8 kB / 415.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.7073, allocations: 96.89 kB / 415.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009311/0.7166, allocations: 3.487 MB / 419.4 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.7177, allocations: 73.53 kB / 419.4 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.7179, allocations: 26.31 kB / 419.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7179, allocations: 7.797 kB / 419.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002159/0.7201, allocations: 0.5995 MB / 420.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7201, allocations: 3.938 kB / 420.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007982/0.7209, allocations: 145.7 kB / 420.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/0.7217, allocations: 91.92 kB / 420.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.7396, allocations: 3.463 MB / 423.8 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.7405, allocations: 59.86 kB / 423.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.7406, allocations: 30.14 kB / 423.9 MB, free: 0.8711 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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007709/0.7414, allocations: 310.2 kB / 424.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.7417, allocations: 62.33 kB / 424.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.7419, allocations: 68.09 kB / 424.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.742, allocations: 11.7 kB / 424.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.742, allocations: 0 / 424.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.742, allocations: 3.984 kB / 424.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.7555, allocations: 1.461 MB / 425.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.7556, allocations: 7.625 kB / 425.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.7563, allocations: 60.28 kB / 425.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008534/0.7572, allocations: 138.8 kB / 426 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.7573, allocations: 21.72 kB / 426 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/0.7721, allocations: 3.313 MB / 429.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7722, allocations: 3.969 kB / 429.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.7761, allocations: 1.019 MB / 430.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.7768, allocations: 190.1 kB / 430.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.777, allocations: 11.59 kB / 430.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.7779, allocations: 50.45 kB / 430.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/0.7783, allocations: 70.89 kB / 430.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/0.7784, allocations: 23.3 kB / 430.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007818/0.7792, allocations: 304.1 kB / 431 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.785e-06/0.7792, allocations: 3.938 kB / 431 MB, free: 12.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002555/0.7818, allocations: 341.6 kB / 431.3 MB, free: 12.53 MB / 330.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000378/0.7822, allocations: 140 kB / 431.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004427/0.7866, allocations: 1.402 MB / 432.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.7867, allocations: 0 / 432.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.7884, allocations: 0.5702 MB / 433.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.7896, allocations: 109.1 kB / 433.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.794, allocations: 1.614 MB / 435.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.7948, allocations: 0.9509 MB / 436.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.7951, allocations: 42.23 kB / 436.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7951, allocations: 0 / 436.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of Templates: time 0.02634/0.8214, allocations: 13.4 MB / 449.5 MB, free: 0.4922 MB / 330.7 MB