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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV.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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003463, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2944, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4488, allocations: 87.44 MB / 396 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.4492, allocations: 95.94 kB / 396.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3906/0.8399, allocations: 36.05 MB / 432.2 MB, free: 85.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.8399, allocations: 0 / 432.2 MB, free: 85.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001613/0.8401, allocations: 54.84 kB / 432.2 MB, free: 85.7 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.00673/0.8468, allocations: 2.167 MB / 434.4 MB, free: 84.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8469, allocations: 10.81 kB / 434.4 MB, free: 84.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007944/0.8477, allocations: 260.3 kB / 434.6 MB, free: 84.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.8482, allocations: 227.2 kB / 434.9 MB, free: 84.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00733/0.8556, allocations: 2.078 MB / 436.9 MB, free: 83.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.8558, allocations: 134.3 kB / 437.1 MB, free: 83.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.8562, allocations: 183.2 kB / 437.3 MB, free: 83.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/0.862, allocations: 2.418 MB / 439.7 MB, free: 82.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.809e-05/0.8621, allocations: 3.906 kB / 439.7 MB, free: 82.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.8623, allocations: 79.19 kB / 439.8 MB, free: 82.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-05/0.8625, allocations: 70.78 kB / 439.8 MB, free: 82.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/0.8674, allocations: 1.999 MB / 441.8 MB, free: 81.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.8826, allocations: 6.84 MB / 448.7 MB, free: 74.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.8868, allocations: 1.727 MB / 450.4 MB, free: 72.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-05/0.8869, allocations: 12.98 kB / 450.4 MB, free: 72.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/0.8888, allocations: 0.9002 MB / 451.3 MB, free: 71.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=123): time 3.988e-06/0.8888, allocations: 0 / 451.3 MB, free: 71.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.0132/0.902, allocations: 3.402 MB / 454.7 MB, free: 68.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.9021, allocations: 161.4 kB / 454.9 MB, free: 68.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.9041, allocations: 1.058 MB / 455.9 MB, free: 67.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.9044, allocations: 81.67 kB / 456 MB, free: 67.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000725/0.9051, allocations: 0.757 MB / 456.8 MB, free: 66.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.9056, allocations: 362.4 kB / 457.1 MB, free: 66.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.9057, allocations: 28 kB / 457.1 MB, free: 66.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9058, allocations: 357.9 kB / 457.5 MB, free: 65.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.9075, allocations: 0.6832 MB / 458.2 MB, free: 64.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.9093, allocations: 0.9525 MB / 459.1 MB, free: 63.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.911, allocations: 0.7323 MB / 459.9 MB, free: 63.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.9111, allocations: 0 / 459.9 MB, free: 63.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004565/0.9156, allocations: 2.02 MB / 461.9 MB, free: 61.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004906/0.9162, allocations: 2.453 MB / 464.3 MB, free: 58.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9162, allocations: 11.94 kB / 464.3 MB, free: 58.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.918, allocations: 0.4894 MB / 464.8 MB, free: 58.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.9192, allocations: 175.7 kB / 465 MB, free: 57.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009973/0.9292, allocations: 5.38 MB / 470.4 MB, free: 52.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.931, allocations: 198.9 kB / 470.6 MB, free: 52.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.9312, allocations: 48 kB / 470.6 MB, free: 52.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.9312, allocations: 4 kB / 470.6 MB, free: 52.09 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004088/0.9353, allocations: 1.851 MB / 472.5 MB, free: 50.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.9354, allocations: 8 kB / 472.5 MB, free: 50.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.937, allocations: 499.8 kB / 473 MB, free: 49.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.9381, allocations: 167.7 kB / 473.1 MB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009691/0.9478, allocations: 5.373 MB / 478.5 MB, free: 44.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.9496, allocations: 171.1 kB / 478.7 MB, free: 43.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.9497, allocations: 48 kB / 478.7 MB, free: 43.86 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: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.001542/0.9512, allocations: 0.7899 MB / 479.5 MB, free: 43.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.9516, allocations: 130.6 kB / 479.6 MB, free: 42.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.952, allocations: 172.5 kB / 479.8 MB, free: 42.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.9521, allocations: 16 kB / 479.8 MB, free: 42.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9521, allocations: 0 / 479.8 MB, free: 42.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.9521, allocations: 3.984 kB / 479.8 MB, free: 42.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/0.9598, allocations: 3.606 MB / 483.4 MB, free: 39.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9598, allocations: 0 / 483.4 MB, free: 39.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.9607, allocations: 99.83 kB / 483.5 MB, free: 39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.9622, allocations: 468.7 kB / 484 MB, free: 38.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.9624, allocations: 24 kB / 484 MB, free: 38.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009659/0.972, allocations: 5.359 MB / 489.4 MB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9721, allocations: 3.953 kB / 489.4 MB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006628/0.9787, allocations: 2.651 MB / 492 MB, free: 30.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.9803, allocations: 371.3 kB / 492.4 MB, free: 29.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/0.9808, allocations: 47.95 kB / 492.4 MB, free: 29.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/0.9828, allocations: 107.9 kB / 492.5 MB, free: 29.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/0.984, allocations: 220.7 kB / 492.8 MB, free: 29.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/0.9842, allocations: 43.88 kB / 492.8 MB, free: 29.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002537/0.9867, allocations: 0.8112 MB / 493.6 MB, free: 28.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.9868, allocations: 4 kB / 493.6 MB, free: 28.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004632/0.9914, allocations: 0.8527 MB / 494.5 MB, free: 27.88 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.00983/1.001, allocations: 3.303 MB / 497.8 MB, free: 24.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.013, allocations: 3.113 MB / 0.4891 GB, free: 21.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.013, allocations: 4 kB / 0.4892 GB, free: 21.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003856/1.017, allocations: 1.089 MB / 0.4902 GB, free: 20.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/1.02, allocations: 316 kB / 0.4905 GB, free: 20 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.037, allocations: 9.395 MB / 0.4997 GB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.039, allocations: 1.726 MB / 0.5014 GB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001964/1.04, allocations: 438.4 kB / 0.5018 GB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.042, allocations: 0.6164 MB / 0.5024 GB, free: 7.555 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/1.042, allocations: 0 / 0.5024 GB, free: 7.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/1.197, allocations: 40.48 MB / 0.5419 GB, free: 15.04 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003653/1.198, allocations: 265.5 kB / 0.5422 GB, free: 14.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/5.273, allocations: 0 / 0.5422 GB, free: 14.68 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat