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_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005055, allocations: 12 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1362, allocations: 44.51 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5872, allocations: 87.44 MB / 396 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5876, allocations: 96.39 kB / 396.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1275/0.7151, allocations: 36.05 MB / 432.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7151, allocations: 3.938 kB / 432.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001972/0.7153, allocations: 54.09 kB / 432.2 MB, free: 1.582 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.007324/0.7227, allocations: 2.155 MB / 434.3 MB, free: 152 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7227, allocations: 8.031 kB / 434.4 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001101/0.7239, allocations: 265.7 kB / 434.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/0.7246, allocations: 229.3 kB / 434.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00824/0.7329, allocations: 2.069 MB / 436.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.7331, allocations: 144.8 kB / 437 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006782/0.7338, allocations: 169.8 kB / 437.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007544/0.7414, allocations: 2.419 MB / 439.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/0.7415, allocations: 4 kB / 439.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.7418, allocations: 82.88 kB / 439.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.742, allocations: 70.72 kB / 439.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006743/0.7487, allocations: 2.005 MB / 441.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.7678, allocations: 6.838 MB / 448.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004963/0.7728, allocations: 1.723 MB / 450.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.773, allocations: 16.98 kB / 450.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002278/0.7753, allocations: 0.9009 MB / 451.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 6.182e-06/0.7753, allocations: 0 / 451.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01459/0.7899, allocations: 3.402 MB / 454.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.7901, allocations: 153.5 kB / 454.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.7927, allocations: 1.058 MB / 455.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003659/0.7931, allocations: 81.67 kB / 456 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009487/0.7941, allocations: 0.7504 MB / 456.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/0.7947, allocations: 362.3 kB / 457.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.7948, allocations: 28 kB / 457.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.7951, allocations: 370.9 kB / 457.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.797, allocations: 0.6832 MB / 458.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.7993, allocations: 0.9525 MB / 459.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.8013, allocations: 0.7246 MB / 459.8 MB, free: 9.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.8013, allocations: 4 kB / 459.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005419/0.8067, allocations: 1.939 MB / 461.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.808, allocations: 2.454 MB / 464.2 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.808, allocations: 8 kB / 464.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.8101, allocations: 497.8 kB / 464.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.8115, allocations: 175.7 kB / 464.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.8239, allocations: 5.377 MB / 470.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.8258, allocations: 194.8 kB / 470.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.826, allocations: 52 kB / 470.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.826, allocations: 8.562 kB / 470.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004953/0.831, allocations: 1.847 MB / 472.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.831, allocations: 8 kB / 472.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.8328, allocations: 492.6 kB / 472.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.834, allocations: 175.7 kB / 473 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.8459, allocations: 5.435 MB / 478.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.8473, allocations: 159.2 kB / 478.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.8475, allocations: 55.98 kB / 478.7 MB, free: 6.16 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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.001998/0.8495, allocations: 0.7823 MB / 479.4 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.85, allocations: 134.4 kB / 479.6 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.8505, allocations: 164.5 kB / 479.7 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.8505, allocations: 16 kB / 479.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.8506, allocations: 3.953 kB / 479.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.8506, allocations: 7.969 kB / 479.8 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009493/0.8601, allocations: 3.601 MB / 483.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.8602, allocations: 3.938 kB / 483.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/0.8611, allocations: 103.8 kB / 483.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.8629, allocations: 472.6 kB / 483.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.863, allocations: 27.98 kB / 484 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.8749, allocations: 5.355 MB / 489.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.875, allocations: 0 / 489.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00686/0.8818, allocations: 2.655 MB / 492 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.883, allocations: 367.2 kB / 492.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/0.8833, allocations: 43.97 kB / 492.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8846, allocations: 111.9 kB / 492.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007918/0.8854, allocations: 228.6 kB / 492.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.8855, allocations: 31.94 kB / 492.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001971/0.8875, allocations: 0.8073 MB / 493.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.8876, allocations: 4 kB / 493.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003334/0.8909, allocations: 0.8489 MB / 494.4 MB, free: 6.184 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: 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_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.007481/0.8984, allocations: 3.314 MB / 497.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008299/0.9067, allocations: 3.112 MB / 0.4891 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.9068, allocations: 0.5625 kB / 0.4891 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.9097, allocations: 1.09 MB / 0.4901 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.912, allocations: 309 kB / 0.4904 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.9265, allocations: 9.348 MB / 0.4996 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.9287, allocations: 1.691 MB / 0.5012 GB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.9303, allocations: 0.6203 MB / 0.5018 GB, free: 2.375 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.9303, allocations: 0 / 0.5018 GB, free: 2.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.718/4.649, allocations: 39.54 MB / 0.5404 GB, free: 115.6 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_RLV_res.mat does not exist to compare? outputFormat=mat