Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.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.001299/0.001299, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.393/1.393, allocations: 177.1 MB / 199.4 MB, free: 8.445 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.001623/0.001623, allocations: 169.8 kB / 256 MB, free: 4.309 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.03923/0.03923, allocations: 6.661 MB / 319 MB, free: 5.383 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.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.474e-05, allocations: 6.219 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004001/0.004025, allocations: 3.683 MB / 449.6 MB, free: 21.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.006476, allocations: 1.534 MB / 451.1 MB, free: 19.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.006686, allocations: 16 kB / 451.1 MB, free: 19.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.008283, allocations: 0.758 MB / 451.9 MB, free: 19.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.00905, allocations: 377 kB / 452.3 MB, free: 18.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009267/0.009976, allocations: 0.5915 MB / 452.8 MB, free: 18.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.01045, allocations: 0.5641 MB / 453.4 MB, free: 17.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.01098, allocations: 448.1 kB / 453.8 MB, free: 17.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.01135, allocations: 359.2 kB / 454.2 MB, free: 16.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.01159, allocations: 223.4 kB / 454.4 MB, free: 16.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.01165, allocations: 60 kB / 454.5 MB, free: 16.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.01196, allocations: 223.6 kB / 454.7 MB, free: 16.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.01203, allocations: 127.6 kB / 454.8 MB, free: 16.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.01217, allocations: 183.5 kB / 455 MB, free: 16.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.01287, allocations: 0.845 MB / 455.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.01288, allocations: 0 / 455.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.01288, allocations: 0 / 455.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.01289, allocations: 0 / 455.8 MB, free: 15.2 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001807/0.0147, allocations: 0.8717 MB / 456.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.01473, allocations: 15.98 kB / 456.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/0.01753, allocations: 392.2 kB / 457.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.01808, allocations: 301.8 kB / 457.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.01812, allocations: 45.69 kB / 457.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.0182, allocations: 56.38 kB / 457.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.01919, allocations: 0.6859 MB / 458.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.01922, allocations: 0 / 458.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.01927, allocations: 31.94 kB / 458.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01928, allocations: 12 kB / 458.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/0.02025, allocations: 0.5751 MB / 458.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.02266, allocations: 1.755 MB / 460.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.02378, allocations: 479.7 kB / 461 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.02409, allocations: 164.8 kB / 461.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.335e-05/0.02416, allocations: 19.98 kB / 461.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.02418, allocations: 42.5 kB / 461.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.02418, allocations: 4 kB / 461.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001517/0.0257, allocations: 0.6044 MB / 461.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.02573, allocations: 55.41 kB / 461.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.02586, allocations: 206.7 kB / 462.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.02589, allocations: 29.7 kB / 462.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.02597, allocations: 264.7 kB / 462.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.02604, allocations: 159 kB / 462.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.02615, allocations: 90.08 kB / 462.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.02621, allocations: 338.8 kB / 463 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.02651, allocations: 154.8 kB / 463.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.02684, allocations: 252.6 kB / 463.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.02749, allocations: 441.6 kB / 463.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.0275, allocations: 4 kB / 463.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009012/0.0284, allocations: 0.5182 MB / 464.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.02841, allocations: 6.031 kB / 464.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.02842, allocations: 4 kB / 464.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.02867, allocations: 52.83 kB / 464.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.02907, allocations: 103.8 kB / 464.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.03016, allocations: 1.633 MB / 466.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.03044, allocations: 51.66 kB / 466.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.03047, allocations: 20 kB / 466.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003463/0.03082, allocations: 273.1 kB / 466.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002937/0.03111, allocations: 248.9 kB / 466.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005774/0.03169, allocations: 423.7 kB / 467.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.03169, allocations: 0 / 467.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008416/0.03253, allocations: 0.5092 MB / 467.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.03254, allocations: 11.98 kB / 467.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.03254, allocations: 4 kB / 467.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.0327, allocations: 52.83 kB / 467.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.03306, allocations: 95.83 kB / 467.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009675/0.03402, allocations: 1.625 MB / 469.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.03428, allocations: 47.66 kB / 469.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.03431, allocations: 20 kB / 469.5 MB, free: 0.9062 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.03442, allocations: 212.4 kB / 469.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.03448, allocations: 23.86 kB / 469.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009711/0.03545, allocations: 0.5016 MB / 470.2 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.03546, allocations: 12 kB / 470.2 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.03546, allocations: 0 / 470.2 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.03547, allocations: 3.984 kB / 470.2 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.03716, allocations: 0.9216 MB / 471.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.03716, allocations: 0 / 471.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.03755, allocations: 83.88 kB / 471.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.03772, allocations: 52.77 kB / 471.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.03775, allocations: 15.94 kB / 471.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.03939, allocations: 1.614 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.0394, allocations: 7.922 kB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.04098, allocations: 0.7447 MB / 473.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.0411, allocations: 63.67 kB / 473.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.04114, allocations: 12 kB / 473.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.04141, allocations: 15.98 kB / 473.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.0415, allocations: 36.5 kB / 473.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.04153, allocations: 15.98 kB / 473.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.04168, allocations: 136.4 kB / 473.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04168, allocations: 0 / 473.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009218/0.0426, allocations: 259.2 kB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/0.04286, allocations: 147 kB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.04464, allocations: 0.8325 MB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04464, allocations: 4 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.04523, allocations: 326.7 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.04564, allocations: 35.92 kB / 475.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.0472, allocations: 0.7961 MB / 476.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.04746, allocations: 217.8 kB / 476.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.04773, allocations: 70.91 kB / 476.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.04785, allocations: 44.48 kB / 476.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.04785, allocations: 0 / 476.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Templates: time 0.01122/0.05907, allocations: 4.461 MB / 481.1 MB, free: 5.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & ./HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.75522081926465] Failed to read output from testmodel.py, exit status != 0: 0.06732888519763947 0.25215243800000003 0.236220125 Calling exit ...