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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005393/0.0005395, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 44.51 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5348, allocations: 81.95 MB / 390.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5351, allocations: 89.47 kB / 391 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04682/0.5819, allocations: 12.42 MB / 403.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.582, allocations: 0 / 403.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.007e-05/0.5821, allocations: 11.56 kB / 403.5 MB, free: 12.66 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002257/0.5843, allocations: 0.908 MB / 404.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5844, allocations: 11.62 kB / 404.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.5846, allocations: 78.09 kB / 404.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.5856, allocations: 480.1 kB / 404.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.5857, allocations: 46.28 kB / 405 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5858, allocations: 60 kB / 405 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.5874, allocations: 0.6402 MB / 405.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.5875, allocations: 3.953 kB / 405.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.5876, allocations: 25.12 kB / 405.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5876, allocations: 11.62 kB / 405.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.589, allocations: 490.4 kB / 406.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.5937, allocations: 2.257 MB / 408.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5949, allocations: 439.6 kB / 408.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.538e-05/0.595, allocations: 15.7 kB / 408.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/0.5958, allocations: 338.4 kB / 409.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.5958, allocations: 0 / 409.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002755/0.5986, allocations: 0.8015 MB / 410 MB, free: 9.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.5987, allocations: 115 kB / 410.1 MB, free: 9.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006674/0.5994, allocations: 435.5 kB / 410.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/0.5995, allocations: 47.44 kB / 410.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.5997, allocations: 337.7 kB / 410.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.5998, allocations: 145.2 kB / 411.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.5999, allocations: 10 kB / 411.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.6, allocations: 340.2 kB / 411.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.6005, allocations: 176.4 kB / 411.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/0.6012, allocations: 331.4 kB / 411.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.6018, allocations: 195.3 kB / 412.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6018, allocations: 7.875 kB / 412.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001515/0.6033, allocations: 0.5704 MB / 412.7 MB, free: 8.098 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.99e-05/0.6034, allocations: 203.1 kB / 412.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6035, allocations: 3.812 kB / 412.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.6039, allocations: 89.12 kB / 413 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.6045, allocations: 96.89 kB / 413.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.6067, allocations: 1.79 MB / 414.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.6075, allocations: 75.97 kB / 414.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.6076, allocations: 18.72 kB / 415 MB, free: 6.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.6076, allocations: 3.938 kB / 415 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/0.6089, allocations: 0.4997 MB / 415.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6089, allocations: 3.844 kB / 415.5 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.6092, allocations: 78.44 kB / 415.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.6097, allocations: 85.62 kB / 415.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.6119, allocations: 1.803 MB / 417.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.6124, allocations: 56.62 kB / 417.5 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.6125, allocations: 22.09 kB / 417.5 MB, free: 4.734 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 (60): * Single equations (assignments): 59 * 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.0005153/0.613, allocations: 305.2 kB / 417.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6132, allocations: 54.55 kB / 417.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.6133, allocations: 60.08 kB / 417.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6134, allocations: 3.844 kB / 417.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6134, allocations: 0 / 417.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6134, allocations: 3.984 kB / 417.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.6161, allocations: 1.26 MB / 419.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6162, allocations: 7.766 kB / 419.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.6167, allocations: 52.91 kB / 419.2 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.617, allocations: 77.41 kB / 419.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.6171, allocations: 9.812 kB / 419.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.6192, allocations: 1.79 MB / 421.1 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6193, allocations: 0 / 421.1 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.6215, allocations: 0.8591 MB / 422 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.6218, allocations: 174.2 kB / 422.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.622, allocations: 11.44 kB / 422.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.6226, allocations: 51.03 kB / 422.2 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6228, allocations: 54.91 kB / 422.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.6228, allocations: 18.52 kB / 422.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000465/0.6233, allocations: 297.3 kB / 422.6 MB, free: 1.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6233, allocations: 7.875 kB / 422.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001232/0.6246, allocations: 276.7 kB / 422.8 MB, free: 1.773 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 (40): * Single equations (assignments): 34 * 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.0002187/0.6248, allocations: 134.9 kB / 423 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.6272, allocations: 1.009 MB / 424 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6272, allocations: 0 / 424 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008669/0.6281, allocations: 405.2 kB / 424.4 MB, free: 1.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.6288, allocations: 78.45 kB / 424.5 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.6317, allocations: 1.434 MB / 425.9 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.6322, allocations: 0.9173 MB / 426.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.6325, allocations: 40.34 kB / 426.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6325, allocations: 0 / 426.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of Templates: time 0.01855/0.6511, allocations: 9.478 MB / 436.3 MB, free: 10.63 MB / 330.7 MB