Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.914/1.914, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 12 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08138/0.08177, allocations: 44.5 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4273, allocations: 81.95 MB / 390.4 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4276, allocations: 87.39 kB / 390.5 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04474/0.4723, allocations: 12.43 MB / 402.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.017e-06/0.4724, allocations: 3.938 kB / 402.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.928e-05/0.4724, allocations: 15.62 kB / 403 MB, free: 17.01 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.00165/0.4741, allocations: 0.8994 MB / 403.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4741, allocations: 11.75 kB / 403.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.4743, allocations: 77.28 kB / 403.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.4751, allocations: 485.5 kB / 404.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.4752, allocations: 46.06 kB / 404.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4753, allocations: 61.59 kB / 404.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4768, allocations: 0.6375 MB / 405.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.4768, allocations: 3.953 kB / 405.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.4769, allocations: 21.88 kB / 405.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.4769, allocations: 15.62 kB / 405.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.4781, allocations: 490.1 kB / 405.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.4821, allocations: 2.287 MB / 408 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4833, allocations: 468.5 kB / 408.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.4833, allocations: 3.969 kB / 408.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005894/0.4839, allocations: 312.3 kB / 408.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.977e-06/0.4839, allocations: 3.984 kB / 408.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.00196/0.4859, allocations: 0.7403 MB / 409.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.486, allocations: 118 kB / 409.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.4867, allocations: 421 kB / 410 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.4868, allocations: 40.17 kB / 410 MB, free: 13.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.487, allocations: 349.4 kB / 410.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4871, allocations: 134.9 kB / 410.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.4872, allocations: 14.19 kB / 410.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.4873, allocations: 325.6 kB / 410.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.4878, allocations: 184.8 kB / 411 MB, free: 12.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.4883, allocations: 332.7 kB / 411.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.4888, allocations: 196.5 kB / 411.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.175e-06/0.4888, allocations: 3.875 kB / 411.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001319/0.4902, allocations: 0.5654 MB / 412.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.4905, allocations: 1.566 MB / 413.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4905, allocations: 11.81 kB / 413.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.4909, allocations: 84.58 kB / 413.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.4913, allocations: 96.61 kB / 413.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.4933, allocations: 1.79 MB / 415.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.494, allocations: 85.05 kB / 415.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.4941, allocations: 18.91 kB / 415.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.4941, allocations: 3.875 kB / 415.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.4953, allocations: 0.4952 MB / 416.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.342e-06/0.4953, allocations: 3.875 kB / 416.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.4956, allocations: 90.64 kB / 416.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.496, allocations: 84.92 kB / 416.4 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.498, allocations: 1.782 MB / 418.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.4985, allocations: 62.62 kB / 418.3 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.4986, allocations: 27.17 kB / 418.3 MB, free: 7.668 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.0004852/0.4991, allocations: 303.4 kB / 418.6 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.4992, allocations: 58.45 kB / 418.7 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.4994, allocations: 61.02 kB / 418.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.746e-06/0.4994, allocations: 3.812 kB / 418.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.028e-06/0.4994, allocations: 0 / 418.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4994, allocations: 3.984 kB / 418.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.5016, allocations: 1.161 MB / 419.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5016, allocations: 3.969 kB / 419.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.502, allocations: 47.03 kB / 419.9 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.5023, allocations: 77.31 kB / 420 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5023, allocations: 11.06 kB / 420 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.5044, allocations: 1.802 MB / 421.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.634e-06/0.5044, allocations: 3.984 kB / 421.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.5061, allocations: 0.7534 MB / 422.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.5064, allocations: 169.2 kB / 422.7 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5065, allocations: 18.86 kB / 422.8 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.507, allocations: 38.97 kB / 422.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.5071, allocations: 50.77 kB / 422.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.5072, allocations: 15.48 kB / 422.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006913/0.5079, allocations: 328.5 kB / 423.2 MB, free: 20.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.5079, allocations: 0 / 423.2 MB, free: 20.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001233/0.5092, allocations: 272 kB / 423.5 MB, free: 20.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (38): * Single equations (assignments): 32 * 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.0002196/0.5094, allocations: 136 kB / 423.6 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.5114, allocations: 0.9879 MB / 424.6 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.578e-06/0.5115, allocations: 5 kB / 424.6 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.5122, allocations: 356.9 kB / 424.9 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.5128, allocations: 77.34 kB / 425 MB, free: 20.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.5152, allocations: 1.386 MB / 426.4 MB, free: 19.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.5159, allocations: 0.9188 MB / 427.3 MB, free: 18.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5161, allocations: 41.38 kB / 427.3 MB, free: 18.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.556e-06/0.5161, allocations: 0 / 427.3 MB, free: 18.43 MB / 330.7 MB Notification: Performance of Templates: time 0.01443/0.5306, allocations: 9.483 MB / 436.8 MB, free: 13.68 MB / 330.7 MB