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.Rectifier1Pulse.Thyristor1Pulse_R.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.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.861/1.861, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003836, allocations: 8 kB / 264 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.0843, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.4246, allocations: 79.43 MB / 387.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4249, allocations: 86.48 kB / 388 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03297/0.4579, allocations: 9.18 MB / 397.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.622e-06/0.4579, allocations: 3.938 kB / 397.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.173e-05/0.458, allocations: 7.75 kB / 397.2 MB, free: 17.89 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.001274/0.4593, allocations: 0.7159 MB / 397.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4593, allocations: 11.16 kB / 397.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.4594, allocations: 54.44 kB / 397.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.46, allocations: 382.5 kB / 398.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.4601, allocations: 38.33 kB / 398.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.4602, allocations: 37.28 kB / 398.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000915/0.4611, allocations: 457.2 kB / 398.8 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4611, allocations: 0 / 398.8 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.4612, allocations: 14.5 kB / 398.9 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.4613, allocations: 11.66 kB / 398.9 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.462, allocations: 328.2 kB / 399.2 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.465, allocations: 1.555 MB / 400.7 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.4656, allocations: 244 kB / 401 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4657, allocations: 3.875 kB / 401 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.4661, allocations: 230.5 kB / 401.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.415e-06/0.4661, allocations: 0 / 401.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001318/0.4675, allocations: 0.4991 MB / 401.7 MB, free: 16.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.4675, allocations: 114.3 kB / 401.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.4681, allocations: 309.3 kB / 402.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.4682, allocations: 37.73 kB / 402.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.4684, allocations: 289.1 kB / 402.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.4685, allocations: 84.69 kB / 402.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.4685, allocations: 13.25 kB / 402.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.4686, allocations: 323.4 kB / 402.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.4689, allocations: 125.5 kB / 403 MB, free: 15.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.4693, allocations: 269.2 kB / 403.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.4697, allocations: 149.7 kB / 403.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.4697, allocations: 0 / 403.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009717/0.4707, allocations: 441.5 kB / 403.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.471, allocations: 1.658 MB / 405.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4711, allocations: 15.47 kB / 405.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.4713, allocations: 42.09 kB / 405.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.4716, allocations: 67.17 kB / 405.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.473, allocations: 1.505 MB / 407.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.4736, allocations: 73.69 kB / 407.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.4736, allocations: 23 kB / 407.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4737, allocations: 4.656 kB / 407.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008199/0.4745, allocations: 371.9 kB / 407.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.813e-06/0.4745, allocations: 3.875 kB / 407.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.4747, allocations: 41.61 kB / 407.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.475, allocations: 58.58 kB / 407.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.4764, allocations: 1.51 MB / 409.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.4769, allocations: 54.45 kB / 409.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.4769, allocations: 25.75 kB / 409.3 MB, free: 10.39 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.0004252/0.4774, allocations: 269.1 kB / 409.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4775, allocations: 35.12 kB / 409.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.4776, allocations: 36.02 kB / 409.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4776, allocations: 11.81 kB / 409.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.927e-06/0.4777, allocations: 6.578 kB / 409.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-06/0.4777, allocations: 0 / 409.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.4793, allocations: 0.8316 MB / 410.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.155e-06/0.4794, allocations: 7.953 kB / 410.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.4796, allocations: 19.27 kB / 410.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.4798, allocations: 38.84 kB / 410.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.4798, allocations: 11.42 kB / 410.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.4811, allocations: 1.415 MB / 411.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.5e-06/0.4811, allocations: 4 kB / 411.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4822, allocations: 0.5232 MB / 412.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.4825, allocations: 134.8 kB / 412.6 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.4826, allocations: 11.66 kB / 412.6 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.483, allocations: 35.06 kB / 412.6 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4831, allocations: 34.91 kB / 412.7 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.4831, allocations: 15.27 kB / 412.7 MB, free: 8.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004023/0.4835, allocations: 238.8 kB / 412.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.4836, allocations: 0 / 412.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001153/0.4847, allocations: 192.2 kB / 413.1 MB, free: 7.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 19 * 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.0002268/0.485, allocations: 133.7 kB / 413.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.4868, allocations: 0.7171 MB / 413.9 MB, free: 23.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.366e-06/0.4868, allocations: 3.938 kB / 414 MB, free: 23.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.4873, allocations: 252.8 kB / 414.2 MB, free: 23.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4878, allocations: 50.48 kB / 414.2 MB, free: 23.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4896, allocations: 0.951 MB / 415.2 MB, free: 22.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.4903, allocations: 0.8461 MB / 416 MB, free: 21.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.4904, allocations: 26.78 kB / 416.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.636e-06/0.4904, allocations: 0 / 416.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of Templates: time 0.01039/0.5008, allocations: 6.51 MB / 422.6 MB, free: 18.66 MB / 330.7 MB