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.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_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.4449, allocations: 86.88 MB / 395.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.4453, allocations: 91.94 kB / 395.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3839/0.8292, allocations: 35.44 MB / 431 MB, free: 85.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8293, allocations: 0 / 431 MB, free: 85.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001834/0.8295, allocations: 48.66 kB / 431.1 MB, free: 85.48 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.007157/0.8367, allocations: 2.129 MB / 433.2 MB, free: 84.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.8367, allocations: 6.562 kB / 433.2 MB, free: 84.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009331/0.8377, allocations: 262.8 kB / 433.4 MB, free: 84.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.8383, allocations: 212.5 kB / 433.6 MB, free: 84.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007349/0.8457, allocations: 2.068 MB / 435.7 MB, free: 83.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.8459, allocations: 137.2 kB / 435.9 MB, free: 83.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005498/0.8464, allocations: 167.1 kB / 436 MB, free: 83.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006131/0.8526, allocations: 2.391 MB / 438.4 MB, free: 82.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.55e-05/0.8527, allocations: 3.906 kB / 438.4 MB, free: 82.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.853, allocations: 73.78 kB / 438.5 MB, free: 82.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.8531, allocations: 78.44 kB / 438.6 MB, free: 82.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005705/0.8588, allocations: 1.975 MB / 440.5 MB, free: 81.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.8751, allocations: 6.744 MB / 447.3 MB, free: 75.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.8795, allocations: 1.701 MB / 449 MB, free: 73.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.8797, allocations: 16.75 kB / 449 MB, free: 73.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001988/0.8817, allocations: 0.886 MB / 449.9 MB, free: 72.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 4.909e-06/0.8817, allocations: 0 / 449.9 MB, free: 72.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.01393/0.8957, allocations: 3.432 MB / 453.3 MB, free: 69.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.8958, allocations: 157.4 kB / 453.5 MB, free: 69.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.8981, allocations: 1.061 MB / 454.5 MB, free: 68.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003801/0.8985, allocations: 81.67 kB / 454.6 MB, free: 68.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.8994, allocations: 0.7255 MB / 455.3 MB, free: 67.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.9, allocations: 366.3 kB / 455.7 MB, free: 67.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.9001, allocations: 28 kB / 455.7 MB, free: 67.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9002, allocations: 357.9 kB / 456.1 MB, free: 66.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.9019, allocations: 0.6701 MB / 456.7 MB, free: 66.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.904, allocations: 0.9341 MB / 457.7 MB, free: 64.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.906, allocations: 0.7241 MB / 458.4 MB, free: 64.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.9061, allocations: 0 / 458.4 MB, free: 64.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005032/0.9111, allocations: 2.004 MB / 460.4 MB, free: 62.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/0.9117, allocations: 2.449 MB / 462.8 MB, free: 59.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.9117, allocations: 4 kB / 462.9 MB, free: 59.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.9136, allocations: 0.5003 MB / 463.4 MB, free: 59.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.9149, allocations: 167.7 kB / 463.5 MB, free: 58.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.9254, allocations: 5.539 MB / 469.1 MB, free: 53.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.9272, allocations: 194.9 kB / 469.2 MB, free: 53.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.9274, allocations: 48 kB / 469.3 MB, free: 53.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.9274, allocations: 4 kB / 469.3 MB, free: 53.03 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00413/0.9315, allocations: 1.836 MB / 471.1 MB, free: 51.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.9316, allocations: 15.92 kB / 471.1 MB, free: 51.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.9333, allocations: 0.4974 MB / 471.6 MB, free: 50.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.9346, allocations: 155.7 kB / 471.8 MB, free: 50.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.9452, allocations: 5.524 MB / 477.3 MB, free: 44.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.9469, allocations: 175 kB / 477.5 MB, free: 44.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.9471, allocations: 40 kB / 477.5 MB, free: 44.65 MB / 346.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.00156/0.9486, allocations: 0.7935 MB / 478.3 MB, free: 43.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.949, allocations: 126.4 kB / 478.4 MB, free: 43.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.9495, allocations: 164.5 kB / 478.6 MB, free: 43.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.9495, allocations: 12 kB / 478.6 MB, free: 43.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.9495, allocations: 3.984 kB / 478.6 MB, free: 43.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.9495, allocations: 3.984 kB / 478.6 MB, free: 43.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007816/0.9574, allocations: 3.555 MB / 482.2 MB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.9574, allocations: 3.562 kB / 482.2 MB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.9582, allocations: 91.81 kB / 482.3 MB, free: 39.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/0.9599, allocations: 484.5 kB / 482.7 MB, free: 39.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.9601, allocations: 23.98 kB / 482.8 MB, free: 39.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.9705, allocations: 5.537 MB / 488.3 MB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9706, allocations: 4 kB / 488.3 MB, free: 33.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.9762, allocations: 2.618 MB / 490.9 MB, free: 31.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009772/0.9772, allocations: 367.2 kB / 491.3 MB, free: 30.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.9775, allocations: 51.92 kB / 491.3 MB, free: 30.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.9787, allocations: 104 kB / 491.4 MB, free: 30.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006897/0.9794, allocations: 228.7 kB / 491.7 MB, free: 30.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.9795, allocations: 39.98 kB / 491.7 MB, free: 30.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.9811, allocations: 0.7991 MB / 492.5 MB, free: 29.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9812, allocations: 0 / 492.5 MB, free: 29.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002751/0.9839, allocations: 0.8333 MB / 493.3 MB, free: 28.62 MB / 346.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.005995/0.9899, allocations: 3.289 MB / 496.6 MB, free: 25.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00702/0.997, allocations: 3.129 MB / 499.8 MB, free: 22.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.9971, allocations: 0 / 499.8 MB, free: 22.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002422/0.9995, allocations: 1.088 MB / 0.4891 GB, free: 21.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.002, allocations: 321.6 kB / 0.4894 GB, free: 20.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.013, allocations: 9.232 MB / 0.4984 GB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.014, allocations: 1.719 MB / 0.5001 GB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001876/1.016, allocations: 434.3 kB / 0.5005 GB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.017, allocations: 0.6008 MB / 0.5011 GB, free: 8.504 MB / 346.7 MB Notification: Performance of SimCode: time 2.254e-06/1.017, allocations: 0 / 0.5011 GB, free: 8.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.133, allocations: 40.5 MB / 0.5407 GB, free: 15.97 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/1.133, allocations: 259 kB / 0.5409 GB, free: 15.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.019/5.152, allocations: 0 / 0.5409 GB, free: 15.61 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat