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.HalfControlledBridge2mPulse.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.HalfControlledBridge2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3044, allocations: 44.5 MB / 308.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4649, allocations: 87.66 MB / 396.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/0.4653, allocations: 91.94 kB / 396.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3678/0.8331, allocations: 28.46 MB / 424.8 MB, free: 85.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8331, allocations: 0 / 424.8 MB, free: 85.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.8333, allocations: 50.95 kB / 424.8 MB, free: 85.96 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.007054/0.8404, allocations: 2.059 MB / 426.9 MB, free: 84.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.8405, allocations: 13.5 kB / 426.9 MB, free: 84.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008751/0.8414, allocations: 245.8 kB / 427.2 MB, free: 84.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006055/0.842, allocations: 206.1 kB / 427.4 MB, free: 84.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/0.8492, allocations: 2.04 MB / 429.4 MB, free: 84.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.8495, allocations: 128.3 kB / 429.5 MB, free: 84.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004906/0.85, allocations: 167.9 kB / 429.7 MB, free: 84.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00576/0.8558, allocations: 2.24 MB / 431.9 MB, free: 84.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/0.8559, allocations: 3.844 kB / 431.9 MB, free: 84.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.8561, allocations: 73.09 kB / 432 MB, free: 84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-05/0.8562, allocations: 69.81 kB / 432.1 MB, free: 83.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005112/0.8614, allocations: 1.876 MB / 433.9 MB, free: 83.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/0.8768, allocations: 6.505 MB / 440.4 MB, free: 80.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.8807, allocations: 1.591 MB / 442 MB, free: 79.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-05/0.8809, allocations: 16.94 kB / 442.1 MB, free: 79.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.8827, allocations: 0.8458 MB / 442.9 MB, free: 78.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 4.559e-06/0.8827, allocations: 0 / 442.9 MB, free: 78.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=114): time 0.01371/0.8964, allocations: 3.423 MB / 446.3 MB, free: 75.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.8966, allocations: 164.6 kB / 446.5 MB, free: 75.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.8987, allocations: 1.016 MB / 447.5 MB, free: 74.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.899, allocations: 68.69 kB / 447.6 MB, free: 74.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.8997, allocations: 0.715 MB / 448.3 MB, free: 74.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000403/0.9001, allocations: 336.2 kB / 448.6 MB, free: 73.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.9003, allocations: 28 kB / 448.6 MB, free: 73.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9004, allocations: 353.9 kB / 449 MB, free: 73.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.9019, allocations: 0.6232 MB / 449.6 MB, free: 72.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.9035, allocations: 0.8949 MB / 450.5 MB, free: 71.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.905, allocations: 0.6705 MB / 451.2 MB, free: 71.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.9051, allocations: 0 / 451.2 MB, free: 71.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004379/0.9095, allocations: 1.895 MB / 453.1 MB, free: 69.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004963/0.91, allocations: 2.444 MB / 455.5 MB, free: 66.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.91, allocations: 8 kB / 455.5 MB, free: 66.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.9118, allocations: 495.5 kB / 456 MB, free: 66.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.9131, allocations: 159.7 kB / 456.2 MB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.9234, allocations: 5.465 MB / 461.6 MB, free: 60.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.9252, allocations: 183.2 kB / 461.8 MB, free: 60.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.9253, allocations: 43.12 kB / 461.8 MB, free: 60.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9254, allocations: 4 kB / 461.8 MB, free: 60.13 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004006/0.9294, allocations: 1.731 MB / 463.6 MB, free: 58.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.9295, allocations: 8 kB / 463.6 MB, free: 58.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.9311, allocations: 496.2 kB / 464.1 MB, free: 57.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.9323, allocations: 155.7 kB / 464.2 MB, free: 57.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.9427, allocations: 5.45 MB / 469.7 MB, free: 52.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.9445, allocations: 159.2 kB / 469.8 MB, free: 52.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.9448, allocations: 44 kB / 469.9 MB, free: 51.97 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: 57 ($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,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[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 (119): * Single equations (assignments): 118 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.001786/0.9466, allocations: 0.7497 MB / 470.6 MB, free: 51.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.947, allocations: 130.4 kB / 470.7 MB, free: 51.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.9476, allocations: 164.1 kB / 470.9 MB, free: 50.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.9476, allocations: 8 kB / 470.9 MB, free: 50.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.9476, allocations: 4 kB / 470.9 MB, free: 50.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.9477, allocations: 3.984 kB / 470.9 MB, free: 50.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008454/0.9561, allocations: 3.421 MB / 474.3 MB, free: 47.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.9562, allocations: 3.984 kB / 474.3 MB, free: 47.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/0.957, allocations: 90.77 kB / 474.4 MB, free: 47.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.9587, allocations: 475.5 kB / 474.9 MB, free: 46.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.959, allocations: 19.98 kB / 474.9 MB, free: 46.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.9694, allocations: 5.438 MB / 480.4 MB, free: 41.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9694, allocations: 0 / 480.4 MB, free: 41.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/0.9754, allocations: 2.544 MB / 482.9 MB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.9765, allocations: 355.3 kB / 483.2 MB, free: 38.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/0.977, allocations: 39.92 kB / 483.3 MB, free: 38.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.9784, allocations: 107.9 kB / 483.4 MB, free: 38.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005573/0.979, allocations: 172.7 kB / 483.6 MB, free: 38.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.9791, allocations: 28 kB / 483.6 MB, free: 38.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001596/0.9807, allocations: 0.783 MB / 484.4 MB, free: 37.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9807, allocations: 0 / 484.4 MB, free: 37.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003179/0.9839, allocations: 0.8098 MB / 485.2 MB, free: 36.43 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: 42 (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.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,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 (79): * Single equations (assignments): 69 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.006308/0.9903, allocations: 3.186 MB / 488.4 MB, free: 33.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007834/0.9981, allocations: 2.985 MB / 491.4 MB, free: 30.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.9982, allocations: 0 / 491.4 MB, free: 30.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/1.001, allocations: 1.06 MB / 492.4 MB, free: 29.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.003, allocations: 307.8 kB / 492.7 MB, free: 28.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.015, allocations: 9.081 MB / 0.49 GB, free: 19.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.017, allocations: 1.671 MB / 0.4917 GB, free: 17.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001929/1.019, allocations: 401.6 kB / 0.492 GB, free: 17.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.02, allocations: 0.5735 MB / 0.4926 GB, free: 16.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/1.02, allocations: 0 / 0.4926 GB, free: 16.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.13, allocations: 38.89 MB / 0.5306 GB, free: 10.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005514/1.131, allocations: 278.1 kB / 0.5309 GB, free: 9.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/5.027, allocations: 0 / 0.5309 GB, free: 9.648 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat