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.001345/0.001345, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.47/1.47, allocations: 230.6 MB / 253.4 MB, free: 8.312 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.001625/0.001625, allocations: 217.8 kB / 310 MB, free: 3.148 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.04079/0.04079, allocations: 8.915 MB / 375.3 MB, free: 1.898 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.002504/0.002504, allocations: 83.88 kB / 0.4904 GB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3154, allocations: 55.61 MB / 0.5447 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.00469/0.3201, allocations: 4.573 MB / 0.5492 GB, free: 23.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3225, allocations: 1.23 MB / 0.5504 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.3229, allocations: 32.12 kB / 0.5504 GB, free: 22.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.3233, allocations: 181.4 kB / 0.5506 GB, free: 22.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009819/0.3243, allocations: 377 kB / 0.551 GB, free: 22.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.3246, allocations: 177.1 kB / 0.5511 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3258, allocations: 1.663 MB / 0.5528 GB, free: 21.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.3265, allocations: 0.6146 MB / 0.5534 GB, free: 21.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.3275, allocations: 0.7327 MB / 0.5541 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.3286, allocations: 0.8696 MB / 0.5549 GB, free: 20.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.3288, allocations: 182.2 kB / 0.5551 GB, free: 20.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.3291, allocations: 180.8 kB / 0.5553 GB, free: 20.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.3295, allocations: 0.5066 MB / 0.5558 GB, free: 20.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007667/0.3303, allocations: 0.8133 MB / 0.5566 GB, free: 19.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.3326, allocations: 2.36 MB / 0.5589 GB, free: 18.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3326, allocations: 0.7031 kB / 0.5589 GB, free: 18.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3327, allocations: 0 / 0.5589 GB, free: 18.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.708e-05/0.3327, allocations: 0 / 0.5589 GB, free: 18.96 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.003878/0.3366, allocations: 1.768 MB / 0.5606 GB, free: 17.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3366, allocations: 13.16 kB / 0.5606 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005492/0.3372, allocations: 184.3 kB / 0.5608 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.339, allocations: 0.9463 MB / 0.5617 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.339, allocations: 84.95 kB / 0.5618 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.3392, allocations: 117.1 kB / 0.5619 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.3427, allocations: 1.686 MB / 0.5635 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.3428, allocations: 0.7031 kB / 0.5635 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.3429, allocations: 45.22 kB / 0.5636 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/0.343, allocations: 55.08 kB / 0.5636 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.3459, allocations: 1.55 MB / 0.5652 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008291/0.3541, allocations: 4.912 MB / 0.57 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.3561, allocations: 1.309 MB / 0.5712 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.3572, allocations: 0.8096 MB / 0.572 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.3573, allocations: 9.875 kB / 0.572 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3573, allocations: 40.25 kB / 0.5721 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.326e-06/0.3573, allocations: 0 / 0.5721 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.007198/0.3645, allocations: 3.784 MB / 0.5758 GB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3645, allocations: 65.38 kB / 0.5758 GB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.3658, allocations: 0.8948 MB / 0.5767 GB, free: 9.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.3658, allocations: 41.36 kB / 0.5767 GB, free: 9.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.3661, allocations: 0.5077 MB / 0.5772 GB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3663, allocations: 328.4 kB / 0.5775 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.3666, allocations: 148.5 kB / 0.5777 GB, free: 8.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.3666, allocations: 339.2 kB / 0.578 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/0.3674, allocations: 0.4955 MB / 0.5785 GB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.3681, allocations: 0.5679 MB / 0.5791 GB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.3695, allocations: 1.059 MB / 0.5801 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3695, allocations: 0 / 0.5801 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002446/0.372, allocations: 1.562 MB / 0.5816 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.372, allocations: 6.062 kB / 0.5816 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.372, allocations: 1.312 kB / 0.5816 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3731, allocations: 498.1 kB / 0.5821 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.3736, allocations: 137 kB / 0.5822 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.3816, allocations: 9.195 MB / 0.5912 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.3824, allocations: 43.98 kB / 0.5912 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.3825, allocations: 24 kB / 0.5913 GB, free: 12.59 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.0009725/0.3835, allocations: 0.499 MB / 0.5918 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.3837, allocations: 99.39 kB / 0.5919 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.384, allocations: 137.3 kB / 0.592 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.384, allocations: 8.125 kB / 0.592 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/0.384, allocations: 8 kB / 0.592 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.384, allocations: 3.984 kB / 0.592 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/0.3898, allocations: 3.128 MB / 0.5951 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3898, allocations: 7.938 kB / 0.5951 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.3903, allocations: 119.9 kB / 0.5952 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.3914, allocations: 486.9 kB / 0.5956 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.3914, allocations: 20 kB / 0.5957 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.4016, allocations: 9.122 MB / 0.6046 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4016, allocations: 64 / 0.6046 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.4056, allocations: 2.336 MB / 0.6069 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/0.4063, allocations: 227.3 kB / 0.6071 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4064, allocations: 16 kB / 0.6071 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.407, allocations: 67.92 kB / 0.6071 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.4072, allocations: 88.83 kB / 0.6072 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.4072, allocations: 20 kB / 0.6073 GB, free: 11.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009475/0.4082, allocations: 0.6395 MB / 0.6079 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4082, allocations: 0 / 0.6079 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001346/0.4095, allocations: 312 kB / 0.6082 GB, free: 10.7 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.0002068/0.4097, allocations: 128 kB / 0.6083 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.4127, allocations: 1.756 MB / 0.61 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4127, allocations: 3.938 kB / 0.61 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.4146, allocations: 1.227 MB / 0.6112 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.4159, allocations: 290.6 kB / 0.6115 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.4211, allocations: 2.873 MB / 0.6143 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.4223, allocations: 1.404 MB / 0.6157 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.4226, allocations: 59.44 kB / 0.6157 GB, free: 2.789 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4226, allocations: 0 / 0.6157 GB, free: 2.789 MB / 414.1 MB Notification: Performance of Templates: time 0.05194/0.4746, allocations: 41.64 MB / 0.6564 GB, free: 9.195 MB / 462.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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.076447760919109] Failed to read output from testmodel.py, exit status != 0: 0.48387860017828643 0.498870002 0.16285991700000002 Calling exit ...