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.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_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003624, allocations: 11.94 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1001, allocations: 44.5 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5387, allocations: 86.69 MB / 395.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.5391, allocations: 93.33 kB / 395.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1335/0.6726, allocations: 36.01 MB / 431.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6727, allocations: 0 / 431.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.6729, allocations: 46.84 kB / 431.4 MB, free: 1.859 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.00755/0.6805, allocations: 2.22 MB / 433.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6805, allocations: 7.75 kB / 433.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.6816, allocations: 264.5 kB / 433.9 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6827, allocations: 222.6 kB / 434.1 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.6945, allocations: 1.994 MB / 436.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.6948, allocations: 136.5 kB / 436.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008972/0.6958, allocations: 175.9 kB / 436.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.7075, allocations: 2.429 MB / 438.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-05/0.7076, allocations: 11.92 kB / 438.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.7081, allocations: 72.94 kB / 438.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.7083, allocations: 71.44 kB / 439 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.7198, allocations: 2.106 MB / 441.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.7524, allocations: 7.307 MB / 448.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008443/0.7609, allocations: 1.689 MB / 450.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.7612, allocations: 13 kB / 450.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003943/0.7651, allocations: 0.8753 MB / 451 MB, free: 2.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 8.506e-06/0.7652, allocations: 4 kB / 451 MB, free: 2.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.01905/0.7843, allocations: 2.927 MB / 453.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.7845, allocations: 131.5 kB / 454 MB, free: 15.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.7887, allocations: 1.139 MB / 455.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.7892, allocations: 61.69 kB / 455.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.7905, allocations: 0.7505 MB / 456 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008204/0.7914, allocations: 350.9 kB / 456.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.7916, allocations: 24 kB / 456.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.7919, allocations: 354.7 kB / 456.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/0.7951, allocations: 0.6506 MB / 457.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.7986, allocations: 0.8615 MB / 458.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.8018, allocations: 0.6668 MB / 458.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.8019, allocations: 4 kB / 458.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00797/0.8099, allocations: 1.779 MB / 460.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.8111, allocations: 1.912 MB / 462.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.8112, allocations: 7.953 kB / 462.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.814, allocations: 435.1 kB / 463 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.8162, allocations: 179.7 kB / 463.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.8318, allocations: 4.514 MB / 467.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.8347, allocations: 179.1 kB / 467.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.835, allocations: 43.95 kB / 467.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.835, allocations: 4 kB / 467.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00769/0.8428, allocations: 1.691 MB / 469.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.8428, allocations: 4 kB / 469.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.8453, allocations: 429.2 kB / 470 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.8473, allocations: 171.7 kB / 470.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.8639, allocations: 4.578 MB / 474.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.8661, allocations: 159.1 kB / 474.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.8664, allocations: 43.98 kB / 475 MB, free: 9.66 MB / 362.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.003027/0.8694, allocations: 0.7896 MB / 475.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.8701, allocations: 134.4 kB / 475.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008607/0.871, allocations: 165 kB / 476 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.8711, allocations: 11.98 kB / 476.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.8711, allocations: 7.953 kB / 476.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.8712, allocations: 3.984 kB / 476.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.8872, allocations: 3.625 MB / 479.7 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.8873, allocations: 4 kB / 479.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.8891, allocations: 115.8 kB / 479.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.8916, allocations: 409 kB / 480.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.8918, allocations: 27.92 kB / 480.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0394/0.9313, allocations: 4.494 MB / 484.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.9313, allocations: 0 / 484.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.9437, allocations: 2.642 MB / 487.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.9456, allocations: 367.3 kB / 487.7 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/0.9464, allocations: 31.98 kB / 487.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/0.949, allocations: 111.8 kB / 487.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001518/0.9506, allocations: 228.6 kB / 488.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/0.9509, allocations: 27.98 kB / 488.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003724/0.9547, allocations: 0.8751 MB / 489 MB, free: 11.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.463e-06/0.9548, allocations: 0 / 489 MB, free: 11.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006014/0.9608, allocations: 0.8369 MB / 489.8 MB, free: 10.55 MB / 378.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.01382/0.9747, allocations: 3.273 MB / 493.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01372/0.9884, allocations: 2.92 MB / 496 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/0.9885, allocations: 0.6562 kB / 496 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004834/0.9934, allocations: 1.054 MB / 497.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/0.9971, allocations: 297.1 kB / 497.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.02, allocations: 8.548 MB / 0.4941 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00411/1.024, allocations: 1.716 MB / 0.4957 GB, free: 8.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/1.027, allocations: 0.6522 MB / 0.4964 GB, free: 7.777 MB / 394.7 MB Notification: Performance of SimCode: time 1.953e-06/1.027, allocations: 0 / 0.4964 GB, free: 7.777 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.599/4.626, allocations: 39.88 MB / 0.5353 GB, free: 122 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat