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_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 194.9 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004628, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09302, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.4918, allocations: 84.85 MB / 393.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4922, allocations: 100.4 kB / 393.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09298/0.5852, allocations: 27.81 MB / 421.7 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5853, allocations: 0 / 421.7 MB, free: 5.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.235e-05/0.5854, allocations: 31.25 kB / 421.8 MB, free: 5.957 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.004/0.5894, allocations: 1.632 MB / 423.4 MB, free: 4.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5894, allocations: 7.531 kB / 423.4 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.5897, allocations: 163 kB / 423.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004927/0.5947, allocations: 1.639 MB / 425.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.5948, allocations: 108.3 kB / 425.3 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.5951, allocations: 127.3 kB / 425.4 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.5987, allocations: 1.702 MB / 427.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.5988, allocations: 0 / 427.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.5989, allocations: 56.72 kB / 427.2 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.599, allocations: 53.58 kB / 427.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/0.6024, allocations: 1.401 MB / 428.7 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009727/0.6121, allocations: 4.865 MB / 433.5 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.6142, allocations: 0.9668 MB / 434.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.6143, allocations: 8.406 kB / 434.5 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.6157, allocations: 0.6351 MB / 435.1 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 3.447e-06/0.6157, allocations: 3.938 kB / 435.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.005217/0.6209, allocations: 1.728 MB / 436.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.621, allocations: 122.7 kB / 437 MB, free: 15.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.6226, allocations: 0.8363 MB / 437.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.6228, allocations: 56.88 kB / 437.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.6234, allocations: 0.5903 MB / 438.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.6237, allocations: 232.9 kB / 438.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.6238, allocations: 18.25 kB / 438.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.624, allocations: 351.3 kB / 439.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.6253, allocations: 447.1 kB / 439.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.6268, allocations: 0.6611 MB / 440.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6281, allocations: 474.7 kB / 440.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.6281, allocations: 4 kB / 440.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003148/0.6313, allocations: 1.232 MB / 441.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.6315, allocations: 276.4 kB / 442.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.6315, allocations: 15.98 kB / 442.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/0.6324, allocations: 220.7 kB / 442.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.6334, allocations: 139.7 kB / 442.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/0.6385, allocations: 2.861 MB / 445.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6398, allocations: 131.4 kB / 445.5 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.6399, allocations: 36 kB / 445.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.6399, allocations: 4 kB / 445.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002927/0.6429, allocations: 1.157 MB / 446.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6429, allocations: 4 kB / 446.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007181/0.6436, allocations: 224.7 kB / 446.9 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.6444, allocations: 139.6 kB / 447 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.6495, allocations: 2.893 MB / 449.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/0.6504, allocations: 123.4 kB / 450 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.6505, allocations: 36 kB / 450.1 MB, free: 2.621 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 (102): * Single equations (assignments): 101 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.6519, allocations: 0.6101 MB / 450.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.6522, allocations: 90.92 kB / 450.8 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.6525, allocations: 109 kB / 450.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.6526, allocations: 8 kB / 450.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6526, allocations: 3.984 kB / 450.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6526, allocations: 7.984 kB / 450.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/0.6588, allocations: 2.508 MB / 453.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6589, allocations: 0 / 453.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.6596, allocations: 79.89 kB / 453.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.6603, allocations: 208.7 kB / 453.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.6604, allocations: 24 kB / 453.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.6653, allocations: 2.734 MB / 456.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6653, allocations: 0 / 456.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/0.6698, allocations: 1.76 MB / 458.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.6704, allocations: 264 kB / 458.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.6706, allocations: 27.94 kB / 458.5 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.6716, allocations: 95.91 kB / 458.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.672, allocations: 136.4 kB / 458.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.6721, allocations: 31.98 kB / 458.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.6733, allocations: 0.5732 MB / 459.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.384e-06/0.6733, allocations: 0 / 459.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002013/0.6754, allocations: 0.5759 MB / 459.9 MB, free: 8.547 MB / 346.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: 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 (68): * Single equations (assignments): 58 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.6757, allocations: 156.3 kB / 460.1 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004973/0.6807, allocations: 2 MB / 462.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.6807, allocations: 448 / 462.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.6825, allocations: 0.7519 MB / 462.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.6838, allocations: 200.5 kB / 463 MB, free: 5.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.6911, allocations: 3.061 MB / 466.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.6926, allocations: 1.363 MB / 467.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.693, allocations: 63.42 kB / 467.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.693, allocations: 0 / 467.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of Templates: time 0.04165/0.7347, allocations: 21.36 MB / 488.9 MB, free: 11.49 MB / 378.7 MB