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_DC_Drive.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_DC_Drive,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004783, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09458, allocations: 44.51 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5268, allocations: 103.4 MB / 411.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5271, allocations: 94.16 kB / 412 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3396/0.8667, allocations: 65.29 MB / 477.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.8668, allocations: 0 / 477.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006658/0.8675, allocations: 95.8 kB / 477.4 MB, free: 10.63 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 0.02382/0.8913, allocations: 4.225 MB / 481.6 MB, free: 6.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.8914, allocations: 11.97 kB / 481.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00256/0.894, allocations: 466.3 kB / 482.1 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.8964, allocations: 435.2 kB / 482.5 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/0.9163, allocations: 4.389 MB / 486.9 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/0.9167, allocations: 221.7 kB / 487.1 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.9182, allocations: 303.8 kB / 487.4 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.9313, allocations: 3.898 MB / 491.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.9314, allocations: 7.938 kB / 491.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005153/0.9319, allocations: 120 kB / 491.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.9321, allocations: 109.5 kB / 491.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.9442, allocations: 3.425 MB / 495 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04883/0.993, allocations: 12.81 MB / 0.4959 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/1.008, allocations: 2.854 MB / 0.4987 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/1.009, allocations: 18 kB / 0.4987 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007147/1.016, allocations: 1.457 MB / 0.5001 GB, free: 7.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 6.162e-06/1.016, allocations: 0 / 0.5001 GB, free: 7.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.0291/1.045, allocations: 8.139 MB / 0.5081 GB, free: 14.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/1.045, allocations: 291 kB / 0.5083 GB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009695/1.055, allocations: 2.714 MB / 0.511 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006098/1.056, allocations: 89.67 kB / 0.5111 GB, free: 11.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.058, allocations: 1.347 MB / 0.5124 GB, free: 10.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.059, allocations: 0.5896 MB / 0.513 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/1.06, allocations: 47.94 kB / 0.513 GB, free: 9.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000339/1.06, allocations: 407.5 kB / 0.5134 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/1.064, allocations: 1.23 MB / 0.5146 GB, free: 8.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/1.069, allocations: 1.889 MB / 0.5164 GB, free: 5.973 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004542/1.074, allocations: 1.423 MB / 0.5178 GB, free: 4.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/1.074, allocations: 4 kB / 0.5178 GB, free: 4.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.0112/1.085, allocations: 3.713 MB / 0.5215 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2967/1.382, allocations: 6.883 MB / 0.5282 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/1.382, allocations: 20.28 kB / 0.5282 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/1.384, allocations: 0.5742 MB / 0.5288 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/1.388, allocations: 0.5269 MB / 0.5293 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.401, allocations: 8.123 MB / 0.5372 GB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004967/1.406, allocations: 421.9 kB / 0.5376 GB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006798/1.407, allocations: 88.47 kB / 0.5377 GB, free: 86.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.407, allocations: 4.344 kB / 0.5377 GB, free: 86.09 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009929/1.417, allocations: 3.6 MB / 0.5412 GB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-05/1.417, allocations: 17.25 kB / 0.5412 GB, free: 85.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/1.419, allocations: 0.5659 MB / 0.5418 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/1.423, allocations: 0.5159 MB / 0.5423 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.437, allocations: 8.189 MB / 0.5503 GB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.439, allocations: 255 kB / 0.5505 GB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/1.44, allocations: 89 kB / 0.5506 GB, free: 81.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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,pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[3].y,$PRE.pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,$PRE.pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,$PRE.pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,$PRE.pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,$PRE.pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,$PRE.pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 252 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.003524/1.444, allocations: 1.233 MB / 0.5518 GB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008609/1.445, allocations: 256.9 kB / 0.5521 GB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007651/1.452, allocations: 3.109 MB / 0.5551 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.452, allocations: 15.56 kB / 0.5551 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.452, allocations: 3.938 kB / 0.5551 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.452, allocations: 12.44 kB / 0.5551 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/1.468, allocations: 6.678 MB / 0.5616 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.469, allocations: 3.062 kB / 0.5617 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.471, allocations: 285.3 kB / 0.5619 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/1.473, allocations: 0.5287 MB / 0.5624 GB, free: 80.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/1.473, allocations: 56.3 kB / 0.5625 GB, free: 80.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.485, allocations: 7.957 MB / 0.5703 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.485, allocations: 3.594 kB / 0.5703 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.495, allocations: 4.823 MB / 0.575 GB, free: 73.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.497, allocations: 0.6268 MB / 0.5756 GB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006973/1.498, allocations: 82.58 kB / 0.5757 GB, free: 72.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.501, allocations: 356.1 kB / 0.576 GB, free: 72.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009686/1.502, allocations: 272.7 kB / 0.5763 GB, free: 72.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.503, allocations: 58.38 kB / 0.5763 GB, free: 72.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006332/1.509, allocations: 2.121 MB / 0.5784 GB, free: 72.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.509, allocations: 0 / 0.5784 GB, free: 72.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006123/1.515, allocations: 1.201 MB / 0.5796 GB, free: 72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 17 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twomPulse.filter[1].firstOrder.y,pulse2.twomPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[1].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[2].firstOrder.y,pulse2.twomPulse.filter[2].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[2].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[3].firstOrder.y,pulse2.twomPulse.filter[3].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[3].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.inductor[2].i,lMains.inductor[3].i) * Number of discrete variables: 48 (pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[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,pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.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[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/1.527, allocations: 6.205 MB / 0.5856 GB, free: 68.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.541, allocations: 5.562 MB / 0.5911 GB, free: 66.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.541, allocations: 8.25 kB / 0.5911 GB, free: 66.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005291/1.546, allocations: 2.098 MB / 0.5931 GB, free: 65.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/1.551, allocations: 0.6157 MB / 0.5937 GB, free: 65.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0274/1.579, allocations: 23.27 MB / 0.6164 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002936/1.582, allocations: 2.448 MB / 0.6188 GB, free: 44.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/1.584, allocations: 1.234 MB / 0.62 GB, free: 43.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.584, allocations: 0 / 0.62 GB, free: 43.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.391/5.975, allocations: 107.4 MB / 0.7249 GB, free: 83.5 MB / 410.7 MB