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.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001464/0.001464, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001647/0.001647, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.511/1.511, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.002036/0.002036, allocations: 67.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1177, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005737/0.1234, allocations: 3.725 MB / 430.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.238/0.3615, allocations: 1.088 MB / 431.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.3621, allocations: 23.38 kB / 431.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.3624, allocations: 104 kB / 432 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000899/0.3633, allocations: 235.1 kB / 432.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3637, allocations: 160.7 kB / 432.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009916/0.3647, allocations: 0.9644 MB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.3652, allocations: 454.1 kB / 433.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.3657, allocations: 433.6 kB / 434.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.3662, allocations: 0.5015 MB / 434.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3664, allocations: 102.3 kB / 434.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.3666, allocations: 106.7 kB / 434.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3668, allocations: 284.6 kB / 435.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.3672, allocations: 481.1 kB / 435.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.3687, allocations: 1.302 MB / 436.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3687, allocations: 1.062 kB / 436.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3687, allocations: 0 / 436.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.3687, allocations: 0 / 436.9 MB, free: 6.941 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002323/0.371, allocations: 1.209 MB / 438.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.371, allocations: 9.406 kB / 438.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.3712, allocations: 113.1 kB / 438.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/0.3717, allocations: 132.4 kB / 438.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.3726, allocations: 0.6614 MB / 439.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.3727, allocations: 48.09 kB / 439.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.3728, allocations: 68.47 kB / 439.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.3745, allocations: 0.9197 MB / 440.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3745, allocations: 1.125 kB / 440.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.3745, allocations: 31.62 kB / 440.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.3746, allocations: 31.12 kB / 440.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3759, allocations: 0.7927 MB / 440.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.3801, allocations: 2.791 MB / 443.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.3809, allocations: 0.7094 MB / 444.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.3814, allocations: 313.2 kB / 444.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3815, allocations: 5.781 kB / 444.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006066/0.3821, allocations: 383.9 kB / 445.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.3821, allocations: 0 / 445.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00291/0.385, allocations: 1.226 MB / 446.4 MB, free: 2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.3851, allocations: 121.7 kB / 446.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.3859, allocations: 0.595 MB / 447.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.3859, allocations: 36.48 kB / 447.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.3862, allocations: 367.6 kB / 447.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3863, allocations: 141.5 kB / 447.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.3865, allocations: 87.86 kB / 447.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3866, allocations: 367 kB / 448 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.387, allocations: 218.5 kB / 448.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.3875, allocations: 367.9 kB / 448.6 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.3883, allocations: 0.5687 MB / 449.2 MB, free: 132 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3883, allocations: 1.125 kB / 449.2 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001516/0.3899, allocations: 0.7555 MB / 449.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3899, allocations: 7.281 kB / 450 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3899, allocations: 3.188 kB / 450 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.3905, allocations: 211 kB / 450.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.3908, allocations: 72.8 kB / 450.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/0.3948, allocations: 3.027 MB / 453.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.3953, allocations: 58.53 kB / 453.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.3953, allocations: 24.78 kB / 453.3 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.3959, allocations: 335.9 kB / 453.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.396, allocations: 58.81 kB / 453.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.3961, allocations: 66.17 kB / 453.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3961, allocations: 4.719 kB / 453.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3961, allocations: 4 kB / 453.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3961, allocations: 4.172 kB / 453.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.399, allocations: 1.739 MB / 455.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.399, allocations: 0 / 455.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3992, allocations: 42.22 kB / 455.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.3997, allocations: 200.8 kB / 455.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.3997, allocations: 15.17 kB / 455.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003543/0.4033, allocations: 2.913 MB / 458.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4033, allocations: 0 / 458.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4052, allocations: 1.144 MB / 459.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.4056, allocations: 198.1 kB / 460 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.4056, allocations: 5.781 kB / 460.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4059, allocations: 29.34 kB / 460.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4061, allocations: 42.91 kB / 460.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4061, allocations: 21.58 kB / 460.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006317/0.4067, allocations: 428.7 kB / 460.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4067, allocations: 0 / 460.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.4076, allocations: 210 kB / 460.8 MB, free: 8.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/0.4102, allocations: 1.707 MB / 462.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.4118, allocations: 0.7173 MB / 463.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.4118, allocations: 1.281 kB / 463.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.4126, allocations: 474.7 kB / 463.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.4134, allocations: 152.6 kB / 463.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4238, allocations: 6.623 MB / 470.4 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/0.4247, allocations: 1.082 MB / 471.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.425, allocations: 105.5 kB / 471.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.4253, allocations: 240.2 kB / 471.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4253, allocations: 0 / 471.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/0.4788, allocations: 16.8 MB / 488.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.04, allocations: 19.88 kB / 488.7 MB, free: 1.426 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_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_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.681244344916195] 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'] 13.13609045278281 13.154474145 12.78209213 Calling exit ...