Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.001384/0.001384, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002006/0.002006, allocations: 220.4 kB / 23 MB, free: 5.613 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.452/1.452, allocations: 230.5 MB / 256.5 MB, free: 8.25 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.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",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.001799/0.001799, allocations: 67.98 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2965, allocations: 53.32 MB / 429.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008014/0.3045, allocations: 6.338 MB / 435.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.309, allocations: 2.257 MB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.3096, allocations: 23.94 kB / 438.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.3115, allocations: 0.7448 MB / 438.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3131, allocations: 0.6172 MB / 439.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3142, allocations: 0.526 MB / 440 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.3156, allocations: 1.195 MB / 441.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.3166, allocations: 0.6763 MB / 441.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.3172, allocations: 470.2 kB / 442.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.3179, allocations: 0.5367 MB / 442.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3181, allocations: 112 kB / 443 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.3187, allocations: 283.8 kB / 443.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.3189, allocations: 259.1 kB / 443.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.3195, allocations: 0.5403 MB / 444.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.3213, allocations: 1.494 MB / 445.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3213, allocations: 0 / 445.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3213, allocations: 0 / 445.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.3214, allocations: 0 / 445.6 MB, free: 7.285 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.003089/0.3245, allocations: 1.477 MB / 447.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3245, allocations: 12.03 kB / 447.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002332/0.3247, allocations: 158.4 kB / 447.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.3271, allocations: 395.9 kB / 447.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.3281, allocations: 0.5853 MB / 448.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.3281, allocations: 78.38 kB / 448.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3283, allocations: 104.3 kB / 448.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.33, allocations: 1.027 MB / 449.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3301, allocations: 0 / 449.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.3302, allocations: 44 kB / 449.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.3302, allocations: 31.98 kB / 449.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.3319, allocations: 0.8588 MB / 450.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.3373, allocations: 3.61 MB / 453.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.3398, allocations: 1.826 MB / 455.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.3407, allocations: 423.4 kB / 456.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.3409, allocations: 178.8 kB / 456.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008919/0.3418, allocations: 0.4929 MB / 456.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.024e-06/0.3418, allocations: 0 / 456.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004578/0.3463, allocations: 1.674 MB / 458.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3465, allocations: 197 kB / 458.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.3471, allocations: 478 kB / 459.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.3471, allocations: 45.7 kB / 459.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.3475, allocations: 428.7 kB / 459.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.3478, allocations: 293.5 kB / 459.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.348, allocations: 154.6 kB / 460.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3482, allocations: 374.8 kB / 460.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.3488, allocations: 273.9 kB / 460.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.3495, allocations: 483.2 kB / 461.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.3508, allocations: 0.7473 MB / 461.9 MB, free: 6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3508, allocations: 8 kB / 461.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002042/0.3528, allocations: 1.018 MB / 463 MB, free: 4.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3529, allocations: 10.97 kB / 463 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3529, allocations: 4.219 kB / 463 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009114/0.3538, allocations: 265.6 kB / 463.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.3543, allocations: 151.7 kB / 463.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/0.3603, allocations: 4.868 MB / 468.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.3609, allocations: 103.4 kB / 468.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.3609, allocations: 32 kB / 468.4 MB, free: 15.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004584/0.3614, allocations: 250.3 kB / 468.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3615, allocations: 71.52 kB / 468.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.3636, allocations: 0.9515 MB / 469.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3636, allocations: 8 kB / 469.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3636, allocations: 4 kB / 469.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3636, allocations: 3.984 kB / 469.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.367, allocations: 1.902 MB / 471.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.367, allocations: 0 / 471.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.3674, allocations: 99.81 kB / 471.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007975/0.3682, allocations: 261.5 kB / 471.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.3683, allocations: 19.98 kB / 471.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/0.3739, allocations: 4.82 MB / 476.8 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3739, allocations: 4.219 kB / 476.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.3766, allocations: 1.362 MB / 478.1 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.3769, allocations: 224.3 kB / 478.3 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.377, allocations: 16 kB / 478.4 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.3775, allocations: 43.95 kB / 478.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.3776, allocations: 72.84 kB / 478.5 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.3777, allocations: 27.98 kB / 478.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004152/0.3781, allocations: 326.9 kB / 478.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3781, allocations: 0 / 478.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001089/0.3792, allocations: 307.4 kB / 479.1 MB, free: 4.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003075/0.3823, allocations: 1.977 MB / 481.1 MB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.3845, allocations: 1.046 MB / 482.1 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.3845, allocations: 3.984 kB / 482.2 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3857, allocations: 0.7042 MB / 482.9 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.3863, allocations: 135 kB / 483 MB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.3968, allocations: 6.532 MB / 489.5 MB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.3975, allocations: 0.9982 MB / 490.5 MB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000341/0.3978, allocations: 85.48 kB / 490.6 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.3982, allocations: 335.2 kB / 490.9 MB, free: 7.918 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3982, allocations: 0 / 490.9 MB, free: 7.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/0.4603, allocations: 19.85 MB / 0.4988 GB, free: 4.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.19, allocations: 3.938 kB / 0.4988 GB, free: 4.316 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.559195384994382] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageQS.pin_p.reference.gamma', 'iAC.mean1.y', 'iAC.mean2.y', 'iDC2.mean.y'] 15.291486091999104 15.31683216 14.990783828 Calling exit ...