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.001412/0.001412, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.513/1.513, allocations: 230.6 MB / 252.6 MB, free: 8.328 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.001828/0.001828, allocations: 213.4 kB / 309.2 MB, free: 3.168 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.04186/0.04186, allocations: 8.916 MB / 374.6 MB, free: 1.918 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.002537/0.002537, allocations: 83.88 kB / 0.4897 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3218, allocations: 55.6 MB / 0.544 GB, free: 27.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005344/0.3271, allocations: 4.575 MB / 0.5484 GB, free: 23.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.33, allocations: 1.233 MB / 0.5496 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.3304, allocations: 27.97 kB / 0.5497 GB, free: 22.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.3308, allocations: 185.2 kB / 0.5499 GB, free: 22.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3319, allocations: 372.5 kB / 0.5502 GB, free: 22.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.3323, allocations: 183.3 kB / 0.5504 GB, free: 22.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.3337, allocations: 1.659 MB / 0.552 GB, free: 21.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.3343, allocations: 0.6149 MB / 0.5526 GB, free: 21.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.3349, allocations: 0.7366 MB / 0.5533 GB, free: 20.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009337/0.3358, allocations: 0.8664 MB / 0.5542 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.336, allocations: 186.7 kB / 0.5543 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.3364, allocations: 181.7 kB / 0.5545 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.3367, allocations: 0.4984 MB / 0.555 GB, free: 20.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.3375, allocations: 0.8119 MB / 0.5558 GB, free: 19.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.3393, allocations: 2.361 MB / 0.5581 GB, free: 18.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3393, allocations: 3.406 kB / 0.5581 GB, free: 18.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3393, allocations: 0 / 0.5581 GB, free: 18.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.3394, allocations: 0 / 0.5581 GB, free: 18.91 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.003054/0.3424, allocations: 1.771 MB / 0.5598 GB, free: 17.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3425, allocations: 9.219 kB / 0.5598 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.3429, allocations: 188 kB / 0.56 GB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3444, allocations: 0.9491 MB / 0.561 GB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.3445, allocations: 84.42 kB / 0.561 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.3446, allocations: 111.5 kB / 0.5611 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.3471, allocations: 1.693 MB / 0.5628 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.3472, allocations: 1.375 kB / 0.5628 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3473, allocations: 42.42 kB / 0.5628 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.3473, allocations: 50.41 kB / 0.5629 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.3497, allocations: 1.555 MB / 0.5644 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.3573, allocations: 4.911 MB / 0.5692 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.3593, allocations: 1.307 MB / 0.5705 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.3604, allocations: 0.8071 MB / 0.5713 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.3605, allocations: 13.84 kB / 0.5713 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3605, allocations: 43.66 kB / 0.5713 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.3605, allocations: 0 / 0.5713 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.00745/0.368, allocations: 3.785 MB / 0.575 GB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.368, allocations: 64.38 kB / 0.5751 GB, free: 10.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3694, allocations: 0.8917 MB / 0.5759 GB, free: 9.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.3694, allocations: 45.58 kB / 0.576 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.3698, allocations: 0.5201 MB / 0.5765 GB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.37, allocations: 319.5 kB / 0.5768 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3702, allocations: 148.2 kB / 0.5769 GB, free: 8.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.3703, allocations: 343.3 kB / 0.5773 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.371, allocations: 0.491 MB / 0.5777 GB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.3718, allocations: 0.568 MB / 0.5783 GB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.3733, allocations: 1.06 MB / 0.5793 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3733, allocations: 0 / 0.5793 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00231/0.3756, allocations: 1.563 MB / 0.5809 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3756, allocations: 5.5 kB / 0.5809 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3756, allocations: 1.094 kB / 0.5809 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3766, allocations: 498.5 kB / 0.5813 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.3772, allocations: 133 kB / 0.5815 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008048/0.3852, allocations: 9.181 MB / 0.5904 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.3859, allocations: 43.98 kB / 0.5905 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.386, allocations: 28 kB / 0.5905 GB, free: 12.62 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.001025/0.387, allocations: 0.499 MB / 0.591 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.3872, allocations: 99.39 kB / 0.5911 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3875, allocations: 137.3 kB / 0.5912 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3875, allocations: 12 kB / 0.5912 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/0.3875, allocations: 4.125 kB / 0.5912 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3875, allocations: 3.984 kB / 0.5912 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.3935, allocations: 3.136 MB / 0.5943 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3935, allocations: 3.938 kB / 0.5943 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.394, allocations: 115.9 kB / 0.5944 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.3951, allocations: 487 kB / 0.5949 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.3952, allocations: 23.98 kB / 0.5949 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/0.4073, allocations: 9.122 MB / 0.6038 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4073, allocations: 0 / 0.6038 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004545/0.4118, allocations: 2.344 MB / 0.6061 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008036/0.4126, allocations: 219.3 kB / 0.6063 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4128, allocations: 23.98 kB / 0.6063 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.4133, allocations: 59.94 kB / 0.6064 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.4136, allocations: 92.83 kB / 0.6065 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.4137, allocations: 20 kB / 0.6065 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001034/0.4147, allocations: 0.6395 MB / 0.6071 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4147, allocations: 0 / 0.6071 GB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0015/0.4162, allocations: 312 kB / 0.6074 GB, free: 10.72 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.0002238/0.4164, allocations: 123.8 kB / 0.6075 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.4195, allocations: 1.749 MB / 0.6092 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4196, allocations: 7.938 kB / 0.6093 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4215, allocations: 1.223 MB / 0.6104 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4227, allocations: 301.1 kB / 0.6107 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.4278, allocations: 2.874 MB / 0.6135 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.4291, allocations: 1.42 MB / 0.6149 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004992/0.4296, allocations: 183.9 kB / 0.6151 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.4298, allocations: 67.42 kB / 0.6152 GB, free: 2.617 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4298, allocations: 0 / 0.6152 GB, free: 2.617 MB / 414.1 MB Notification: Performance of Templates: time 0.03775/0.4676, allocations: 21.9 MB / 0.6366 GB, free: 12.96 MB / 446.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: 5.848130810074508] Failed to read output from testmodel.py, exit status != 0: 0.47679030802100897 0.493179709 0.150335926 Calling exit ...