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_RLV.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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004008, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09963, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6097, allocations: 82.2 MB / 391.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.61, allocations: 96.09 kB / 391.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04823/0.6582, allocations: 12.69 MB / 404 MB, free: 12.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.6583, allocations: 0 / 404 MB, free: 12.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.52e-05/0.6584, allocations: 21.86 kB / 404.1 MB, free: 12.63 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.002513/0.6609, allocations: 0.9164 MB / 405 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.661, allocations: 11.62 kB / 405 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.6613, allocations: 77.69 kB / 405.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6623, allocations: 487.8 kB / 405.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.6624, allocations: 53.02 kB / 405.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6625, allocations: 62.84 kB / 405.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.6651, allocations: 0.6459 MB / 406.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.744e-05/0.6653, allocations: 8.266 kB / 406.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.6654, allocations: 31.48 kB / 406.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.6655, allocations: 11.66 kB / 406.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/0.6686, allocations: 497 kB / 406.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008576/0.6772, allocations: 2.306 MB / 409.1 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.6785, allocations: 456.4 kB / 409.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.6785, allocations: 4.562 kB / 409.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.6794, allocations: 342.9 kB / 409.9 MB, free: 9.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.056e-06/0.6794, allocations: 3.938 kB / 409.9 MB, free: 9.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002763/0.6822, allocations: 0.8076 MB / 410.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.6823, allocations: 114.1 kB / 410.9 MB, free: 9.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.683, allocations: 456.5 kB / 411.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.6831, allocations: 44.53 kB / 411.3 MB, free: 9.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.6833, allocations: 303.3 kB / 411.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.6835, allocations: 146.7 kB / 411.8 MB, free: 8.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.6835, allocations: 14 kB / 411.8 MB, free: 8.805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6837, allocations: 361.9 kB / 412.2 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.6842, allocations: 179.9 kB / 412.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.6849, allocations: 334.4 kB / 412.7 MB, free: 8.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.6855, allocations: 203.5 kB / 412.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6855, allocations: 0 / 412.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001613/0.6871, allocations: 0.6077 MB / 413.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.6872, allocations: 214.7 kB / 413.7 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6873, allocations: 7.828 kB / 413.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.6877, allocations: 84 kB / 413.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.6883, allocations: 92.48 kB / 413.9 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.6905, allocations: 1.786 MB / 415.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/0.6913, allocations: 76.12 kB / 415.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.6914, allocations: 26.48 kB / 415.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.6914, allocations: 4.406 kB / 415.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.6927, allocations: 0.5005 MB / 416.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6927, allocations: 4.125 kB / 416.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.6931, allocations: 90.3 kB / 416.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.6936, allocations: 84.97 kB / 416.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.6958, allocations: 1.795 MB / 418.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/0.6966, allocations: 65.98 kB / 418.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.6967, allocations: 27.17 kB / 418.3 MB, free: 4.672 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.0005621/0.6973, allocations: 298.7 kB / 418.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.6974, allocations: 58.45 kB / 418.7 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.6976, allocations: 57.89 kB / 418.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6976, allocations: 7.594 kB / 418.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6976, allocations: 0 / 418.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6976, allocations: 3.984 kB / 418.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.7006, allocations: 1.281 MB / 420 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.7006, allocations: 3.875 kB / 420 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.7011, allocations: 61.67 kB / 420.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.7015, allocations: 73.72 kB / 420.1 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.7015, allocations: 14.75 kB / 420.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.7038, allocations: 1.792 MB / 421.9 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7038, allocations: 0 / 421.9 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.706, allocations: 0.8538 MB / 422.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.7063, allocations: 174.6 kB / 423 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.7065, allocations: 19.5 kB / 423 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.707, allocations: 43.2 kB / 423 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.7073, allocations: 55.09 kB / 423.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.7073, allocations: 19.48 kB / 423.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004861/0.7078, allocations: 307.1 kB / 423.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7079, allocations: 3.844 kB / 423.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001307/0.7092, allocations: 294.8 kB / 423.7 MB, free: 1.695 MB / 314.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: 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 (41): * Single equations (assignments): 35 * 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.0002351/0.7094, allocations: 125.8 kB / 423.8 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.7118, allocations: 1.013 MB / 424.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7119, allocations: 1.062 kB / 424.8 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.7127, allocations: 400 kB / 425.2 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.7134, allocations: 89.88 kB / 425.3 MB, free: 1.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.7163, allocations: 1.43 MB / 426.7 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.7169, allocations: 0.9281 MB / 427.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005701/0.7175, allocations: 95.67 kB / 427.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.7177, allocations: 36.25 kB / 427.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7177, allocations: 0 / 427.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Templates: time 0.02189/0.7396, allocations: 7.314 MB / 435.1 MB, free: 11.71 MB / 330.7 MB