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_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_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 211.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005585/0.0005586, allocations: 12 kB / 264.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3897, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.5929, allocations: 86.9 MB / 395.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/0.5933, allocations: 87.95 kB / 395.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3945/0.9878, allocations: 36.13 MB / 431.7 MB, free: 85.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.9879, allocations: 0 / 431.7 MB, free: 85.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001925/0.9881, allocations: 52.2 kB / 431.7 MB, free: 85.43 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007785/0.9959, allocations: 2.244 MB / 434 MB, free: 84.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.9959, allocations: 11.03 kB / 434 MB, free: 84.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009875/0.9969, allocations: 263 kB / 434.3 MB, free: 84.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.9976, allocations: 229.8 kB / 434.5 MB, free: 84.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/1.005, allocations: 1.983 MB / 436.5 MB, free: 83.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/1.005, allocations: 137.6 kB / 436.6 MB, free: 83.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/1.005, allocations: 176.3 kB / 436.8 MB, free: 83.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006538/1.012, allocations: 2.462 MB / 439.2 MB, free: 82.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.747e-05/1.012, allocations: 7.938 kB / 439.2 MB, free: 82.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/1.012, allocations: 75.16 kB / 439.3 MB, free: 82.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/1.012, allocations: 74.67 kB / 439.4 MB, free: 82.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006423/1.019, allocations: 2.137 MB / 441.5 MB, free: 81.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/1.036, allocations: 7.215 MB / 448.7 MB, free: 74.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/1.04, allocations: 1.661 MB / 450.4 MB, free: 72.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/1.04, allocations: 16.91 kB / 450.4 MB, free: 72.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/1.043, allocations: 0.9221 MB / 451.3 MB, free: 71.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=117): time 4.339e-06/1.043, allocations: 0 / 451.3 MB, free: 71.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=117): time 0.01163/1.054, allocations: 3.047 MB / 454.4 MB, free: 68.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/1.054, allocations: 127.8 kB / 454.5 MB, free: 68.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.057, allocations: 1.103 MB / 455.6 MB, free: 67.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003545/1.057, allocations: 69.67 kB / 455.7 MB, free: 67.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/1.058, allocations: 0.773 MB / 456.5 MB, free: 66.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/1.059, allocations: 354.7 kB / 456.8 MB, free: 66.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.059, allocations: 24 kB / 456.8 MB, free: 66.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/1.059, allocations: 349.9 kB / 457.2 MB, free: 65.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.061, allocations: 0.674 MB / 457.8 MB, free: 65.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.063, allocations: 0.8849 MB / 458.7 MB, free: 64.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/1.065, allocations: 0.6744 MB / 459.4 MB, free: 63.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.065, allocations: 4 kB / 459.4 MB, free: 63.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005085/1.07, allocations: 1.903 MB / 461.3 MB, free: 61.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/1.07, allocations: 1.935 MB / 463.2 MB, free: 59.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.07, allocations: 4 kB / 463.2 MB, free: 59.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/1.072, allocations: 434.8 kB / 463.7 MB, free: 59.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.073, allocations: 187.6 kB / 463.9 MB, free: 58.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008297/1.082, allocations: 4.517 MB / 468.4 MB, free: 54.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.083, allocations: 175.2 kB / 468.5 MB, free: 54.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.084, allocations: 36 kB / 468.6 MB, free: 54.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.084, allocations: 10.81 kB / 468.6 MB, free: 54.12 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004396/1.088, allocations: 1.73 MB / 470.3 MB, free: 52.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.088, allocations: 4 kB / 470.3 MB, free: 52.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/1.09, allocations: 433.2 kB / 470.7 MB, free: 51.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.091, allocations: 179.7 kB / 470.9 MB, free: 51.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008299/1.099, allocations: 4.523 MB / 475.4 MB, free: 47.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.101, allocations: 167.2 kB / 475.6 MB, free: 46.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.101, allocations: 40 kB / 475.6 MB, free: 46.93 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 (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.001738/1.103, allocations: 0.7896 MB / 476.4 MB, free: 46.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/1.103, allocations: 130.4 kB / 476.6 MB, free: 46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/1.104, allocations: 176.9 kB / 476.7 MB, free: 45.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.104, allocations: 15.95 kB / 476.8 MB, free: 45.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.104, allocations: 0 / 476.8 MB, free: 45.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.104, allocations: 3.984 kB / 476.8 MB, free: 45.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009351/1.113, allocations: 3.721 MB / 480.5 MB, free: 42.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.114, allocations: 4 kB / 480.5 MB, free: 42.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.115, allocations: 131.8 kB / 480.6 MB, free: 41.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/1.116, allocations: 405 kB / 481 MB, free: 41.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/1.116, allocations: 27.98 kB / 481 MB, free: 41.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/1.124, allocations: 4.496 MB / 485.5 MB, free: 36.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.124, allocations: 0 / 485.5 MB, free: 36.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/1.131, allocations: 2.77 MB / 488.3 MB, free: 34.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.132, allocations: 367.2 kB / 488.7 MB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/1.133, allocations: 35.98 kB / 488.7 MB, free: 33.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.134, allocations: 123.9 kB / 488.8 MB, free: 33.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007219/1.135, allocations: 220.7 kB / 489 MB, free: 33.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.135, allocations: 31.98 kB / 489.1 MB, free: 33.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001619/1.136, allocations: 0.8476 MB / 489.9 MB, free: 32.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.137, allocations: 3.938 kB / 489.9 MB, free: 32.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002774/1.139, allocations: 0.8408 MB / 490.8 MB, free: 31.6 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 (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.007372/1.147, allocations: 3.41 MB / 494.2 MB, free: 28.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007908/1.155, allocations: 3.006 MB / 497.2 MB, free: 25.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.155, allocations: 1.25 kB / 497.2 MB, free: 25.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.158, allocations: 1.097 MB / 498.3 MB, free: 24.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.16, allocations: 287.2 kB / 498.5 MB, free: 23.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.174, allocations: 8.637 MB / 0.4953 GB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/1.176, allocations: 1.755 MB / 0.497 GB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002072/1.178, allocations: 418 kB / 0.4974 GB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/1.179, allocations: 0.6399 MB / 0.498 GB, free: 12.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.843e-06/1.18, allocations: 4 kB / 0.498 GB, free: 12.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/1.288, allocations: 38.68 MB / 0.5358 GB, free: 5.312 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003831/1.288, allocations: 286.3 kB / 0.5361 GB, free: 4.957 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.222/5.511, allocations: 0 / 0.5361 GB, free: 4.957 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_Characteristic_res.mat does not exist to compare? outputFormat=mat