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_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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2988, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.4519, allocations: 86.13 MB / 394.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.4523, allocations: 95.94 kB / 394.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4104/0.8627, allocations: 35.38 MB / 430.2 MB, free: 85.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8628, allocations: 0 / 430.2 MB, free: 85.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001824/0.863, allocations: 51.47 kB / 430.2 MB, free: 85.33 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.007531/0.8705, allocations: 2.183 MB / 432.4 MB, free: 84.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.8706, allocations: 13.38 kB / 432.4 MB, free: 84.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009473/0.8715, allocations: 256.4 kB / 432.7 MB, free: 84.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.8722, allocations: 222.3 kB / 432.9 MB, free: 84.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/0.8789, allocations: 1.976 MB / 434.9 MB, free: 83.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.8791, allocations: 135.7 kB / 435 MB, free: 83.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/0.8796, allocations: 170.1 kB / 435.2 MB, free: 83.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00639/0.886, allocations: 2.399 MB / 437.6 MB, free: 82.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/0.8862, allocations: 3.953 kB / 437.6 MB, free: 82.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.8864, allocations: 74.83 kB / 437.7 MB, free: 82.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.8865, allocations: 76.38 kB / 437.7 MB, free: 82.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006055/0.8926, allocations: 2.075 MB / 439.8 MB, free: 81.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.9141, allocations: 7.186 MB / 447 MB, free: 76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006222/0.9204, allocations: 1.653 MB / 448.6 MB, free: 74.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.9206, allocations: 17 kB / 448.7 MB, free: 74.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003016/0.9236, allocations: 0.8713 MB / 449.5 MB, free: 73.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 6.182e-06/0.9237, allocations: 0 / 449.5 MB, free: 73.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=111): time 0.0151/0.9388, allocations: 2.93 MB / 452.5 MB, free: 70.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.939, allocations: 123.8 kB / 452.6 MB, free: 70.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.9423, allocations: 1.122 MB / 453.7 MB, free: 69.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003789/0.9427, allocations: 65.69 kB / 453.8 MB, free: 69.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.9439, allocations: 0.7534 MB / 454.5 MB, free: 68.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006481/0.9445, allocations: 335.1 kB / 454.8 MB, free: 68.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.9447, allocations: 20 kB / 454.9 MB, free: 68.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9449, allocations: 361.9 kB / 455.2 MB, free: 67.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.9473, allocations: 0.6428 MB / 455.9 MB, free: 67.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.95, allocations: 0.8498 MB / 456.7 MB, free: 66.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.9526, allocations: 0.6549 MB / 457.4 MB, free: 65.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.9527, allocations: 4 kB / 457.4 MB, free: 65.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006814/0.9595, allocations: 1.829 MB / 459.2 MB, free: 63.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005271/0.9601, allocations: 1.932 MB / 461.1 MB, free: 61.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.9601, allocations: 7.984 kB / 461.1 MB, free: 61.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.9622, allocations: 446.6 kB / 461.6 MB, free: 61.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.964, allocations: 175.7 kB / 461.7 MB, free: 60.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.9755, allocations: 4.497 MB / 466.2 MB, free: 56.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.9777, allocations: 175.2 kB / 466.4 MB, free: 56.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.9779, allocations: 43.94 kB / 466.5 MB, free: 56.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9779, allocations: 4 kB / 466.5 MB, free: 56.07 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004191/0.9822, allocations: 1.668 MB / 468.1 MB, free: 54.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.9822, allocations: 8 kB / 468.1 MB, free: 54.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.9836, allocations: 437 kB / 468.6 MB, free: 53.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.9849, allocations: 163.7 kB / 468.7 MB, free: 53.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007981/0.9929, allocations: 4.488 MB / 473.2 MB, free: 49.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.9946, allocations: 163.2 kB / 473.4 MB, free: 49.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.9948, allocations: 36 kB / 473.4 MB, free: 48.99 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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001564/0.9964, allocations: 0.7855 MB / 474.2 MB, free: 48.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.9968, allocations: 130.4 kB / 474.3 MB, free: 48.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.9973, allocations: 168.6 kB / 474.5 MB, free: 47.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.9973, allocations: 12 kB / 474.5 MB, free: 47.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9973, allocations: 0 / 474.5 MB, free: 47.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.9974, allocations: 7.969 kB / 474.5 MB, free: 47.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008412/1.006, allocations: 3.587 MB / 478.1 MB, free: 44.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.006, allocations: 8 kB / 478.1 MB, free: 44.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009787/1.007, allocations: 107.8 kB / 478.2 MB, free: 44.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/1.008, allocations: 412.6 kB / 478.6 MB, free: 43.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.008, allocations: 23.98 kB / 478.6 MB, free: 43.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00786/1.016, allocations: 4.343 MB / 483 MB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.016, allocations: 0 / 483 MB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006127/1.023, allocations: 2.618 MB / 485.6 MB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.024, allocations: 363.3 kB / 485.9 MB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/1.024, allocations: 31.98 kB / 486 MB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.025, allocations: 107.9 kB / 486.1 MB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007323/1.026, allocations: 228.6 kB / 486.3 MB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.026, allocations: 35.98 kB / 486.3 MB, free: 35.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001717/1.028, allocations: 0.859 MB / 487.2 MB, free: 34.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.028, allocations: 3.938 kB / 487.2 MB, free: 34.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002806/1.031, allocations: 0.8291 MB / 488 MB, free: 34.14 MB / 346.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: 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[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006499/1.037, allocations: 3.243 MB / 491.3 MB, free: 30.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007303/1.045, allocations: 2.923 MB / 494.2 MB, free: 27.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.045, allocations: 0 / 494.2 MB, free: 27.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002682/1.047, allocations: 1.059 MB / 495.3 MB, free: 26.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.05, allocations: 278.6 kB / 495.5 MB, free: 26.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.065, allocations: 8.819 MB / 0.4925 GB, free: 17.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/1.067, allocations: 1.74 MB / 0.4942 GB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001961/1.069, allocations: 413.9 kB / 0.4946 GB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.07, allocations: 0.6243 MB / 0.4952 GB, free: 14.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/1.07, allocations: 7.875 kB / 0.4952 GB, free: 14.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.177, allocations: 38.21 MB / 0.5326 GB, free: 8.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.177, allocations: 270 kB / 0.5328 GB, free: 8.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.187/5.364, allocations: 8 kB / 0.5328 GB, free: 8.152 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_R_res.mat does not exist to compare? outputFormat=mat