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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.799/1.799, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003468, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09347, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5153, allocations: 85.15 MB / 394.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5156, allocations: 92.66 kB / 394.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09723/0.6129, allocations: 28.15 MB / 422.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6129, allocations: 0 / 422.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.613, allocations: 38.33 kB / 422.4 MB, free: 5.703 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004222/0.6173, allocations: 1.646 MB / 424.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6173, allocations: 13.59 kB / 424.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.6177, allocations: 164.2 kB / 424.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.6228, allocations: 1.637 MB / 425.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/0.6229, allocations: 106.7 kB / 426 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.6232, allocations: 128.4 kB / 426.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.627, allocations: 1.728 MB / 427.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.627, allocations: 0 / 427.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.6272, allocations: 50.44 kB / 427.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/0.6273, allocations: 60 kB / 427.9 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003459/0.6308, allocations: 1.412 MB / 429.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.6409, allocations: 4.951 MB / 434.3 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.643, allocations: 0.9966 MB / 435.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.6431, allocations: 15.78 kB / 435.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.6445, allocations: 0.6419 MB / 436 MB, free: 412 kB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 3.737e-06/0.6445, allocations: 0 / 436 MB, free: 412 kB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.005613/0.6501, allocations: 1.731 MB / 437.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.6502, allocations: 119 kB / 437.8 MB, free: 15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.6519, allocations: 0.8507 MB / 438.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.6521, allocations: 56.5 kB / 438.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/0.6527, allocations: 0.591 MB / 439.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.653, allocations: 243 kB / 439.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.6531, allocations: 20.81 kB / 439.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6532, allocations: 344.9 kB / 439.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.6546, allocations: 452.1 kB / 440.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.656, allocations: 0.6727 MB / 441 MB, free: 12.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.6573, allocations: 478.8 kB / 441.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6574, allocations: 0 / 441.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00331/0.6607, allocations: 1.244 MB / 442.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.6609, allocations: 268.4 kB / 443 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6609, allocations: 8 kB / 443 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008468/0.6618, allocations: 228.6 kB / 443.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/0.6628, allocations: 151.7 kB / 443.4 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.6678, allocations: 2.827 MB / 446.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.669, allocations: 147.2 kB / 446.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/0.6691, allocations: 39.98 kB / 446.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.6692, allocations: 4 kB / 446.4 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/0.6722, allocations: 1.157 MB / 447.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.6722, allocations: 12.09 kB / 447.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.6729, allocations: 217.2 kB / 447.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.6738, allocations: 143.7 kB / 447.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.6788, allocations: 2.846 MB / 450.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/0.6797, allocations: 131.4 kB / 450.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.6798, allocations: 36 kB / 450.9 MB, free: 1.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001351/0.6811, allocations: 0.6101 MB / 451.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.6814, allocations: 90.88 kB / 451.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.6818, allocations: 113 kB / 451.7 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6818, allocations: 11.94 kB / 451.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6818, allocations: 0 / 451.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.6818, allocations: 7.922 kB / 451.7 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006304/0.6881, allocations: 2.53 MB / 454.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6882, allocations: 4 kB / 454.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.6889, allocations: 91.88 kB / 454.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/0.6897, allocations: 204.9 kB / 454.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/0.6897, allocations: 19.95 kB / 454.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.6947, allocations: 2.803 MB / 457.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6947, allocations: 0 / 457.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/0.6993, allocations: 1.784 MB / 459.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.6999, allocations: 271.8 kB / 459.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.7002, allocations: 19.98 kB / 459.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.7011, allocations: 99.84 kB / 459.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/0.7016, allocations: 140.4 kB / 459.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.7017, allocations: 27.98 kB / 459.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.7029, allocations: 0.581 MB / 460.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.703, allocations: 0 / 460.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002068/0.705, allocations: 0.5722 MB / 460.9 MB, free: 7.672 MB / 346.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003186/0.7054, allocations: 164.5 kB / 461 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.7104, allocations: 2.002 MB / 463 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7104, allocations: 0.8125 kB / 463 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7123, allocations: 0.7532 MB / 463.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.7137, allocations: 187.4 kB / 464 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/0.7202, allocations: 2.992 MB / 467 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.7216, allocations: 1.375 MB / 468.3 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.7221, allocations: 71.42 kB / 468.4 MB, free: 20 kB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7221, allocations: 0 / 468.4 MB, free: 20 kB / 346.7 MB Notification: Performance of Templates: time 0.04174/0.7638, allocations: 21.54 MB / 489.9 MB, free: 10.48 MB / 378.7 MB