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.001341/0.001341, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.429/1.429, allocations: 177.1 MB / 199.4 MB, free: 8.449 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.001598/0.001598, allocations: 152.8 kB / 256 MB, free: 4.367 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.03924/0.03924, allocations: 6.657 MB / 319 MB, free: 5.426 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 445.9 MB, free: 25.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.244e-05, allocations: 6.281 kB / 445.9 MB, free: 25.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.003892/0.003914, allocations: 4.127 MB / 450 MB, free: 21.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.00571, allocations: 1.184 MB / 451.2 MB, free: 19.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.005997, allocations: 31.75 kB / 451.2 MB, free: 19.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.006335, allocations: 186.6 kB / 451.4 MB, free: 19.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009244/0.007259, allocations: 381.5 kB / 451.8 MB, free: 19.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.007573, allocations: 183.7 kB / 452 MB, free: 19.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.008716, allocations: 1.711 MB / 453.7 MB, free: 17.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.009344, allocations: 0.5997 MB / 454.3 MB, free: 16.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009402/0.01028, allocations: 1.049 MB / 455.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.01113, allocations: 0.7872 MB / 456.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.01134, allocations: 184 kB / 456.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.0116, allocations: 184 kB / 456.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.01189, allocations: 0.5102 MB / 457 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.01237, allocations: 0.5691 MB / 457.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.01388, allocations: 2.404 MB / 460 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.01389, allocations: 7.938 kB / 460 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01389, allocations: 0 / 460 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.01391, allocations: 0 / 460 MB, free: 11.07 MB / 334.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.002811/0.01672, allocations: 1.751 MB / 461.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.01677, allocations: 19.97 kB / 461.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004677/0.01723, allocations: 183.9 kB / 461.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.01846, allocations: 0.9626 MB / 462.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.01851, allocations: 86.61 kB / 463 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.01866, allocations: 108.4 kB / 463.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.02089, allocations: 1.794 MB / 464.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.02092, allocations: 3.938 kB / 464.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.02103, allocations: 48 kB / 464.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.02108, allocations: 42.23 kB / 465 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.02309, allocations: 1.554 MB / 466.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/0.02852, allocations: 4.369 MB / 470.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.03077, allocations: 1.311 MB / 472.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.03212, allocations: 0.8055 MB / 473 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.03217, allocations: 9 kB / 473 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.03221, allocations: 39.56 kB / 473 MB, free: 13.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 2.936e-06/0.03221, allocations: 0 / 473 MB, free: 13.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.008596/0.04081, allocations: 3.779 MB / 476.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.04086, allocations: 64.34 kB / 476.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.04209, allocations: 0.8402 MB / 477.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/0.04217, allocations: 41.7 kB / 477.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.04263, allocations: 0.5126 MB / 478.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.04292, allocations: 329.2 kB / 478.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.04318, allocations: 146.6 kB / 478.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.0434, allocations: 394.8 kB / 479.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.04429, allocations: 0.4899 MB / 479.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.04531, allocations: 0.5723 MB / 480.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.0471, allocations: 1.057 MB / 481.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.0471, allocations: 0 / 481.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002851/0.04995, allocations: 1.558 MB / 482.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.04997, allocations: 8.094 kB / 482.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.04998, allocations: 4 kB / 482.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.05116, allocations: 498.9 kB / 483.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.05174, allocations: 135.8 kB / 483.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1765/0.2282, allocations: 9 MB / 492.4 MB, free: 45.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.2289, allocations: 48.03 kB / 492.5 MB, free: 45.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.2289, allocations: 23.48 kB / 492.5 MB, free: 45.01 MB / 350.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.0007383/0.2297, allocations: 0.4999 MB / 493 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.2298, allocations: 97.28 kB / 493.1 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.23, allocations: 133.5 kB / 493.2 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.23, allocations: 9.625 kB / 493.2 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.23, allocations: 1.375 kB / 493.2 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2301, allocations: 4.969 kB / 493.2 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/0.2356, allocations: 2.832 MB / 496.1 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2356, allocations: 0 / 496.1 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.2361, allocations: 119.8 kB / 496.2 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.2372, allocations: 496.9 kB / 496.7 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.2373, allocations: 20.23 kB / 496.7 MB, free: 43.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008016/0.2453, allocations: 8.937 MB / 0.4938 GB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2453, allocations: 5.312 kB / 0.4938 GB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.2494, allocations: 2.331 MB / 0.4961 GB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.25, allocations: 223 kB / 0.4963 GB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2501, allocations: 22.5 kB / 0.4963 GB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.2506, allocations: 60.14 kB / 0.4964 GB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.2508, allocations: 86.88 kB / 0.4964 GB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.2509, allocations: 27.81 kB / 0.4965 GB, free: 35.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006958/0.2516, allocations: 0.6017 MB / 0.4971 GB, free: 35.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2516, allocations: 3.594 kB / 0.4971 GB, free: 35.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001231/0.2528, allocations: 309.9 kB / 0.4974 GB, free: 35 MB / 350.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.0002317/0.2531, allocations: 129 kB / 0.4975 GB, free: 34.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.2556, allocations: 1.746 MB / 0.4992 GB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2556, allocations: 1.125 kB / 0.4992 GB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.2576, allocations: 1.23 MB / 0.5004 GB, free: 32.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2587, allocations: 269.2 kB / 0.5006 GB, free: 32.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.2638, allocations: 2.763 MB / 0.5033 GB, free: 30.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/0.2647, allocations: 0.8302 MB / 0.5042 GB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006183/0.2653, allocations: 185.8 kB / 0.5043 GB, free: 29.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.2655, allocations: 60.48 kB / 0.5044 GB, free: 29.33 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2655, allocations: 0 / 0.5044 GB, free: 29.33 MB / 350.1 MB Notification: Performance of Templates: time 0.02582/0.2913, allocations: 19.8 MB / 0.5237 GB, free: 9.82 MB / 350.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.322067026048899] Failed to read output from testmodel.py, exit status != 0: 0.2983856275677681 0.311181496 0.29415855700000004 Calling exit ...