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.001344/0.001344, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001406/0.001406, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.492/1.492, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002753/0.002753, allocations: 67.84 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1264, allocations: 53.33 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2266/0.353, allocations: 4.77 MB / 431.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.3561, allocations: 1.375 MB / 433.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.3567, allocations: 38.22 kB / 433.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.3574, allocations: 227.8 kB / 433.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3585, allocations: 362.4 kB / 433.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.359, allocations: 223.1 kB / 434 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.3603, allocations: 1.545 MB / 435.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009123/0.3612, allocations: 0.721 MB / 436.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.3621, allocations: 0.6572 MB / 436.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.3632, allocations: 0.7869 MB / 437.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.3634, allocations: 165.6 kB / 437.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.3637, allocations: 171.4 kB / 438 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.3641, allocations: 452.6 kB / 438.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007437/0.3648, allocations: 0.7337 MB / 439.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.3674, allocations: 2.104 MB / 441.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3674, allocations: 5.125 kB / 441.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.3674, allocations: 0.6094 kB / 441.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.217e-05/0.3675, allocations: 0 / 441.3 MB, free: 4.859 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.003492/0.371, allocations: 1.685 MB / 443 MB, free: 3.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.371, allocations: 9.375 kB / 443 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002001/0.3712, allocations: 155.6 kB / 443.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.3717, allocations: 172.6 kB / 443.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3732, allocations: 0.9771 MB / 444.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.3732, allocations: 77.58 kB / 444.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.3734, allocations: 101.5 kB / 444.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.3759, allocations: 1.444 MB / 445.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3759, allocations: 5.375 kB / 445.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3761, allocations: 42.59 kB / 446 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.3761, allocations: 44.38 kB / 446 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.3784, allocations: 1.289 MB / 447.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006551/0.3849, allocations: 4.315 MB / 451.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.3875, allocations: 1.895 MB / 453.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.3889, allocations: 0.6835 MB / 454.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.3889, allocations: 7.188 kB / 454.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.39, allocations: 0.6007 MB / 454.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.39, allocations: 0 / 454.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007841/0.3979, allocations: 2.813 MB / 457.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.398, allocations: 115.7 kB / 457.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.3994, allocations: 0.8425 MB / 458.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/0.3995, allocations: 42.27 kB / 458.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.4001, allocations: 0.4927 MB / 459.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.4004, allocations: 253.6 kB / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.4006, allocations: 137.7 kB / 459.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4008, allocations: 333.9 kB / 459.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.4015, allocations: 395.5 kB / 460.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/0.4024, allocations: 0.5493 MB / 460.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.4039, allocations: 0.9131 MB / 461.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.4039, allocations: 1.156 kB / 461.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002477/0.4064, allocations: 1.289 MB / 463 MB, free: 8.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4064, allocations: 6.281 kB / 463 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4064, allocations: 3.625 kB / 463 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.4077, allocations: 477.6 kB / 463.4 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.408, allocations: 92.95 kB / 463.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/0.4159, allocations: 5.588 MB / 469.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.4167, allocations: 77.95 kB / 469.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.4168, allocations: 36.7 kB / 469.2 MB, free: 3.875 MB / 366.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_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: 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.0009009/0.4177, allocations: 460.2 kB / 469.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.4179, allocations: 90.44 kB / 469.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.4182, allocations: 116.6 kB / 469.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4182, allocations: 8.531 kB / 469.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4182, allocations: 0 / 469.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4182, allocations: 7.922 kB / 469.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.4225, allocations: 2.591 MB / 472.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4225, allocations: 0 / 472.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.4229, allocations: 68.52 kB / 472.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.4239, allocations: 455.4 kB / 473 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.424, allocations: 16 kB / 473 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/0.4316, allocations: 5.5 MB / 478.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.4316, allocations: 4 kB / 478.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.4348, allocations: 1.89 MB / 480.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/0.4354, allocations: 284.3 kB / 480.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.4356, allocations: 12 kB / 480.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.436, allocations: 47.89 kB / 480.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.4362, allocations: 72.55 kB / 480.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.4363, allocations: 29.05 kB / 480.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009375/0.4372, allocations: 0.6005 MB / 481.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4372, allocations: 0 / 481.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4384, allocations: 343.4 kB / 481.8 MB, free: 8.32 MB / 382.1 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.003418/0.4418, allocations: 2.47 MB / 484.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.4443, allocations: 1.257 MB / 485.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4443, allocations: 4 kB / 485.5 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4456, allocations: 0.7899 MB / 486.3 MB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.447, allocations: 284.5 kB / 486.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.463, allocations: 9.83 MB / 496.4 MB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.4642, allocations: 1.333 MB / 497.7 MB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004807/0.4647, allocations: 146.7 kB / 497.9 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.4652, allocations: 387.3 kB / 498.3 MB, free: 7.551 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4652, allocations: 0 / 498.3 MB, free: 7.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07384/0.5391, allocations: 29.58 MB / 0.5155 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.81, allocations: 11.47 kB / 0.5155 GB, free: 10.38 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.40585986105725] 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.915702261030674 13.939624008 13.567659866 Calling exit ...