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.001751/0.001751, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.416/1.416, allocations: 177.2 MB / 200.1 MB, free: 8.309 MB / 190.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.001729/0.001729, allocations: 163.7 kB / 256.6 MB, free: 4.266 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.03951/0.03951, allocations: 6.668 MB / 319.6 MB, free: 5.34 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: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") [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.002572/0.002572, allocations: 79.88 kB / 446.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1122, allocations: 55.57 MB / 0.4902 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005911/0.1181, allocations: 4.131 MB / 0.4943 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1204, allocations: 1.184 MB / 0.4954 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1207, allocations: 31.81 kB / 0.4955 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.1211, allocations: 178.6 kB / 0.4956 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009077/0.122, allocations: 374 kB / 0.496 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1223, allocations: 183.7 kB / 0.4962 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.1241, allocations: 1.654 MB / 0.4978 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008697/0.1249, allocations: 0.5919 MB / 0.4983 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.1258, allocations: 0.736 MB / 0.4991 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.127, allocations: 0.8757 MB / 0.4999 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.1272, allocations: 184 kB / 0.5001 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.1275, allocations: 184 kB / 0.5003 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.128, allocations: 0.4986 MB / 0.5008 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007891/0.1288, allocations: 0.6613 MB / 0.5014 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.1312, allocations: 2.379 MB / 0.5037 GB, free: 4.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1312, allocations: 3.938 kB / 0.5037 GB, free: 4.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1312, allocations: 0 / 0.5037 GB, free: 4.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.1312, allocations: 0 / 0.5037 GB, free: 4.805 MB / 430.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.00339/0.1346, allocations: 1.774 MB / 0.5055 GB, free: 2.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1346, allocations: 8.031 kB / 0.5055 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.1352, allocations: 191.9 kB / 0.5057 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1368, allocations: 0.94 MB / 0.5066 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.1368, allocations: 86.61 kB / 0.5067 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.137, allocations: 116.1 kB / 0.5068 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2283/0.3653, allocations: 1.782 MB / 0.5085 GB, free: 53.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.3653, allocations: 5.531 kB / 0.5085 GB, free: 53.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.3654, allocations: 48.19 kB / 0.5086 GB, free: 53.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.3655, allocations: 46.12 kB / 0.5086 GB, free: 53.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.3684, allocations: 1.552 MB / 0.5101 GB, free: 53.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006974/0.3753, allocations: 4.377 MB / 0.5144 GB, free: 51.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3772, allocations: 1.301 MB / 0.5157 GB, free: 51.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.3782, allocations: 0.7999 MB / 0.5164 GB, free: 50.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.3782, allocations: 13 kB / 0.5165 GB, free: 50.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3783, allocations: 49.16 kB / 0.5165 GB, free: 50.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.637e-06/0.3783, allocations: 0 / 0.5165 GB, free: 50.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.007342/0.3856, allocations: 3.768 MB / 0.5202 GB, free: 49.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3857, allocations: 64.7 kB / 0.5202 GB, free: 49.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3867, allocations: 0.8383 MB / 0.5211 GB, free: 49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.3867, allocations: 41.83 kB / 0.5211 GB, free: 48.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.387, allocations: 0.5096 MB / 0.5216 GB, free: 48.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.3872, allocations: 328.5 kB / 0.5219 GB, free: 48.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.3874, allocations: 153 kB / 0.5221 GB, free: 48.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3875, allocations: 404.5 kB / 0.5224 GB, free: 47.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/0.3882, allocations: 0.4884 MB / 0.5229 GB, free: 47.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.3889, allocations: 0.5648 MB / 0.5235 GB, free: 47.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.3902, allocations: 1.067 MB / 0.5245 GB, free: 47.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3902, allocations: 0 / 0.5245 GB, free: 47.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002237/0.3924, allocations: 1.557 MB / 0.526 GB, free: 46.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3925, allocations: 6.188 kB / 0.526 GB, free: 46.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3925, allocations: 0 / 0.526 GB, free: 46.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3935, allocations: 497.8 kB / 0.5265 GB, free: 46.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.394, allocations: 133.3 kB / 0.5266 GB, free: 46.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.4007, allocations: 9.018 MB / 0.5354 GB, free: 39.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.4014, allocations: 47.92 kB / 0.5355 GB, free: 39.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.4015, allocations: 23.84 kB / 0.5355 GB, free: 39.31 MB / 430.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.0007691/0.4022, allocations: 0.5083 MB / 0.536 GB, free: 39.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.4024, allocations: 95.08 kB / 0.5361 GB, free: 38.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4026, allocations: 130 kB / 0.5362 GB, free: 38.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4026, allocations: 9.594 kB / 0.5362 GB, free: 38.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.4026, allocations: 0 / 0.5362 GB, free: 38.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4026, allocations: 6.156 kB / 0.5362 GB, free: 38.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/0.4068, allocations: 2.842 MB / 0.539 GB, free: 37.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4068, allocations: 3.062 kB / 0.539 GB, free: 37.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.4072, allocations: 115.5 kB / 0.5391 GB, free: 37.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008578/0.4081, allocations: 486.6 kB / 0.5396 GB, free: 37.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.4082, allocations: 18.5 kB / 0.5396 GB, free: 37.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006576/0.4147, allocations: 8.947 MB / 0.5483 GB, free: 30.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4147, allocations: 0 / 0.5483 GB, free: 30.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.4178, allocations: 2.336 MB / 0.5506 GB, free: 29.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.4184, allocations: 221.8 kB / 0.5508 GB, free: 29.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.4186, allocations: 18 kB / 0.5509 GB, free: 29.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.4192, allocations: 63.98 kB / 0.5509 GB, free: 29.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.4194, allocations: 95.36 kB / 0.551 GB, free: 29.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.4194, allocations: 25.14 kB / 0.551 GB, free: 29.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007407/0.4202, allocations: 0.6038 MB / 0.5516 GB, free: 29.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4202, allocations: 0 / 0.5516 GB, free: 29.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00128/0.4214, allocations: 306.4 kB / 0.5519 GB, free: 29.09 MB / 430.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.0001679/0.4216, allocations: 131.7 kB / 0.552 GB, free: 28.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.424, allocations: 1.764 MB / 0.5538 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.424, allocations: 0 / 0.5538 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.4254, allocations: 1.223 MB / 0.555 GB, free: 27.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4266, allocations: 263.4 kB / 0.5552 GB, free: 27.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.4309, allocations: 2.886 MB / 0.558 GB, free: 25.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.4319, allocations: 0.8194 MB / 0.5588 GB, free: 25.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004929/0.4324, allocations: 181 kB / 0.559 GB, free: 25.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4326, allocations: 67.64 kB / 0.5591 GB, free: 25.51 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4326, allocations: 0 / 0.5591 GB, free: 25.51 MB / 430.1 MB Notification: Performance of Templates: time 0.03441/0.467, allocations: 19.91 MB / 0.5785 GB, free: 19.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.629061633022502] Failed to read output from testmodel.py, exit status != 0: 0.4759045339887962 0.48623293300000003 0.352794755 Calling exit ...