Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001587, allocations: 105.1 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 64.77 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006531/0.308, allocations: 4.65 MB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3111, allocations: 1.328 MB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.3115, allocations: 27.81 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.312, allocations: 174.6 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3132, allocations: 370 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3137, allocations: 219.6 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.3155, allocations: 1.627 MB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.3164, allocations: 0.5873 MB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009401/0.3173, allocations: 0.7047 MB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.3186, allocations: 0.8756 MB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.3189, allocations: 180 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3192, allocations: 180 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.3197, allocations: 490.5 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008395/0.3205, allocations: 0.7971 MB / 444.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.3228, allocations: 2.278 MB / 446.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3228, allocations: 0 / 446.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3228, allocations: 0 / 446.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.3228, allocations: 7.938 kB / 446.4 MB, free: 8.324 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003859/0.3267, allocations: 2.057 MB / 448.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3268, allocations: 8.031 kB / 448.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.327, allocations: 176.8 kB / 448.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.3277, allocations: 211.8 kB / 448.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.3296, allocations: 0.9749 MB / 449.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.3297, allocations: 82.44 kB / 449.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.3299, allocations: 107.9 kB / 450 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.3325, allocations: 1.549 MB / 451.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.3325, allocations: 4 kB / 451.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3326, allocations: 44 kB / 451.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.3327, allocations: 46.05 kB / 451.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.3352, allocations: 1.433 MB / 453.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007552/0.3428, allocations: 4.834 MB / 457.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3443, allocations: 0.9383 MB / 458.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3456, allocations: 0.6806 MB / 459.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.3457, allocations: 16.53 kB / 459.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.3468, allocations: 0.6046 MB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.554e-06/0.3468, allocations: 0 / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005993/0.3528, allocations: 2.368 MB / 462.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3529, allocations: 85.77 kB / 462.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.3544, allocations: 0.9659 MB / 463.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.3545, allocations: 45.69 kB / 463.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.355, allocations: 0.5436 MB / 464.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3553, allocations: 242 kB / 464.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.3555, allocations: 130.6 kB / 464.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3557, allocations: 334 kB / 464.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.3564, allocations: 413.7 kB / 465.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008821/0.3573, allocations: 0.5525 MB / 465.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.3588, allocations: 0.9483 MB / 466.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3588, allocations: 0 / 466.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002397/0.3612, allocations: 1.287 MB / 468 MB, free: 2.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3612, allocations: 4 kB / 468 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3612, allocations: 12.02 kB / 468.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000977/0.3622, allocations: 399.1 kB / 468.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.3627, allocations: 119.8 kB / 468.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/0.369, allocations: 4.404 MB / 473 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.3698, allocations: 79.77 kB / 473 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.3699, allocations: 28 kB / 473.1 MB, free: 12.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0009674/0.3708, allocations: 0.4952 MB / 473.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.3711, allocations: 99.39 kB / 473.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.3713, allocations: 120.8 kB / 473.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3713, allocations: 8 kB / 473.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3713, allocations: 3.938 kB / 473.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.3713, allocations: 3.984 kB / 473.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/0.3757, allocations: 2.563 MB / 476.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3757, allocations: 0 / 476.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.3761, allocations: 87.88 kB / 476.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000865/0.377, allocations: 389 kB / 476.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.3771, allocations: 15.98 kB / 476.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.3829, allocations: 4.37 MB / 481.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3829, allocations: 3.938 kB / 481.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.3862, allocations: 1.948 MB / 483.2 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.3867, allocations: 223.1 kB / 483.4 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3868, allocations: 12 kB / 483.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.3873, allocations: 47.94 kB / 483.4 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.3875, allocations: 80.45 kB / 483.5 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.3875, allocations: 31.92 kB / 483.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00102/0.3885, allocations: 0.6903 MB / 484.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3885, allocations: 0 / 484.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3896, allocations: 343.2 kB / 484.6 MB, free: 1.285 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003538/0.3931, allocations: 2.525 MB / 487.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.3956, allocations: 1.246 MB / 488.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3956, allocations: 0 / 488.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.397, allocations: 0.7913 MB / 489.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3982, allocations: 255.2 kB / 489.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.416, allocations: 10.89 MB / 0.4885 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.4173, allocations: 1.4 MB / 0.4899 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.4179, allocations: 167.5 kB / 0.4901 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.4185, allocations: 423.3 kB / 0.4905 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4185, allocations: 0 / 0.4905 GB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/0.5324, allocations: 29.65 MB / 0.5194 GB, free: 1.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.08, allocations: 6.875 kB / 0.5194 GB, free: 1.98 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.602861780207604] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'rootMeanSquareVoltage.mean.y'] 14.188427176792175 14.204895526 13.878573894 Calling exit ...