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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 15.94 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09806, allocations: 44.5 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5172, allocations: 86.12 MB / 394.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.5175, allocations: 92.84 kB / 394.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1477/0.6653, allocations: 35.41 MB / 430.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6654, allocations: 0 / 430.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001833/0.6656, allocations: 46.69 kB / 430.2 MB, free: 2.508 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.007411/0.673, allocations: 2.173 MB / 432.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6731, allocations: 19.62 kB / 432.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009969/0.6741, allocations: 256.1 kB / 432.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.6748, allocations: 221.6 kB / 432.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/0.6819, allocations: 1.97 MB / 434.9 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.6823, allocations: 129 kB / 435 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008057/0.6831, allocations: 164.7 kB / 435.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008304/0.6914, allocations: 2.401 MB / 437.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.909e-05/0.6915, allocations: 4 kB / 437.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.6919, allocations: 73.86 kB / 437.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.6921, allocations: 75.22 kB / 437.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007624/0.6997, allocations: 2.074 MB / 439.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.7207, allocations: 7.177 MB / 446.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/0.7259, allocations: 1.661 MB / 448.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.7261, allocations: 16.94 kB / 448.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002433/0.7285, allocations: 0.8713 MB / 449.5 MB, free: 3.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 6.502e-06/0.7286, allocations: 4 kB / 449.5 MB, free: 3.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.01693/0.7455, allocations: 2.926 MB / 452.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/0.7459, allocations: 139.5 kB / 452.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/0.7534, allocations: 1.122 MB / 453.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006545/0.7542, allocations: 61.69 kB / 453.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.7561, allocations: 0.7393 MB / 454.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009159/0.7571, allocations: 328.7 kB / 454.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.7574, allocations: 20 kB / 454.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003/0.7577, allocations: 354.8 kB / 455.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.7609, allocations: 0.6427 MB / 455.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.765, allocations: 0.8537 MB / 456.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.7688, allocations: 0.659 MB / 457.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/0.7689, allocations: 7.938 kB / 457.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008715/0.7776, allocations: 1.748 MB / 459.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001278/0.779, allocations: 1.927 MB / 461 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.7791, allocations: 7.984 kB / 461 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002985/0.7821, allocations: 439.1 kB / 461.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.7844, allocations: 167.7 kB / 461.6 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/0.7995, allocations: 4.504 MB / 466.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.8024, allocations: 171.2 kB / 466.3 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.8028, allocations: 44 kB / 466.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8028, allocations: 4 kB / 466.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0073/0.8101, allocations: 1.672 MB / 468 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.8102, allocations: 8 kB / 468 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.8125, allocations: 425 kB / 468.4 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.8146, allocations: 171.8 kB / 468.6 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.83, allocations: 4.554 MB / 473.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.8319, allocations: 155.3 kB / 473.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.8321, allocations: 36 kB / 473.3 MB, free: 11.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.002684/0.8348, allocations: 0.7857 MB / 474.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.8355, allocations: 138.3 kB / 474.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.8364, allocations: 160.7 kB / 474.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.8364, allocations: 12 kB / 474.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.8364, allocations: 0 / 474.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/0.8365, allocations: 7.969 kB / 474.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.853, allocations: 3.583 MB / 478 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.8531, allocations: 7.938 kB / 478 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.8549, allocations: 107.9 kB / 478.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/0.8575, allocations: 413 kB / 478.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003495/0.8579, allocations: 27.98 kB / 478.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.8734, allocations: 4.343 MB / 482.9 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8734, allocations: 0 / 482.9 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.8849, allocations: 2.62 MB / 485.5 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/0.8868, allocations: 367.3 kB / 485.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/0.8874, allocations: 31.94 kB / 485.9 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/0.8896, allocations: 115.8 kB / 486 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/0.891, allocations: 224.6 kB / 486.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/0.8913, allocations: 31.98 kB / 486.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003372/0.8947, allocations: 0.8629 MB / 487.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.8947, allocations: 0 / 487.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005579/0.9003, allocations: 0.8292 MB / 488 MB, free: 12.38 MB / 378.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01272/0.9131, allocations: 3.242 MB / 491.2 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008672/0.9218, allocations: 2.917 MB / 494.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.9219, allocations: 0.6562 kB / 494.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.9247, allocations: 1.054 MB / 495.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.9269, allocations: 285 kB / 495.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.9441, allocations: 8.766 MB / 0.4924 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.9461, allocations: 1.712 MB / 0.4941 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.9477, allocations: 0.636 MB / 0.4947 GB, free: 9.465 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9477, allocations: 0 / 0.4947 GB, free: 9.465 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.572/4.52, allocations: 39.38 MB / 0.5331 GB, free: 122.8 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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat