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_Characteristic.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_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003366, allocations: 11.94 kB / 264.1 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09255, allocations: 44.51 MB / 308.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5378, allocations: 86.89 MB / 395.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.5381, allocations: 91.17 kB / 395.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.6707, allocations: 36.13 MB / 431.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6708, allocations: 4 kB / 431.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000172/0.671, allocations: 50.91 kB / 431.7 MB, free: 2.035 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007376/0.6784, allocations: 2.242 MB / 434 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.6784, allocations: 10.84 kB / 434 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.6798, allocations: 266.9 kB / 434.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.6811, allocations: 225.3 kB / 434.5 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007798/0.6889, allocations: 1.985 MB / 436.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.6892, allocations: 140 kB / 436.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006835/0.6899, allocations: 173.9 kB / 436.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007612/0.6975, allocations: 2.462 MB / 439.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.6976, allocations: 11.64 kB / 439.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/0.6979, allocations: 72.36 kB / 439.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.6981, allocations: 75.27 kB / 439.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007193/0.7053, allocations: 2.136 MB / 441.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.7264, allocations: 7.203 MB / 448.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.7315, allocations: 1.661 MB / 450.4 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.7317, allocations: 16.52 kB / 450.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002791/0.7345, allocations: 0.9299 MB / 451.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 6.092e-06/0.7345, allocations: 0 / 451.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.01289/0.7474, allocations: 3.048 MB / 454.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7476, allocations: 127.8 kB / 454.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.7503, allocations: 1.107 MB / 455.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.7507, allocations: 61.69 kB / 455.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009655/0.7517, allocations: 0.7473 MB / 456.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006392/0.7523, allocations: 360.9 kB / 456.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.7524, allocations: 20 kB / 456.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7526, allocations: 358.8 kB / 457.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.7548, allocations: 0.674 MB / 457.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.7572, allocations: 0.881 MB / 458.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.7595, allocations: 0.6863 MB / 459.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.7596, allocations: 4 kB / 459.4 MB, free: 9.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005523/0.7651, allocations: 1.81 MB / 461.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008275/0.766, allocations: 1.916 MB / 463.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.766, allocations: 7.953 kB / 463.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.7678, allocations: 439.1 kB / 463.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.7694, allocations: 183.7 kB / 463.7 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009961/0.7794, allocations: 4.514 MB / 468.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.7813, allocations: 175.2 kB / 468.4 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.7816, allocations: 47.95 kB / 468.4 MB, free: 444 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7816, allocations: 7.938 kB / 468.4 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005456/0.7871, allocations: 1.718 MB / 470.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.7871, allocations: 8.094 kB / 470.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.7886, allocations: 437.1 kB / 470.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.7902, allocations: 175.7 kB / 470.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00991/0.8001, allocations: 4.582 MB / 475.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.8016, allocations: 163.2 kB / 475.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.8018, allocations: 40 kB / 475.6 MB, free: 9.191 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 (123): * Single equations (assignments): 122 * 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.0021/0.8039, allocations: 0.7896 MB / 476.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/0.8044, allocations: 130.4 kB / 476.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005996/0.805, allocations: 176.9 kB / 476.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.805, allocations: 8 kB / 476.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.805, allocations: 7.953 kB / 476.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.8051, allocations: 7.969 kB / 476.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.8163, allocations: 3.716 MB / 480.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.8164, allocations: 7.891 kB / 480.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.8177, allocations: 135.8 kB / 480.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.8193, allocations: 409 kB / 480.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/0.8196, allocations: 23.98 kB / 480.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.8299, allocations: 4.495 MB / 485.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.83, allocations: 0 / 485.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/0.8384, allocations: 2.763 MB / 488.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.8397, allocations: 375.2 kB / 488.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.8401, allocations: 28 kB / 488.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.8416, allocations: 115.9 kB / 488.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008862/0.8425, allocations: 232.6 kB / 488.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.8426, allocations: 35.98 kB / 489 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002143/0.8448, allocations: 0.8437 MB / 489.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8448, allocations: 4 kB / 489.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00361/0.8484, allocations: 0.8368 MB / 490.7 MB, free: 9.852 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 (91): * Single equations (assignments): 81 * 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.009252/0.8577, allocations: 3.394 MB / 494.1 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009413/0.8672, allocations: 3.014 MB / 497.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.8673, allocations: 4.719 kB / 497.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003325/0.8706, allocations: 1.085 MB / 498.2 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.873, allocations: 293.4 kB / 498.4 MB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.8888, allocations: 8.601 MB / 0.4952 GB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.8914, allocations: 1.724 MB / 0.4968 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.8932, allocations: 0.6593 MB / 0.4975 GB, free: 6.754 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8932, allocations: 0 / 0.4975 GB, free: 6.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.72/4.613, allocations: 40.05 MB / 0.5366 GB, free: 121.9 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_Characteristic_res.mat does not exist to compare? outputFormat=mat