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.Rectifier1Pulse.Thyristor1Pulse_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.Rectifier1Pulse.Thyristor1Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8 kB / 264.1 MB, free: 2.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2856, allocations: 44.49 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.4545, allocations: 79.44 MB / 388 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.4549, allocations: 87.94 kB / 388.1 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03867/0.4936, allocations: 9.182 MB / 397.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4937, allocations: 0 / 397.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.4937, allocations: 8 kB / 397.3 MB, free: 3.781 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001912/0.4957, allocations: 0.729 MB / 398 MB, free: 3.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.4957, allocations: 8.031 kB / 398 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.4959, allocations: 74.47 kB / 398.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.4961, allocations: 59.38 kB / 398.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.4969, allocations: 375 kB / 398.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.497, allocations: 40.98 kB / 398.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4971, allocations: 40 kB / 398.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4985, allocations: 458.9 kB / 399.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.4985, allocations: 0 / 399.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.4986, allocations: 16 kB / 399.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4986, allocations: 8 kB / 399.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4997, allocations: 331.8 kB / 399.4 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.5037, allocations: 1.553 MB / 401 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.5045, allocations: 237.5 kB / 401.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.5046, allocations: 7.938 kB / 401.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005957/0.5052, allocations: 232.9 kB / 401.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.056e-06/0.5052, allocations: 0 / 401.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001749/0.507, allocations: 0.4951 MB / 401.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.5071, allocations: 114.8 kB / 402 MB, free: 14.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.5077, allocations: 307.6 kB / 402.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.5078, allocations: 41.69 kB / 402.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.508, allocations: 248 kB / 402.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5081, allocations: 78.91 kB / 402.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.5082, allocations: 12 kB / 402.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5084, allocations: 342.8 kB / 403 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.5088, allocations: 124.8 kB / 403.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.5094, allocations: 280.2 kB / 403.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.5099, allocations: 141.1 kB / 403.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.5099, allocations: 0 / 403.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001327/0.5113, allocations: 456.5 kB / 404 MB, free: 12.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007874/0.5121, allocations: 1.663 MB / 405.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.5121, allocations: 7.938 kB / 405.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.5124, allocations: 48.86 kB / 405.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.5129, allocations: 63.91 kB / 405.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.5149, allocations: 1.51 MB / 407.3 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.5156, allocations: 79.7 kB / 407.4 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.5156, allocations: 16 kB / 407.4 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5157, allocations: 4 kB / 407.4 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0015/0.5172, allocations: 356.5 kB / 407.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.5173, allocations: 8 kB / 407.8 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.5176, allocations: 45.36 kB / 407.8 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.5183, allocations: 67.84 kB / 407.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.5203, allocations: 1.499 MB / 409.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.5208, allocations: 63.67 kB / 409.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.5209, allocations: 16 kB / 409.4 MB, free: 6.824 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004818/0.5214, allocations: 283.2 kB / 409.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.5215, allocations: 31.62 kB / 409.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.5216, allocations: 35.95 kB / 409.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5216, allocations: 4 kB / 409.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5216, allocations: 0 / 409.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.5217, allocations: 7.938 kB / 409.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.5236, allocations: 0.8347 MB / 410.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5236, allocations: 0 / 410.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5239, allocations: 23.98 kB / 410.7 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.5241, allocations: 36.78 kB / 410.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.5242, allocations: 11.98 kB / 410.7 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.526, allocations: 1.425 MB / 412.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.526, allocations: 0 / 412.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.5274, allocations: 0.5206 MB / 412.7 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.5277, allocations: 132.7 kB / 412.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.5278, allocations: 12 kB / 412.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.5283, allocations: 39.91 kB / 412.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.5284, allocations: 35.89 kB / 412.9 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.5284, allocations: 4 kB / 412.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005027/0.529, allocations: 247 kB / 413.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.529, allocations: 0 / 413.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001105/0.5301, allocations: 187.4 kB / 413.3 MB, free: 2.734 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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/0.5319, allocations: 1.103 MB / 414.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.5338, allocations: 0.7129 MB / 415.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5339, allocations: 0 / 415.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.5344, allocations: 247.5 kB / 415.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.535, allocations: 48.97 kB / 415.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2409/0.7758, allocations: 4.067 MB / 419.5 MB, free: 91.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.7764, allocations: 0.84 MB / 420.3 MB, free: 90.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.777, allocations: 65.98 kB / 420.4 MB, free: 90.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.7773, allocations: 133.3 kB / 420.5 MB, free: 90.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7774, allocations: 0.5625 kB / 420.5 MB, free: 90.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.8153, allocations: 7.896 MB / 428.4 MB, free: 89.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.8156, allocations: 250.9 kB / 428.6 MB, free: 89.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.786, allocations: 0 / 428.6 MB, free: 89.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat does not exist to compare? outputFormat=mat