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.Rectifier1Pulse.Thyristor1Pulse_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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.9 MB / 212.3 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003643, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09753, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5139, allocations: 79.42 MB / 388.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.5144, allocations: 92.05 kB / 388.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03595/0.5503, allocations: 9.179 MB / 397.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5504, allocations: 0 / 397.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.565e-05/0.5504, allocations: 11.62 kB / 397.7 MB, free: 14.07 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00173/0.5522, allocations: 0.715 MB / 398.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5522, allocations: 11.62 kB / 398.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.5524, allocations: 52.69 kB / 398.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.553, allocations: 385.1 kB / 398.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.5531, allocations: 32.58 kB / 398.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.5532, allocations: 40.78 kB / 398.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5543, allocations: 456.4 kB / 399.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.5544, allocations: 3.234 kB / 399.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.5545, allocations: 14.94 kB / 399.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5545, allocations: 7.75 kB / 399.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.5555, allocations: 342.2 kB / 399.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.5592, allocations: 1.551 MB / 401.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.5601, allocations: 276.1 kB / 401.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/0.5602, allocations: 11.73 kB / 401.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.5609, allocations: 250.3 kB / 401.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.5609, allocations: 0 / 401.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001886/0.5628, allocations: 0.5677 MB / 402.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.5629, allocations: 109.5 kB / 402.5 MB, free: 12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.5634, allocations: 315.5 kB / 402.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.5635, allocations: 41.53 kB / 402.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.5637, allocations: 290.1 kB / 403.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.5639, allocations: 87.92 kB / 403.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.5639, allocations: 9.062 kB / 403.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.564, allocations: 325.9 kB / 403.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.5644, allocations: 125.5 kB / 403.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.5649, allocations: 274.6 kB / 403.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.5653, allocations: 148.4 kB / 404 MB, free: 10.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5654, allocations: 0 / 404 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001122/0.5665, allocations: 434.4 kB / 404.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5666, allocations: 211.1 kB / 404.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5667, allocations: 3.875 kB / 404.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.567, allocations: 50.89 kB / 404.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.5674, allocations: 70.03 kB / 404.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.5689, allocations: 1.507 MB / 406.3 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.5696, allocations: 61.67 kB / 406.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.5696, allocations: 19.31 kB / 406.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.5697, allocations: 3.875 kB / 406.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008814/0.5706, allocations: 366.3 kB / 406.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5706, allocations: 4 kB / 406.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.5708, allocations: 50.55 kB / 406.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.5712, allocations: 62.52 kB / 406.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.5725, allocations: 1.501 MB / 408.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.5729, allocations: 50.08 kB / 408.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.573, allocations: 23.23 kB / 408.4 MB, free: 7.598 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.5734, allocations: 274.9 kB / 408.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5735, allocations: 31.34 kB / 408.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.5736, allocations: 41.17 kB / 408.8 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5736, allocations: 7.953 kB / 408.8 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5736, allocations: 0 / 408.8 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5736, allocations: 128 / 408.8 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.5756, allocations: 0.9181 MB / 409.7 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5757, allocations: 0 / 409.7 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.576, allocations: 42.72 kB / 409.7 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.5763, allocations: 42.75 kB / 409.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.5763, allocations: 10.72 kB / 409.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.5776, allocations: 1.423 MB / 411.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5777, allocations: 4.25 kB / 411.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.5792, allocations: 0.5952 MB / 411.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.5795, allocations: 136.1 kB / 411.9 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.5796, allocations: 10.75 kB / 412 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.5801, allocations: 42.77 kB / 412 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5802, allocations: 30.64 kB / 412 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.5803, allocations: 11.62 kB / 412 MB, free: 5.113 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003416/0.5806, allocations: 216.8 kB / 412.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5806, allocations: 4 kB / 412.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001125/0.5818, allocations: 191.2 kB / 412.4 MB, free: 4.973 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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002752/0.5821, allocations: 137.6 kB / 412.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.5839, allocations: 0.7382 MB / 413.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5839, allocations: 0 / 413.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.5845, allocations: 294.2 kB / 413.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.5851, allocations: 54.08 kB / 413.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.5872, allocations: 1.003 MB / 414.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.5876, allocations: 0.8426 MB / 415.5 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.5877, allocations: 34.08 kB / 415.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of SimCode: time 2.134e-06/0.5878, allocations: 3.875 kB / 415.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of Templates: time 0.01438/0.6022, allocations: 6.589 MB / 422.1 MB, free: 15.97 MB / 330.7 MB