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_RL.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_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.4493, allocations: 86.43 MB / 395 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/0.4498, allocations: 95.94 kB / 395.1 MB, free: 6.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.437/0.8868, allocations: 35.73 MB / 430.8 MB, free: 85.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8869, allocations: 0 / 430.8 MB, free: 85.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001804/0.8871, allocations: 48.33 kB / 430.9 MB, free: 85.16 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.007214/0.8943, allocations: 2.207 MB / 433.1 MB, free: 84.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.8944, allocations: 7.75 kB / 433.1 MB, free: 84.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008972/0.8953, allocations: 260.1 kB / 433.3 MB, free: 84.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.8959, allocations: 224 kB / 433.6 MB, free: 83.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006987/0.9029, allocations: 1.983 MB / 435.6 MB, free: 83.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.9031, allocations: 132.6 kB / 435.7 MB, free: 83.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004598/0.9036, allocations: 168 kB / 435.8 MB, free: 83.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006069/0.9097, allocations: 2.43 MB / 438.3 MB, free: 82.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.9098, allocations: 0 / 438.3 MB, free: 82.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.9101, allocations: 72.88 kB / 438.3 MB, free: 82.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-05/0.9102, allocations: 71.28 kB / 438.4 MB, free: 82.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006066/0.9162, allocations: 2.096 MB / 440.5 MB, free: 81.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.9326, allocations: 7.264 MB / 447.8 MB, free: 75.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.9372, allocations: 1.674 MB / 449.5 MB, free: 73.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.9373, allocations: 17 kB / 449.5 MB, free: 73.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/0.9395, allocations: 0.8826 MB / 450.3 MB, free: 72.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 6.061e-06/0.9396, allocations: 0 / 450.3 MB, free: 72.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.01073/0.9503, allocations: 2.903 MB / 453.3 MB, free: 69.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.9504, allocations: 131.8 kB / 453.4 MB, free: 69.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.9529, allocations: 1.122 MB / 454.5 MB, free: 68.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.9533, allocations: 65.69 kB / 454.6 MB, free: 68.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.9544, allocations: 0.7725 MB / 455.3 MB, free: 67.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.955, allocations: 334.9 kB / 455.7 MB, free: 67.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.9552, allocations: 24 kB / 455.7 MB, free: 67.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9553, allocations: 345.9 kB / 456 MB, free: 66.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.9571, allocations: 0.6506 MB / 456.7 MB, free: 66.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.959, allocations: 0.8615 MB / 457.5 MB, free: 65.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.9609, allocations: 0.6666 MB / 458.2 MB, free: 64.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.9609, allocations: 0 / 458.2 MB, free: 64.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004825/0.9657, allocations: 1.845 MB / 460.1 MB, free: 62.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004137/0.9662, allocations: 1.929 MB / 462 MB, free: 60.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.9662, allocations: 8 kB / 462 MB, free: 60.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.9678, allocations: 426.5 kB / 462.4 MB, free: 60.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.9692, allocations: 179.7 kB / 462.6 MB, free: 60.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008335/0.9775, allocations: 4.524 MB / 467.1 MB, free: 55.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.9794, allocations: 171.2 kB / 467.3 MB, free: 55.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.9796, allocations: 36 kB / 467.3 MB, free: 55.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.9796, allocations: 4 kB / 467.3 MB, free: 55.2 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004108/0.9837, allocations: 1.691 MB / 469 MB, free: 53.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.9838, allocations: 11.64 kB / 469 MB, free: 53.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.9852, allocations: 421 kB / 469.4 MB, free: 53.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.9866, allocations: 163.8 kB / 469.6 MB, free: 52.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0082/0.9948, allocations: 4.528 MB / 474.1 MB, free: 48.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.9965, allocations: 167.1 kB / 474.3 MB, free: 48.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.9967, allocations: 40 kB / 474.3 MB, free: 48.07 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 (121): * Single equations (assignments): 120 * 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.001601/0.9983, allocations: 0.7885 MB / 475.1 MB, free: 47.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.9987, allocations: 130.4 kB / 475.2 MB, free: 47.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.9992, allocations: 172.7 kB / 475.4 MB, free: 46.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9992, allocations: 12 kB / 475.4 MB, free: 46.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.9993, allocations: 0 / 475.4 MB, free: 46.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.9993, allocations: 7.641 kB / 475.4 MB, free: 46.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008437/1.008, allocations: 3.608 MB / 479 MB, free: 43.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.008, allocations: 4 kB / 479 MB, free: 43.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/1.009, allocations: 107.8 kB / 479.1 MB, free: 43.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/1.01, allocations: 413 kB / 479.5 MB, free: 42.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.01, allocations: 31.94 kB / 479.6 MB, free: 42.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008425/1.019, allocations: 4.489 MB / 484.1 MB, free: 38.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/1.019, allocations: 0 / 484.1 MB, free: 38.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.03, allocations: 2.634 MB / 486.7 MB, free: 35.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.032, allocations: 367.3 kB / 487.1 MB, free: 35.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005715/1.032, allocations: 31.98 kB / 487.1 MB, free: 35.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.034, allocations: 111.9 kB / 487.2 MB, free: 34.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/1.036, allocations: 224.6 kB / 487.4 MB, free: 34.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.036, allocations: 31.98 kB / 487.4 MB, free: 34.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002927/1.039, allocations: 0.8592 MB / 488.3 MB, free: 33.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.633e-06/1.039, allocations: 0 / 488.3 MB, free: 33.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004793/1.044, allocations: 0.8446 MB / 489.1 MB, free: 33.02 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[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 (87): * Single equations (assignments): 77 * 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.01116/1.055, allocations: 3.257 MB / 492.4 MB, free: 29.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01154/1.067, allocations: 2.916 MB / 495.3 MB, free: 26.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.067, allocations: 1.25 kB / 495.3 MB, free: 26.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00447/1.071, allocations: 1.062 MB / 496.4 MB, free: 25.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.075, allocations: 291.1 kB / 496.7 MB, free: 25.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.094, allocations: 8.536 MB / 0.4934 GB, free: 16.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/1.097, allocations: 1.744 MB / 0.4951 GB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003012/1.1, allocations: 422 kB / 0.4955 GB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/1.102, allocations: 0.6321 MB / 0.4961 GB, free: 13.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/1.102, allocations: 0 / 0.4961 GB, free: 13.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.219, allocations: 38.23 MB / 0.5334 GB, free: 7.621 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005584/1.22, allocations: 267.3 kB / 0.5337 GB, free: 7.266 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.055/5.275, allocations: 0 / 0.5337 GB, free: 7.266 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_RL_res.mat does not exist to compare? outputFormat=mat