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.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001768/0.001768, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002381/0.002381, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.00197/0.00197, allocations: 64.77 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007223/0.2876, allocations: 4.812 MB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.2908, allocations: 1.39 MB / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005339/0.2914, allocations: 35.75 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007619/0.2921, allocations: 222.4 kB / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.2932, allocations: 382 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.2938, allocations: 223.6 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.2958, allocations: 1.545 MB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008947/0.2967, allocations: 0.5633 MB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.2976, allocations: 0.662 MB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2988, allocations: 0.7861 MB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.2991, allocations: 168 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.2994, allocations: 168 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.2998, allocations: 442.7 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009045/0.3007, allocations: 0.7388 MB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.3035, allocations: 2.107 MB / 446.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.3036, allocations: 4 kB / 446.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3036, allocations: 0 / 446.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-05/0.3036, allocations: 0 / 446.2 MB, free: 8.574 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003882/0.3075, allocations: 1.9 MB / 448.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3075, allocations: 11.97 kB / 448.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.3078, allocations: 160.4 kB / 448.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.3083, allocations: 172 kB / 448.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.31, allocations: 0.9086 MB / 449.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.3101, allocations: 74.38 kB / 449.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3103, allocations: 99.94 kB / 449.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.3128, allocations: 1.447 MB / 450.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.3129, allocations: 4 kB / 450.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.313, allocations: 40 kB / 451 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/0.313, allocations: 41.98 kB / 451 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.3153, allocations: 1.3 MB / 452.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007004/0.3223, allocations: 4.251 MB / 456.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.3241, allocations: 1.003 MB / 457.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3254, allocations: 0.6814 MB / 458.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.3254, allocations: 12.64 kB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.3264, allocations: 0.5898 MB / 458.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.295e-06/0.3264, allocations: 11.88 kB / 458.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007393/0.3338, allocations: 2.743 MB / 461.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.334, allocations: 115.5 kB / 461.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.3354, allocations: 0.8442 MB / 462.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.3354, allocations: 41.7 kB / 462.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.336, allocations: 0.5007 MB / 463.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.3363, allocations: 249.9 kB / 463.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.3366, allocations: 142.6 kB / 463.5 MB, free: 6.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3367, allocations: 334 kB / 463.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.3374, allocations: 389.7 kB / 464.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.3382, allocations: 0.5494 MB / 464.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.3397, allocations: 0.9093 MB / 465.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3398, allocations: 0 / 465.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002484/0.3422, allocations: 1.302 MB / 466.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3423, allocations: 4 kB / 466.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3423, allocations: 4 kB / 466.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.3435, allocations: 473.3 kB / 467.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.3438, allocations: 91.88 kB / 467.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/0.352, allocations: 5.48 MB / 473 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.3527, allocations: 83.58 kB / 473.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.3528, allocations: 28 kB / 473.1 MB, free: 13.09 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.000859/0.3536, allocations: 475.1 kB / 473.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3538, allocations: 99.33 kB / 473.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.354, allocations: 116.7 kB / 473.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.354, allocations: 4 kB / 473.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.354, allocations: 4 kB / 473.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.354, allocations: 3.984 kB / 473.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.3584, allocations: 2.559 MB / 476.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3584, allocations: 0 / 476.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.3587, allocations: 72.02 kB / 476.4 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.3597, allocations: 457 kB / 476.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.3597, allocations: 12 kB / 476.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007714/0.3674, allocations: 5.43 MB / 482.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.3675, allocations: 7.875 kB / 482.3 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.3706, allocations: 1.902 MB / 484.2 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.3712, allocations: 203.3 kB / 484.4 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3713, allocations: 15.94 kB / 484.4 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.3717, allocations: 47.94 kB / 484.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.3719, allocations: 72.52 kB / 484.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.372, allocations: 27.98 kB / 484.6 MB, free: 1.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009108/0.3729, allocations: 0.6005 MB / 485.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3729, allocations: 0 / 485.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00107/0.3739, allocations: 351.2 kB / 485.5 MB, free: 476 kB / 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003464/0.3774, allocations: 2.461 MB / 488 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.3798, allocations: 1.248 MB / 489.2 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3798, allocations: 4.875 kB / 489.2 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.3811, allocations: 0.7928 MB / 490 MB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.3823, allocations: 286.7 kB / 490.3 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.398, allocations: 9.846 MB / 0.4884 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.3991, allocations: 1.333 MB / 0.4897 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004513/0.3996, allocations: 147.4 kB / 0.4899 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.4001, allocations: 391.4 kB / 0.4902 GB, free: 15.65 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4001, allocations: 0 / 0.4902 GB, free: 15.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07882/0.479, allocations: 30.17 MB / 0.5197 GB, free: 1.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.92, allocations: 18.27 kB / 0.5197 GB, free: 1.824 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_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_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.562017109245062] 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.03590162890032 14.063977301 13.755695127 Calling exit ...