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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001592/0.001592, allocations: 121.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.001844/0.001844, allocations: 205 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.52/1.52, 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",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.001992/0.001992, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 53.31 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006837/0.1139, allocations: 3.766 MB / 430.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1164, allocations: 0.9971 MB / 431.8 MB, free: 8 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.2207/0.3372, allocations: 9.328 kB / 431.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.3377, allocations: 78.12 kB / 431.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.3384, allocations: 148.5 kB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.3389, allocations: 176 kB / 432.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000762/0.3397, allocations: 0.6163 MB / 432.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3401, allocations: 148.8 kB / 432.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.3405, allocations: 249.5 kB / 433.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.3408, allocations: 254.4 kB / 433.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3409, allocations: 56.19 kB / 433.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.341, allocations: 60.12 kB / 433.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3412, allocations: 128.9 kB / 433.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3414, allocations: 269.5 kB / 433.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.3421, allocations: 0.6508 MB / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3421, allocations: 0 / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3421, allocations: 1.125 kB / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3421, allocations: 0 / 434.6 MB, free: 7.242 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001357/0.3434, allocations: 0.8049 MB / 435.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3435, allocations: 9.594 kB / 435.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.685e-05/0.3436, allocations: 81.39 kB / 435.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.3438, allocations: 70.2 kB / 435.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.3443, allocations: 383.4 kB / 435.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.3443, allocations: 36.61 kB / 436 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/0.3444, allocations: 42.88 kB / 436 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.3452, allocations: 463.4 kB / 436.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3452, allocations: 1.25 kB / 436.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.3452, allocations: 20.58 kB / 436.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3453, allocations: 11.72 kB / 436.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.3459, allocations: 327.8 kB / 436.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3484, allocations: 1.852 MB / 438.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.3492, allocations: 0.5712 MB / 439.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.3498, allocations: 251.9 kB / 439.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.3498, allocations: 4.312 kB / 439.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004805/0.3503, allocations: 267.4 kB / 439.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.3503, allocations: 4 kB / 439.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002437/0.3528, allocations: 0.8358 MB / 440.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3528, allocations: 86.3 kB / 440.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.3532, allocations: 323.7 kB / 441 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3533, allocations: 36.77 kB / 441 MB, free: 3.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3534, allocations: 224.1 kB / 441.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3535, allocations: 142.6 kB / 441.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.3537, allocations: 86.52 kB / 441.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.3538, allocations: 359.2 kB / 441.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.354, allocations: 120.2 kB / 441.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3543, allocations: 255.6 kB / 442.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.3549, allocations: 370.9 kB / 442.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3549, allocations: 1.188 kB / 442.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009084/0.3558, allocations: 0.504 MB / 443.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3558, allocations: 7.812 kB / 443.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3558, allocations: 4.422 kB / 443.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.3564, allocations: 162.2 kB / 443.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.3567, allocations: 63.3 kB / 443.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.3593, allocations: 2.545 MB / 445.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.3596, allocations: 52.92 kB / 445.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3596, allocations: 18.19 kB / 445.9 MB, free: 192 kB / 350.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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.3598, allocations: 182 kB / 446.1 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.3599, allocations: 39.8 kB / 446.1 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.3601, allocations: 51.98 kB / 446.2 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3601, allocations: 8.844 kB / 446.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3601, allocations: 0.875 kB / 446.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3601, allocations: 3.438 kB / 446.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.3618, allocations: 1.022 MB / 447.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3618, allocations: 0 / 447.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3619, allocations: 32.59 kB / 447.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.3624, allocations: 146.3 kB / 447.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.3624, allocations: 12.94 kB / 447.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.3655, allocations: 2.537 MB / 449.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3655, allocations: 5.219 kB / 449.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3667, allocations: 0.7049 MB / 450.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.3669, allocations: 160.2 kB / 450.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.367, allocations: 11.41 kB / 450.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.3672, allocations: 21.98 kB / 450.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3673, allocations: 35.33 kB / 450.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.3674, allocations: 14.41 kB / 450.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002933/0.3676, allocations: 228.5 kB / 451.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3676, allocations: 0 / 451.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006733/0.3683, allocations: 145.1 kB / 451.2 MB, free: 12.54 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001663/0.37, allocations: 1.264 MB / 452.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3711, allocations: 0.5263 MB / 453 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3711, allocations: 0 / 453 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.3717, allocations: 372.3 kB / 453.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.3722, allocations: 77.58 kB / 453.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.3784, allocations: 3.987 MB / 457.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.3789, allocations: 0.8368 MB / 458.3 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.3791, allocations: 40.45 kB / 458.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.3793, allocations: 141.4 kB / 458.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3793, allocations: 0 / 458.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/0.4237, allocations: 11.05 MB / 469.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.75, allocations: 13.48 kB / 469.5 MB, free: 3.441 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_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_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.355320540256798] 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'] 12.852221597917378 12.868729586 12.523651161 Calling exit ...