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_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003511, allocations: 8 kB / 264.1 MB, free: 3.453 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.4471, allocations: 87.36 MB / 395.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.4475, allocations: 95.94 kB / 396 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.425/0.8726, allocations: 46.96 MB / 443 MB, free: 81.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.8726, allocations: 0 / 443 MB, free: 81.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001879/0.8728, allocations: 55.38 kB / 443.1 MB, free: 81.15 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: 442 * Number of variables: 442 Notification: Performance of Generate backend data structure: time 0.007445/0.8803, allocations: 2.124 MB / 445.2 MB, free: 78.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.8804, allocations: 12.02 kB / 445.2 MB, free: 78.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000989/0.8814, allocations: 261.2 kB / 445.4 MB, free: 78.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.882, allocations: 229.2 kB / 445.7 MB, free: 78.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007266/0.8893, allocations: 2.075 MB / 447.7 MB, free: 76.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.8895, allocations: 135.4 kB / 447.9 MB, free: 76.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.8899, allocations: 172 kB / 448 MB, free: 76.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005591/0.8955, allocations: 2.404 MB / 450.4 MB, free: 73.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/0.8956, allocations: 0 / 450.4 MB, free: 73.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.8959, allocations: 68 kB / 450.5 MB, free: 73.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.896, allocations: 87.33 kB / 450.6 MB, free: 73.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/0.9012, allocations: 1.992 MB / 452.6 MB, free: 71.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.9164, allocations: 6.783 MB / 459.4 MB, free: 64.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/0.9207, allocations: 1.724 MB / 461.1 MB, free: 62.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.797e-05/0.9208, allocations: 16.98 kB / 461.1 MB, free: 62.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.9227, allocations: 0.9046 MB / 462 MB, free: 61.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.098e-06/0.9227, allocations: 0 / 462 MB, free: 61.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.01337/0.9361, allocations: 3.355 MB / 465.4 MB, free: 58.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.9362, allocations: 153.5 kB / 465.5 MB, free: 58.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.9385, allocations: 1.057 MB / 466.6 MB, free: 57.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/0.9388, allocations: 77.67 kB / 466.7 MB, free: 57.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007655/0.9396, allocations: 0.7477 MB / 467.4 MB, free: 56.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.9401, allocations: 366.1 kB / 467.8 MB, free: 56.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.9403, allocations: 28 kB / 467.8 MB, free: 56.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9404, allocations: 357.9 kB / 468.1 MB, free: 55.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.9421, allocations: 0.6792 MB / 468.8 MB, free: 55.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.9441, allocations: 0.9525 MB / 469.8 MB, free: 54.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.9458, allocations: 0.7168 MB / 470.5 MB, free: 53.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.9459, allocations: 7.953 kB / 470.5 MB, free: 53.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004714/0.9506, allocations: 2.016 MB / 472.5 MB, free: 51.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005637/0.9512, allocations: 2.447 MB / 475 MB, free: 48.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.9512, allocations: 4 kB / 475 MB, free: 48.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.9531, allocations: 498.7 kB / 475.5 MB, free: 48.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.9544, allocations: 167.7 kB / 475.6 MB, free: 47.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.9645, allocations: 5.41 MB / 481 MB, free: 42.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.9664, allocations: 191.1 kB / 481.2 MB, free: 42.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.9665, allocations: 44 kB / 481.3 MB, free: 42.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9665, allocations: 4 kB / 481.3 MB, free: 42.21 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004089/0.9706, allocations: 1.847 MB / 483.1 MB, free: 40.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.9707, allocations: 12 kB / 483.1 MB, free: 40.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.9723, allocations: 493 kB / 483.6 MB, free: 39.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.9734, allocations: 167.7 kB / 483.8 MB, free: 39.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009769/0.9832, allocations: 5.404 MB / 489.2 MB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.985, allocations: 163.2 kB / 489.3 MB, free: 34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.9851, allocations: 52 kB / 489.4 MB, free: 33.95 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 (136): * Single equations (assignments): 135 * 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.001591/0.9867, allocations: 0.7863 MB / 490.2 MB, free: 33.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.987, allocations: 126.5 kB / 490.3 MB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.9875, allocations: 172.5 kB / 490.5 MB, free: 32.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.9875, allocations: 15.95 kB / 490.5 MB, free: 32.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.9875, allocations: 0 / 490.5 MB, free: 32.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.9876, allocations: 7.969 kB / 490.5 MB, free: 32.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007731/0.9953, allocations: 3.589 MB / 494.1 MB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.9954, allocations: 0 / 494.1 MB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.9962, allocations: 103.8 kB / 494.2 MB, free: 29.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.9978, allocations: 468.7 kB / 494.6 MB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.9979, allocations: 19.98 kB / 494.6 MB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0098/1.008, allocations: 5.357 MB / 0.4883 GB, free: 23.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.008, allocations: 7.969 kB / 0.4883 GB, free: 23.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005883/1.014, allocations: 2.648 MB / 0.4909 GB, free: 20.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.015, allocations: 367.2 kB / 0.4912 GB, free: 20.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.015, allocations: 47.97 kB / 0.4913 GB, free: 20.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.016, allocations: 99.91 kB / 0.4914 GB, free: 19.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/1.017, allocations: 228.6 kB / 0.4916 GB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.017, allocations: 35.98 kB / 0.4916 GB, free: 19.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00162/1.019, allocations: 0.8071 MB / 0.4924 GB, free: 18.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.019, allocations: 4 kB / 0.4924 GB, free: 18.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003287/1.022, allocations: 0.8489 MB / 0.4932 GB, free: 18.01 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[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.006156/1.028, allocations: 3.293 MB / 0.4965 GB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007928/1.036, allocations: 3.113 MB / 0.4995 GB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.036, allocations: 0 / 0.4995 GB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/1.039, allocations: 1.078 MB / 0.5006 GB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.041, allocations: 316.9 kB / 0.5009 GB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.053, allocations: 9.348 MB / 0.51 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/1.056, allocations: 1.726 MB / 0.5117 GB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002232/1.058, allocations: 434.4 kB / 0.5121 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.059, allocations: 0.6164 MB / 0.5127 GB, free: 13.77 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/1.06, allocations: 0 / 0.5127 GB, free: 13.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.179, allocations: 40.35 MB / 0.5521 GB, free: 5.391 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000382/1.18, allocations: 260.2 kB / 0.5523 GB, free: 5.035 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.21/5.39, allocations: 7.891 kB / 0.5524 GB, free: 5.027 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_RL_res.mat does not exist to compare? outputFormat=mat