Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 252.7 MB, free: 8.324 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 211.3 kB / 309.2 MB, free: 3.164 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04338/0.04338, allocations: 8.916 MB / 374.6 MB, free: 1.914 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 83.88 kB / 0.4892 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3215, allocations: 55.61 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004538/0.3261, allocations: 4.578 MB / 0.548 GB, free: 23.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.3283, allocations: 1.23 MB / 0.5492 GB, free: 22.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.3286, allocations: 31.19 kB / 0.5492 GB, free: 22.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.329, allocations: 180.4 kB / 0.5494 GB, free: 22.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008702/0.3298, allocations: 370.5 kB / 0.5497 GB, free: 22.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3302, allocations: 190.8 kB / 0.5499 GB, free: 22.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3315, allocations: 1.657 MB / 0.5515 GB, free: 21.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006731/0.3322, allocations: 0.6183 MB / 0.5521 GB, free: 21.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.3328, allocations: 0.7381 MB / 0.5529 GB, free: 20.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.3336, allocations: 0.8641 MB / 0.5537 GB, free: 20.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.3338, allocations: 182.9 kB / 0.5539 GB, free: 20.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.334, allocations: 181.5 kB / 0.554 GB, free: 20.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.3343, allocations: 0.4987 MB / 0.5545 GB, free: 20.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006797/0.335, allocations: 0.8162 MB / 0.5553 GB, free: 19.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3368, allocations: 2.364 MB / 0.5576 GB, free: 18.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3368, allocations: 0 / 0.5576 GB, free: 18.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3368, allocations: 2.969 kB / 0.5576 GB, free: 18.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.3369, allocations: 0 / 0.5576 GB, free: 18.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002999/0.3398, allocations: 1.769 MB / 0.5594 GB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3399, allocations: 9.188 kB / 0.5594 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.3401, allocations: 180.1 kB / 0.5595 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.3406, allocations: 181.4 kB / 0.5597 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.3421, allocations: 0.944 MB / 0.5606 GB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.3421, allocations: 88.19 kB / 0.5607 GB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.3423, allocations: 119.9 kB / 0.5608 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.3448, allocations: 1.679 MB / 0.5625 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.3449, allocations: 7.219 kB / 0.5625 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.345, allocations: 46.12 kB / 0.5625 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/0.345, allocations: 48.64 kB / 0.5626 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.3474, allocations: 1.552 MB / 0.5641 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0071/0.3545, allocations: 4.917 MB / 0.5689 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.3564, allocations: 1.309 MB / 0.5702 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3576, allocations: 0.8042 MB / 0.571 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.3576, allocations: 14.45 kB / 0.571 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3577, allocations: 43.94 kB / 0.571 GB, free: 12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.444e-06/0.3577, allocations: 3.938 kB / 0.571 GB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.006866/0.3645, allocations: 3.783 MB / 0.5747 GB, free: 9.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3646, allocations: 66.55 kB / 0.5748 GB, free: 9.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3658, allocations: 0.8867 MB / 0.5756 GB, free: 9.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.3659, allocations: 42.23 kB / 0.5757 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.3661, allocations: 0.5113 MB / 0.5762 GB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.3663, allocations: 324.7 kB / 0.5765 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.3665, allocations: 147.8 kB / 0.5766 GB, free: 8.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.3666, allocations: 339.5 kB / 0.577 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/0.3674, allocations: 0.4953 MB / 0.5774 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/0.3682, allocations: 0.5678 MB / 0.578 GB, free: 7.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3696, allocations: 1.059 MB / 0.579 GB, free: 6.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3696, allocations: 1.094 kB / 0.579 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002397/0.372, allocations: 1.561 MB / 0.5806 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.372, allocations: 6.438 kB / 0.5806 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.372, allocations: 4.953 kB / 0.5806 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009775/0.373, allocations: 494.2 kB / 0.581 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.3736, allocations: 141.3 kB / 0.5812 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008154/0.3817, allocations: 9.186 MB / 0.5901 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.3824, allocations: 48.05 kB / 0.5902 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.3825, allocations: 24 kB / 0.5902 GB, free: 12.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008927/0.3834, allocations: 0.499 MB / 0.5907 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.3836, allocations: 99.39 kB / 0.5908 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.384, allocations: 133.3 kB / 0.5909 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.384, allocations: 8 kB / 0.5909 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/0.384, allocations: 4 kB / 0.5909 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.384, allocations: 7.984 kB / 0.5909 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/0.3898, allocations: 3.136 MB / 0.594 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3898, allocations: 0 / 0.594 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.3903, allocations: 115.9 kB / 0.5941 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.3914, allocations: 495 kB / 0.5946 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.3914, allocations: 16 kB / 0.5946 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.4016, allocations: 9.126 MB / 0.6035 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4016, allocations: 0 / 0.6035 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.4056, allocations: 2.336 MB / 0.6058 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/0.4063, allocations: 223.3 kB / 0.606 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4064, allocations: 24 kB / 0.606 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.4069, allocations: 56.06 kB / 0.6061 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.4071, allocations: 92.81 kB / 0.6062 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.4072, allocations: 28 kB / 0.6062 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000924/0.4081, allocations: 0.6356 MB / 0.6068 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4081, allocations: 4 kB / 0.6068 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001281/0.4094, allocations: 311.9 kB / 0.6071 GB, free: 10.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (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 simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004263/0.4137, allocations: 2.904 MB / 0.61 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.4167, allocations: 1.756 MB / 0.6117 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4167, allocations: 0 / 0.6117 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.4186, allocations: 1.234 MB / 0.6129 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.42, allocations: 286.5 kB / 0.6131 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.4384, allocations: 11.24 MB / 0.6241 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.4397, allocations: 1.412 MB / 0.6255 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005361/0.4402, allocations: 191.9 kB / 0.6257 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/0.4408, allocations: 411.3 kB / 0.6261 GB, free: 6.852 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4408, allocations: 3.938 kB / 0.6261 GB, free: 6.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0906/0.5314, allocations: 32.46 MB / 0.6578 GB, free: 6.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.54, allocations: 8 kB / 0.6578 GB, free: 6.742 MB / 462.1 MB " [Timeout remaining time 644] (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Rectifier_fmu --startTime=0 --stopTime=0.08 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.532755634048954] Failed to read output from testmodel.py, exit status != 0: 15.675923284841701 15.699800069 15.358485725 Calling exit ...