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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 264.1 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 44.5 MB / 308.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/0.5249, allocations: 86.88 MB / 395.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.5253, allocations: 94.23 kB / 395.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.6505, allocations: 35.44 MB / 431 MB, free: 2.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6505, allocations: 0 / 431 MB, free: 2.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001631/0.6507, allocations: 46.75 kB / 431 MB, free: 2.051 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006368/0.6571, allocations: 2.121 MB / 433.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6571, allocations: 7.906 kB / 433.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008132/0.658, allocations: 257 kB / 433.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.6585, allocations: 214.2 kB / 433.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007515/0.6661, allocations: 2.079 MB / 435.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.6663, allocations: 136.3 kB / 435.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/0.6668, allocations: 169.9 kB / 436 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/0.6732, allocations: 2.379 MB / 438.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/0.6734, allocations: 3.953 kB / 438.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.6736, allocations: 66.75 kB / 438.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.6738, allocations: 74.8 kB / 438.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.6797, allocations: 1.984 MB / 440.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/0.6997, allocations: 6.741 MB / 447.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007243/0.707, allocations: 1.715 MB / 448.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.7072, allocations: 12.75 kB / 449 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003205/0.7104, allocations: 0.8845 MB / 449.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 1.001e-05/0.7104, allocations: 0 / 449.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.02033/0.7308, allocations: 3.432 MB / 453.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.731, allocations: 157.5 kB / 453.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.7347, allocations: 1.057 MB / 454.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000487/0.7352, allocations: 77.67 kB / 454.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.7365, allocations: 0.7239 MB / 455.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000885/0.7374, allocations: 361.6 kB / 455.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.7376, allocations: 28 kB / 455.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002812/0.7379, allocations: 366.7 kB / 456 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.7408, allocations: 0.674 MB / 456.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.7441, allocations: 0.9381 MB / 457.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.7469, allocations: 0.7168 MB / 458.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.747, allocations: 4 kB / 458.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.007571/0.7546, allocations: 1.93 MB / 460.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001487/0.7561, allocations: 2.446 MB / 462.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.7562, allocations: 4 kB / 462.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/0.7591, allocations: 0.5044 MB / 463.2 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.7608, allocations: 163.7 kB / 463.4 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.7784, allocations: 5.538 MB / 468.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.7804, allocations: 187.1 kB / 469.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.7807, allocations: 52 kB / 469.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.7807, allocations: 4 kB / 469.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004977/0.7857, allocations: 1.843 MB / 471 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.7857, allocations: 7.984 kB / 471 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.7875, allocations: 0.4934 MB / 471.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.7888, allocations: 155.7 kB / 471.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.8012, allocations: 5.594 MB / 477.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.8027, allocations: 155.3 kB / 477.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.8028, allocations: 40 kB / 477.5 MB, free: 7.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (131): * Single equations (assignments): 130 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.002029/0.8049, allocations: 0.7979 MB / 478.3 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/0.8053, allocations: 130.4 kB / 478.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.8059, allocations: 160.5 kB / 478.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.806, allocations: 12 kB / 478.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.806, allocations: 0 / 478.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.806, allocations: 3.984 kB / 478.6 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009546/0.8156, allocations: 3.564 MB / 482.1 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.8156, allocations: 3.938 kB / 482.1 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.8164, allocations: 87.83 kB / 482.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.8184, allocations: 488.3 kB / 482.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.8186, allocations: 19.98 kB / 482.7 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.8314, allocations: 5.528 MB / 488.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8314, allocations: 0 / 488.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007059/0.8385, allocations: 2.634 MB / 490.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.8397, allocations: 363.2 kB / 491.2 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/0.8401, allocations: 47.94 kB / 491.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.8413, allocations: 107.9 kB / 491.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00087/0.8422, allocations: 228.6 kB / 491.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.8424, allocations: 36.11 kB / 491.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001962/0.8443, allocations: 0.7991 MB / 492.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8444, allocations: 0 / 492.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003417/0.8478, allocations: 0.8371 MB / 493.3 MB, free: 7.109 MB / 378.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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 75 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.007472/0.8553, allocations: 3.278 MB / 496.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00879/0.8641, allocations: 3.12 MB / 499.7 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.8642, allocations: 0.5625 kB / 499.7 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003017/0.8672, allocations: 1.087 MB / 0.489 GB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.8696, allocations: 314.4 kB / 0.4893 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.8843, allocations: 9.207 MB / 0.4983 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.8864, allocations: 1.68 MB / 0.5 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.8879, allocations: 0.6086 MB / 0.5005 GB, free: 3.508 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.888, allocations: 0 / 0.5005 GB, free: 3.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.803/4.691, allocations: 39 MB / 0.5386 GB, free: 115.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.RectifierBridge2mPulse.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat