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_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 16 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09274, allocations: 44.5 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.4968, allocations: 87.36 MB / 395.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4972, allocations: 90.52 kB / 396 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1868/0.684, allocations: 46.98 MB / 443 MB, free: 9.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.6841, allocations: 0 / 443 MB, free: 9.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.6843, allocations: 51.94 kB / 443 MB, free: 9.594 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 442 * Number of variables: 442 Notification: Performance of Generate backend data structure: time 0.007681/0.692, allocations: 2.13 MB / 445.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.6921, allocations: 8.031 kB / 445.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.6931, allocations: 259.9 kB / 445.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.6942, allocations: 221.4 kB / 445.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008382/0.7026, allocations: 2.072 MB / 447.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.7029, allocations: 144.2 kB / 447.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00072/0.7036, allocations: 170.7 kB / 448 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007742/0.7114, allocations: 2.399 MB / 450.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.7115, allocations: 4 kB / 450.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.7119, allocations: 75.98 kB / 450.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.712, allocations: 71.41 kB / 450.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/0.7191, allocations: 1.992 MB / 452.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.7388, allocations: 6.797 MB / 459.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/0.744, allocations: 1.707 MB / 461.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.7441, allocations: 16.94 kB / 461.1 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002425/0.7466, allocations: 0.8996 MB / 462 MB, free: 7.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 6.672e-06/0.7466, allocations: 3.984 kB / 462 MB, free: 7.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.0147/0.7613, allocations: 3.367 MB / 465.3 MB, free: 4.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.7615, allocations: 157.5 kB / 465.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.7645, allocations: 1.057 MB / 466.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004041/0.7649, allocations: 77.67 kB / 466.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009667/0.7659, allocations: 0.7317 MB / 467.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.7666, allocations: 358.4 kB / 467.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.7668, allocations: 24 kB / 467.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.767, allocations: 366.8 kB / 468.1 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.769, allocations: 0.6831 MB / 468.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.7715, allocations: 0.9486 MB / 469.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.7737, allocations: 0.7285 MB / 470.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.7737, allocations: 0 / 470.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005677/0.7794, allocations: 1.935 MB / 472.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.7807, allocations: 2.446 MB / 474.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.7807, allocations: 8 kB / 474.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.7829, allocations: 498.7 kB / 475.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.7843, allocations: 171.7 kB / 475.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.797, allocations: 5.404 MB / 480.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.799, allocations: 191.1 kB / 481.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.7993, allocations: 48 kB / 481.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7993, allocations: 4 kB / 481.1 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005122/0.8044, allocations: 1.851 MB / 483 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.8045, allocations: 8 kB / 483 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.8062, allocations: 489 kB / 483.5 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.8075, allocations: 167.7 kB / 483.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.8197, allocations: 5.473 MB / 489.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.8211, allocations: 163.2 kB / 489.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.8213, allocations: 51.98 kB / 489.3 MB, free: 11.83 MB / 378.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 (136): * Single equations (assignments): 135 * 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.002075/0.8234, allocations: 0.7862 MB / 490.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.8239, allocations: 130.5 kB / 490.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/0.8245, allocations: 168.5 kB / 490.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.8245, allocations: 12 kB / 490.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8245, allocations: 0 / 490.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.8245, allocations: 7.969 kB / 490.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.8346, allocations: 3.586 MB / 494 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.8346, allocations: 4 kB / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/0.8355, allocations: 95.83 kB / 494.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/0.8375, allocations: 468.7 kB / 494.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/0.8377, allocations: 27.98 kB / 494.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/0.8516, allocations: 5.357 MB / 499.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.8516, allocations: 4 kB / 500 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/0.8586, allocations: 2.634 MB / 0.4908 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.8598, allocations: 367.2 kB / 0.4912 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.8601, allocations: 47.92 kB / 0.4912 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8614, allocations: 107.9 kB / 0.4913 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007943/0.8622, allocations: 228.6 kB / 0.4915 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.8623, allocations: 31.98 kB / 0.4916 GB, free: 13.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001969/0.8643, allocations: 0.8071 MB / 0.4923 GB, free: 12.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8643, allocations: 0 / 0.4923 GB, free: 12.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003284/0.8676, allocations: 0.8489 MB / 0.4932 GB, free: 11.9 MB / 394.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[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.007381/0.8751, allocations: 3.282 MB / 0.4964 GB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008727/0.8838, allocations: 3.117 MB / 0.4994 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.8839, allocations: 4.562 kB / 0.4994 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.8869, allocations: 1.072 MB / 0.5005 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.8894, allocations: 322.3 kB / 0.5008 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.9048, allocations: 9.31 MB / 0.5099 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.9071, allocations: 1.691 MB / 0.5115 GB, free: 8.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.9087, allocations: 0.6203 MB / 0.5121 GB, free: 8.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9087, allocations: 0 / 0.5121 GB, free: 8.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.702/4.611, allocations: 39.27 MB / 0.5505 GB, free: 118 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_RL_res.mat does not exist to compare? outputFormat=mat