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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005803/0.0005806, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3267, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.4925, allocations: 85.17 MB / 393.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004139/0.493, allocations: 95.94 kB / 393.8 MB, free: 7.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4285/0.9216, allocations: 28.15 MB / 422 MB, free: 84.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.9216, allocations: 0 / 422 MB, free: 84.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.9218, allocations: 32.72 kB / 422 MB, free: 84.82 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006777/0.9286, allocations: 1.66 MB / 423.7 MB, free: 84.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.9287, allocations: 6.969 kB / 423.7 MB, free: 84.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008024/0.9295, allocations: 196.3 kB / 423.9 MB, free: 83.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.9301, allocations: 157.9 kB / 424 MB, free: 83.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00779/0.9379, allocations: 1.648 MB / 425.7 MB, free: 83.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.9381, allocations: 104.1 kB / 425.8 MB, free: 83.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/0.9385, allocations: 127.4 kB / 425.9 MB, free: 83.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005894/0.9445, allocations: 1.717 MB / 427.6 MB, free: 83.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.9446, allocations: 3.906 kB / 427.6 MB, free: 83.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/0.9449, allocations: 51.47 kB / 427.7 MB, free: 83.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.945, allocations: 59.55 kB / 427.7 MB, free: 83.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005388/0.9504, allocations: 1.411 MB / 429.2 MB, free: 83.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.9634, allocations: 4.947 MB / 434.1 MB, free: 81.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.9663, allocations: 1.082 MB / 435.2 MB, free: 80.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-05/0.9664, allocations: 7.781 kB / 435.2 MB, free: 80.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.9678, allocations: 0.6071 MB / 435.8 MB, free: 80.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 3.968e-06/0.9678, allocations: 0 / 435.8 MB, free: 80.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.005113/0.9729, allocations: 1.665 MB / 437.5 MB, free: 80.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.973, allocations: 128 kB / 437.6 MB, free: 79.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.9746, allocations: 0.7853 MB / 438.4 MB, free: 79.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.9747, allocations: 56.11 kB / 438.4 MB, free: 79.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.9753, allocations: 0.5879 MB / 439 MB, free: 79.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.9755, allocations: 234.4 kB / 439.2 MB, free: 78.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.9756, allocations: 17.84 kB / 439.3 MB, free: 78.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.9757, allocations: 342.6 kB / 439.6 MB, free: 78.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.9768, allocations: 449.8 kB / 440 MB, free: 78.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.9781, allocations: 0.6658 MB / 440.7 MB, free: 78.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.9793, allocations: 482.2 kB / 441.2 MB, free: 77.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.9793, allocations: 3.781 kB / 441.2 MB, free: 77.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003179/0.9825, allocations: 1.298 MB / 442.5 MB, free: 77.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.983, allocations: 2.454 MB / 444.9 MB, free: 74.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.983, allocations: 6.781 kB / 444.9 MB, free: 74.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/0.9839, allocations: 222 kB / 445.1 MB, free: 74.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.985, allocations: 147 kB / 445.3 MB, free: 74.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.9893, allocations: 2.825 MB / 448.1 MB, free: 71.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9907, allocations: 159.3 kB / 448.3 MB, free: 71.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.9908, allocations: 32 kB / 448.3 MB, free: 71.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.9908, allocations: 6.812 kB / 448.3 MB, free: 71.68 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002712/0.9936, allocations: 1.166 MB / 449.5 MB, free: 70.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9936, allocations: 4 kB / 449.5 MB, free: 70.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000728/0.9943, allocations: 223.2 kB / 449.7 MB, free: 70.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/0.9953, allocations: 146.4 kB / 449.8 MB, free: 70.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.9995, allocations: 2.835 MB / 452.7 MB, free: 67.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.001, allocations: 133.8 kB / 452.8 MB, free: 67.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/1.001, allocations: 36 kB / 452.8 MB, free: 67.54 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: 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 (106): * Single equations (assignments): 105 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001167/1.002, allocations: 0.6036 MB / 453.4 MB, free: 67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.002, allocations: 94.44 kB / 453.5 MB, free: 66.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/1.003, allocations: 108.7 kB / 453.6 MB, free: 66.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.003, allocations: 8 kB / 453.7 MB, free: 66.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.003, allocations: 0 / 453.7 MB, free: 66.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.003, allocations: 11.12 kB / 453.7 MB, free: 66.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/1.008, allocations: 2.448 MB / 456.1 MB, free: 64.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.008, allocations: 3.375 kB / 456.1 MB, free: 64.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/1.009, allocations: 78.66 kB / 456.2 MB, free: 64.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/1.01, allocations: 197.7 kB / 456.4 MB, free: 64.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/1.01, allocations: 15.75 kB / 456.4 MB, free: 64.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004352/1.014, allocations: 2.809 MB / 459.2 MB, free: 61.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.014, allocations: 0 / 459.2 MB, free: 61.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/1.018, allocations: 1.698 MB / 460.9 MB, free: 60.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/1.019, allocations: 263.7 kB / 461.2 MB, free: 60.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.019, allocations: 22.95 kB / 461.2 MB, free: 60.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/1.02, allocations: 91.67 kB / 461.3 MB, free: 60.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/1.021, allocations: 140.9 kB / 461.4 MB, free: 59.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/1.021, allocations: 27.28 kB / 461.4 MB, free: 59.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001244/1.022, allocations: 0.5978 MB / 462 MB, free: 59.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.022, allocations: 0 / 462 MB, free: 59.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002342/1.024, allocations: 0.5785 MB / 462.6 MB, free: 58.84 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: 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[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004392/1.029, allocations: 2.304 MB / 464.9 MB, free: 56.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00475/1.034, allocations: 1.985 MB / 466.9 MB, free: 54.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.034, allocations: 4.125 kB / 466.9 MB, free: 54.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.035, allocations: 0.6708 MB / 467.6 MB, free: 53.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.037, allocations: 192.1 kB / 467.8 MB, free: 53.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008478/1.045, allocations: 7.867 MB / 475.6 MB, free: 45.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.046, allocations: 1.4 MB / 477 MB, free: 44.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001507/1.048, allocations: 313.5 kB / 477.3 MB, free: 43.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008432/1.049, allocations: 443.3 kB / 477.8 MB, free: 43.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/1.049, allocations: 0 / 477.8 MB, free: 43.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07386/1.122, allocations: 24.99 MB / 0.491 GB, free: 18.63 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/1.123, allocations: 272.9 kB / 0.4912 GB, free: 18.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.334/4.457, allocations: 0 / 0.4912 GB, free: 18.27 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat does not exist to compare? outputFormat=mat