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_RLV_Characteristic.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_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.5042, allocations: 87.98 MB / 396.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003495/0.5046, allocations: 99.88 kB / 396.7 MB, free: 4.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.444/0.9486, allocations: 36.52 MB / 433.2 MB, free: 86.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.9487, allocations: 0 / 433.2 MB, free: 86.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001822/0.9489, allocations: 48.25 kB / 433.2 MB, free: 86.02 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.007394/0.9563, allocations: 2.185 MB / 435.4 MB, free: 84.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9564, allocations: 15.38 kB / 435.4 MB, free: 84.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009881/0.9574, allocations: 257.8 kB / 435.7 MB, free: 84.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.958, allocations: 225.1 kB / 435.9 MB, free: 84.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007531/0.9656, allocations: 2.096 MB / 438 MB, free: 83.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.9658, allocations: 138.5 kB / 438.1 MB, free: 83.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/0.9663, allocations: 176.5 kB / 438.3 MB, free: 83.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00634/0.9726, allocations: 2.442 MB / 440.7 MB, free: 82.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.9728, allocations: 11.41 kB / 440.8 MB, free: 82.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.9731, allocations: 72 kB / 440.8 MB, free: 82.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/0.9732, allocations: 74.3 kB / 440.9 MB, free: 82.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006954/0.9801, allocations: 2.037 MB / 442.9 MB, free: 80.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/1.002, allocations: 6.874 MB / 449.8 MB, free: 73.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005441/1.007, allocations: 1.696 MB / 451.5 MB, free: 71.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/1.008, allocations: 13 kB / 451.5 MB, free: 71.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003058/1.011, allocations: 0.9347 MB / 452.5 MB, free: 70.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=126): time 5.991e-06/1.011, allocations: 0 / 452.5 MB, free: 70.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=126): time 0.01915/1.03, allocations: 3.503 MB / 456 MB, free: 67.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/1.03, allocations: 165.4 kB / 456.1 MB, free: 67.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.033, allocations: 1.038 MB / 457.2 MB, free: 66.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/1.033, allocations: 77.67 kB / 457.2 MB, free: 66.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009567/1.034, allocations: 0.7453 MB / 458 MB, free: 65.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/1.035, allocations: 378.1 kB / 458.3 MB, free: 64.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.035, allocations: 32 kB / 458.4 MB, free: 64.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/1.035, allocations: 353.9 kB / 458.7 MB, free: 64.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/1.037, allocations: 0.7105 MB / 459.4 MB, free: 63.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/1.04, allocations: 0.9758 MB / 460.4 MB, free: 62.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/1.043, allocations: 0.7457 MB / 461.2 MB, free: 62.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.043, allocations: 0 / 461.2 MB, free: 62.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.006796/1.05, allocations: 2.059 MB / 463.2 MB, free: 60 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006118/1.05, allocations: 2.446 MB / 465.7 MB, free: 57.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.05, allocations: 12 kB / 465.7 MB, free: 57.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/1.053, allocations: 0.4909 MB / 466.2 MB, free: 56.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.054, allocations: 187.7 kB / 466.3 MB, free: 56.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.066, allocations: 5.411 MB / 471.8 MB, free: 51.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.068, allocations: 175.1 kB / 471.9 MB, free: 50.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/1.068, allocations: 51.98 kB / 472 MB, free: 50.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.068, allocations: 4 kB / 472 MB, free: 50.91 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004643/1.073, allocations: 1.898 MB / 473.9 MB, free: 49.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.073, allocations: 8 kB / 473.9 MB, free: 49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/1.074, allocations: 0.4895 MB / 474.4 MB, free: 48.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.076, allocations: 175.7 kB / 474.5 MB, free: 48.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.086, allocations: 5.408 MB / 480 MB, free: 42.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.088, allocations: 167.2 kB / 480.1 MB, free: 42.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.088, allocations: 48 kB / 480.2 MB, free: 42.58 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 (138): * Single equations (assignments): 137 * 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.001904/1.09, allocations: 0.7979 MB / 481 MB, free: 41.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/1.09, allocations: 130.4 kB / 481.1 MB, free: 41.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/1.091, allocations: 165.3 kB / 481.3 MB, free: 41.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.091, allocations: 12 kB / 481.3 MB, free: 41.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.091, allocations: 0 / 481.3 MB, free: 41.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.091, allocations: 11.97 kB / 481.3 MB, free: 41.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/1.1, allocations: 3.684 MB / 485 MB, free: 37.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.1, allocations: 0 / 485 MB, free: 37.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.101, allocations: 127.8 kB / 485.1 MB, free: 37.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/1.103, allocations: 464.7 kB / 485.5 MB, free: 37.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/1.104, allocations: 23.98 kB / 485.6 MB, free: 37.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.114, allocations: 5.361 MB / 490.9 MB, free: 31.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.114, allocations: 128 / 490.9 MB, free: 31.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006767/1.121, allocations: 2.78 MB / 493.7 MB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.122, allocations: 371.2 kB / 494.1 MB, free: 28.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/1.122, allocations: 47.94 kB / 494.1 MB, free: 28.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.124, allocations: 115.9 kB / 494.2 MB, free: 28.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007613/1.125, allocations: 236.6 kB / 494.5 MB, free: 28.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.125, allocations: 31.98 kB / 494.5 MB, free: 28.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001576/1.126, allocations: 0.7917 MB / 495.3 MB, free: 27.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.126, allocations: 0 / 495.3 MB, free: 27.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003273/1.13, allocations: 0.8683 MB / 496.1 MB, free: 26.36 MB / 346.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_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.007553/1.137, allocations: 3.443 MB / 499.6 MB, free: 22.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007775/1.145, allocations: 3.215 MB / 0.491 GB, free: 19.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.145, allocations: 1.438 kB / 0.491 GB, free: 19.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/1.148, allocations: 1.131 MB / 0.4921 GB, free: 18.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.15, allocations: 312.3 kB / 0.4924 GB, free: 18.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.162, allocations: 9.475 MB / 0.5017 GB, free: 8.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.164, allocations: 1.726 MB / 0.5034 GB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002016/1.166, allocations: 434.5 kB / 0.5038 GB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.167, allocations: 0.632 MB / 0.5044 GB, free: 5.664 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/1.167, allocations: 0 / 0.5044 GB, free: 5.664 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.289, allocations: 40.96 MB / 0.5444 GB, free: 12.66 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004137/1.289, allocations: 282.3 kB / 0.5447 GB, free: 12.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/5.491, allocations: 0 / 0.5447 GB, free: 12.3 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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat