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_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.309, allocations: 44.51 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.4756, allocations: 85.62 MB / 394.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.476, allocations: 91.95 kB / 394.3 MB, free: 6.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3783/0.8544, allocations: 28.55 MB / 422.8 MB, free: 85.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.8544, allocations: 4 kB / 422.9 MB, free: 85.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.8545, allocations: 34.12 kB / 422.9 MB, free: 85.08 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005646/0.8602, allocations: 1.692 MB / 424.6 MB, free: 84.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8603, allocations: 7.594 kB / 424.6 MB, free: 84.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006961/0.861, allocations: 212.4 kB / 424.8 MB, free: 84.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/0.8614, allocations: 167.8 kB / 425 MB, free: 84.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/0.8674, allocations: 1.64 MB / 426.6 MB, free: 83.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.8676, allocations: 108.6 kB / 426.7 MB, free: 83.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/0.8679, allocations: 124.9 kB / 426.8 MB, free: 83.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/0.8726, allocations: 1.76 MB / 428.6 MB, free: 83.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.926e-05/0.8727, allocations: 7.312 kB / 428.6 MB, free: 83.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/0.8729, allocations: 54.66 kB / 428.6 MB, free: 83.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-05/0.873, allocations: 57.36 kB / 428.7 MB, free: 83.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.8776, allocations: 1.466 MB / 430.2 MB, free: 83.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.8903, allocations: 5.007 MB / 435.2 MB, free: 81.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.8936, allocations: 1.127 MB / 436.3 MB, free: 80.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.8938, allocations: 14.67 kB / 436.3 MB, free: 80.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.8954, allocations: 0.6661 MB / 437 MB, free: 80.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=85): time 3.807e-06/0.8955, allocations: 0 / 437 MB, free: 80.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.005908/0.9014, allocations: 1.809 MB / 438.8 MB, free: 80.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.9015, allocations: 126 kB / 438.9 MB, free: 79.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.903, allocations: 0.7631 MB / 439.7 MB, free: 79.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.9033, allocations: 61.33 kB / 439.7 MB, free: 79.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/0.9039, allocations: 0.5873 MB / 440.3 MB, free: 79.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.9042, allocations: 251.9 kB / 440.6 MB, free: 78.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.9043, allocations: 19.75 kB / 440.6 MB, free: 78.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.9044, allocations: 340 kB / 440.9 MB, free: 78.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.9057, allocations: 474.7 kB / 441.4 MB, free: 78.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.9071, allocations: 0.6899 MB / 442.1 MB, free: 77.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.9084, allocations: 0.4894 MB / 442.6 MB, free: 77.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.9085, allocations: 0 / 442.6 MB, free: 77.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003449/0.9119, allocations: 1.349 MB / 443.9 MB, free: 76.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004838/0.9124, allocations: 2.449 MB / 446.4 MB, free: 73.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.9125, allocations: 7.953 kB / 446.4 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008167/0.9133, allocations: 219.3 kB / 446.6 MB, free: 73.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.9145, allocations: 156.7 kB / 446.7 MB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004337/0.9189, allocations: 2.831 MB / 449.6 MB, free: 70.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.9203, allocations: 150.9 kB / 449.7 MB, free: 70.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.9205, allocations: 32 kB / 449.7 MB, free: 70.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.9205, allocations: 4 kB / 449.7 MB, free: 70.82 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002971/0.9235, allocations: 1.211 MB / 451 MB, free: 69.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.9235, allocations: 4.438 kB / 451 MB, free: 69.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/0.9243, allocations: 235.1 kB / 451.2 MB, free: 69.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.9254, allocations: 152.5 kB / 451.3 MB, free: 69.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.9297, allocations: 2.82 MB / 454.2 MB, free: 66.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.9312, allocations: 136.8 kB / 454.3 MB, free: 66.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.9313, allocations: 32 kB / 454.3 MB, free: 66.63 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 (108): * Single equations (assignments): 107 * 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.001186/0.9325, allocations: 0.6184 MB / 454.9 MB, free: 66.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.9328, allocations: 90.88 kB / 455 MB, free: 65.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.9331, allocations: 111.9 kB / 455.1 MB, free: 65.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.9331, allocations: 12 kB / 455.2 MB, free: 65.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.9331, allocations: 0 / 455.2 MB, free: 65.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.9332, allocations: 7.938 kB / 455.2 MB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/0.939, allocations: 2.564 MB / 457.7 MB, free: 63.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.9391, allocations: 0 / 457.7 MB, free: 63.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008394/0.94, allocations: 100.6 kB / 457.8 MB, free: 63.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006868/0.9407, allocations: 208.2 kB / 458 MB, free: 63.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/0.9408, allocations: 19.8 kB / 458 MB, free: 63.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.9449, allocations: 2.802 MB / 460.9 MB, free: 60.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.945, allocations: 0 / 460.9 MB, free: 60.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.9494, allocations: 1.85 MB / 462.7 MB, free: 58.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.9501, allocations: 271.8 kB / 463 MB, free: 58.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.9504, allocations: 23.98 kB / 463 MB, free: 58.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.9514, allocations: 99.91 kB / 463.1 MB, free: 58.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/0.9518, allocations: 140.3 kB / 463.2 MB, free: 58.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.9519, allocations: 27.98 kB / 463.3 MB, free: 58.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.953, allocations: 0.581 MB / 463.8 MB, free: 57.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.353e-06/0.953, allocations: 4 kB / 463.8 MB, free: 57.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002223/0.9552, allocations: 0.5914 MB / 464.4 MB, free: 57.24 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[1].off,rectifier.thyristor.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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.004893/0.9602, allocations: 2.457 MB / 466.9 MB, free: 54.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.9653, allocations: 2.074 MB / 469 MB, free: 52.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.9654, allocations: 1.438 kB / 469 MB, free: 52.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.9671, allocations: 0.7228 MB / 469.7 MB, free: 51.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.9686, allocations: 181.5 kB / 469.9 MB, free: 51.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008786/0.9774, allocations: 7.974 MB / 477.8 MB, free: 43.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9786, allocations: 1.412 MB / 479.2 MB, free: 42.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001536/0.9801, allocations: 310.5 kB / 479.6 MB, free: 41.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00094/0.9811, allocations: 455.3 kB / 480 MB, free: 41.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.123e-06/0.9811, allocations: 0 / 480 MB, free: 41.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07308/1.054, allocations: 25.45 MB / 0.4936 GB, free: 16.07 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.055, allocations: 292 kB / 0.4939 GB, free: 15.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.541, allocations: 0 / 0.4939 GB, free: 15.71 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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat