Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 211.1 MB, free: 8.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 264.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3237, allocations: 44.51 MB / 308.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.4784, allocations: 86.68 MB / 395.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003842/0.4788, allocations: 87.95 kB / 395.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.48/0.9588, allocations: 36 MB / 431.4 MB, free: 85.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.9589, allocations: 0 / 431.4 MB, free: 85.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001823/0.9591, allocations: 51.56 kB / 431.4 MB, free: 85.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.009967/0.969, allocations: 2.216 MB / 433.6 MB, free: 84.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/0.9691, allocations: 9.781 kB / 433.6 MB, free: 84.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001466/0.9706, allocations: 264.6 kB / 433.9 MB, free: 84.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.9723, allocations: 234.6 kB / 434.1 MB, free: 84.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.9832, allocations: 1.996 MB / 436.1 MB, free: 83.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.9836, allocations: 135.4 kB / 436.2 MB, free: 83.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.9848, allocations: 174.9 kB / 436.4 MB, free: 83.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.9982, allocations: 2.444 MB / 438.9 MB, free: 82.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.9984, allocations: 3.75 kB / 438.9 MB, free: 82.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007681/0.9992, allocations: 70.38 kB / 438.9 MB, free: 82.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.9994, allocations: 75.23 kB / 439 MB, free: 82.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009178/1.009, allocations: 2.105 MB / 441.1 MB, free: 81.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/1.027, allocations: 7.305 MB / 448.4 MB, free: 74.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/1.032, allocations: 1.678 MB / 450.1 MB, free: 72.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.032, allocations: 24.69 kB / 450.1 MB, free: 72.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/1.034, allocations: 0.8829 MB / 451 MB, free: 71.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.22e-06/1.034, allocations: 4 kB / 451 MB, free: 71.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=114): time 0.01119/1.045, allocations: 2.93 MB / 453.9 MB, free: 68.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.045, allocations: 127.8 kB / 454.1 MB, free: 68.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/1.048, allocations: 1.131 MB / 455.2 MB, free: 67.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/1.048, allocations: 69.67 kB / 455.3 MB, free: 67.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008056/1.049, allocations: 0.7725 MB / 456 MB, free: 66.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/1.049, allocations: 346.9 kB / 456.4 MB, free: 66.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.049, allocations: 20 kB / 456.4 MB, free: 66.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/1.05, allocations: 353.9 kB / 456.7 MB, free: 66.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/1.052, allocations: 0.6467 MB / 457.4 MB, free: 65.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/1.054, allocations: 0.8615 MB / 458.2 MB, free: 64.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/1.056, allocations: 0.6705 MB / 458.9 MB, free: 63.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.056, allocations: 4 kB / 458.9 MB, free: 63.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004833/1.061, allocations: 1.845 MB / 460.8 MB, free: 61.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003998/1.061, allocations: 1.935 MB / 462.7 MB, free: 59.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.061, allocations: 4 kB / 462.7 MB, free: 59.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.063, allocations: 435 kB / 463.1 MB, free: 59.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.064, allocations: 175.7 kB / 463.3 MB, free: 59.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/1.072, allocations: 4.525 MB / 467.8 MB, free: 54.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.074, allocations: 175.2 kB / 468 MB, free: 54.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/1.075, allocations: 47.73 kB / 468 MB, free: 54.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.075, allocations: 8 kB / 468 MB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004255/1.079, allocations: 1.688 MB / 469.7 MB, free: 52.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.079, allocations: 4 kB / 469.7 MB, free: 52.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/1.08, allocations: 437.1 kB / 470.2 MB, free: 52.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.082, allocations: 167.7 kB / 470.3 MB, free: 52.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00848/1.09, allocations: 4.523 MB / 474.9 MB, free: 47.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.092, allocations: 159.2 kB / 475 MB, free: 47.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.092, allocations: 40 kB / 475 MB, free: 47.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.001725/1.094, allocations: 0.7854 MB / 475.8 MB, free: 46.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/1.095, allocations: 130.4 kB / 476 MB, free: 46.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/1.095, allocations: 172.9 kB / 476.1 MB, free: 46.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.095, allocations: 12 kB / 476.1 MB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.095, allocations: 0 / 476.1 MB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/1.095, allocations: 7.969 kB / 476.1 MB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009299/1.105, allocations: 3.635 MB / 479.8 MB, free: 42.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.105, allocations: 0 / 479.8 MB, free: 42.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.106, allocations: 123.8 kB / 479.9 MB, free: 42.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/1.107, allocations: 405 kB / 480.3 MB, free: 41.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/1.107, allocations: 19.98 kB / 480.3 MB, free: 41.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008414/1.116, allocations: 4.492 MB / 484.8 MB, free: 37.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.116, allocations: 0 / 484.8 MB, free: 37.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/1.122, allocations: 2.638 MB / 487.4 MB, free: 34.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.123, allocations: 379.2 kB / 487.8 MB, free: 34.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/1.124, allocations: 31.98 kB / 487.9 MB, free: 34.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.125, allocations: 108 kB / 488 MB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007293/1.126, allocations: 228.6 kB / 488.2 MB, free: 33.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.126, allocations: 39.94 kB / 488.2 MB, free: 33.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001861/1.128, allocations: 0.8712 MB / 489.1 MB, free: 33 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.128, allocations: 3.938 kB / 489.1 MB, free: 33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002893/1.131, allocations: 0.8485 MB / 489.9 MB, free: 32.14 MB / 346.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007873/1.138, allocations: 3.264 MB / 493.2 MB, free: 28.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009688/1.148, allocations: 2.926 MB / 496.1 MB, free: 25.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.148, allocations: 0 / 496.1 MB, free: 25.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.152, allocations: 1.054 MB / 497.2 MB, free: 24.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.155, allocations: 291 kB / 497.5 MB, free: 24.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.171, allocations: 8.596 MB / 0.4942 GB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/1.173, allocations: 1.751 MB / 0.4959 GB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002679/1.176, allocations: 418 kB / 0.4963 GB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.178, allocations: 0.6399 MB / 0.4969 GB, free: 12.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.714e-06/1.178, allocations: 0 / 0.4969 GB, free: 12.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/1.326, allocations: 38.44 MB / 0.5345 GB, free: 6.441 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003868/1.326, allocations: 272.2 kB / 0.5347 GB, free: 6.082 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.408/5.734, allocations: 0 / 0.5347 GB, free: 6.082 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat