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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003661, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 44.51 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5181, allocations: 84.86 MB / 393.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.5185, allocations: 90.58 kB / 393.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1506/0.6691, allocations: 27.83 MB / 421.3 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6692, allocations: 0 / 421.3 MB, free: 5.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001192/0.6693, allocations: 38.66 kB / 421.4 MB, free: 5.594 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.00511/0.6745, allocations: 1.637 MB / 423 MB, free: 4.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6745, allocations: 6.625 kB / 423 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007383/0.6753, allocations: 193.1 kB / 423.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.6758, allocations: 162.7 kB / 423.4 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006048/0.6818, allocations: 1.633 MB / 425 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.682, allocations: 105.4 kB / 425.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.6824, allocations: 127.3 kB / 425.2 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.687, allocations: 1.693 MB / 426.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/0.6871, allocations: 7.875 kB / 426.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.6873, allocations: 50.66 kB / 427 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/0.6874, allocations: 55.89 kB / 427 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003855/0.6912, allocations: 1.391 MB / 428.4 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.7027, allocations: 4.871 MB / 433.3 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.7057, allocations: 1.057 MB / 434.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.272e-05/0.7058, allocations: 8.281 kB / 434.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/0.7072, allocations: 0.6074 MB / 435 MB, free: 280 kB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 5.581e-06/0.7072, allocations: 3.75 kB / 435 MB, free: 280 kB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.005867/0.7131, allocations: 1.672 MB / 436.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.7133, allocations: 122.7 kB / 436.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.7153, allocations: 0.7825 MB / 437.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.7156, allocations: 56.38 kB / 437.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000738/0.7164, allocations: 0.5847 MB / 438.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.7168, allocations: 226.3 kB / 438.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.7169, allocations: 18.25 kB / 438.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.7171, allocations: 353.9 kB / 438.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.7185, allocations: 441.8 kB / 439.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.72, allocations: 0.6591 MB / 439.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.7214, allocations: 479.7 kB / 440.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.7214, allocations: 0 / 440.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003587/0.725, allocations: 1.232 MB / 441.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001111/0.7262, allocations: 2.441 MB / 444 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.7262, allocations: 4 kB / 444 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.7273, allocations: 224.7 kB / 444.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7284, allocations: 147.7 kB / 444.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/0.734, allocations: 2.862 MB / 447.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.7355, allocations: 155.2 kB / 447.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.7356, allocations: 40 kB / 447.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7357, allocations: 4 kB / 447.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004102/0.7398, allocations: 1.149 MB / 448.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.7398, allocations: 4 kB / 448.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.7409, allocations: 224.8 kB / 448.8 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.7422, allocations: 131.8 kB / 448.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007525/0.7497, allocations: 2.896 MB / 451.8 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.7513, allocations: 123.5 kB / 451.9 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7515, allocations: 36 kB / 452 MB, free: 0 / 330.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: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.002062/0.7536, allocations: 0.5984 MB / 452.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.754, allocations: 98.8 kB / 452.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.7545, allocations: 112.9 kB / 452.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.7545, allocations: 12.05 kB / 452.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.7546, allocations: 3.984 kB / 452.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.7546, allocations: 7.922 kB / 452.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008561/0.7632, allocations: 2.43 MB / 455.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.7632, allocations: 4 kB / 455.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.7642, allocations: 71.89 kB / 455.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.7653, allocations: 208.8 kB / 455.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.7655, allocations: 15.98 kB / 455.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007414/0.7729, allocations: 2.738 MB / 458.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7729, allocations: 0 / 458.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/0.7792, allocations: 1.681 MB / 459.9 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000918/0.7801, allocations: 263.9 kB / 460.2 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.7804, allocations: 19.98 kB / 460.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.7818, allocations: 83.92 kB / 460.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006909/0.7826, allocations: 144.4 kB / 460.4 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7827, allocations: 23.98 kB / 460.5 MB, free: 7.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001979/0.7847, allocations: 0.6005 MB / 461.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7847, allocations: 0 / 461.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003408/0.7881, allocations: 0.5721 MB / 461.6 MB, free: 6.102 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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006702/0.7949, allocations: 2.29 MB / 463.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007298/0.8022, allocations: 1.965 MB / 465.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.8022, allocations: 448 / 465.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.8046, allocations: 0.6857 MB / 466.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.8067, allocations: 184.5 kB / 466.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.8207, allocations: 7.925 MB / 474.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.8223, allocations: 1.363 MB / 476 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.8234, allocations: 435.3 kB / 476.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8234, allocations: 0 / 476.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.07/3.893, allocations: 27.19 MB / 0.4918 GB, free: 11.79 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat