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.0008272/0.0008272, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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 0.8806/0.8806, allocations: 177.2 MB / 200.2 MB, free: 5.953 MB / 186.7 MB " [Timeout remaining time 179] 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.0009737/0.0009737, allocations: 156.6 kB / 256.7 MB, free: 13.36 MB / 250.7 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.02182/0.02182, allocations: 6.66 MB / 319.8 MB, free: 26.78 MB / 266.7 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.363e-06/1.363e-06, allocations: 0 / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.931e-05, allocations: 2.281 kB / 446.6 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.002851/0.00287, allocations: 3.684 MB / 450.3 MB, free: 33.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.004735, allocations: 1.549 MB / 451.9 MB, free: 31.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.004962, allocations: 8 kB / 451.9 MB, free: 31.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009142/0.005876, allocations: 0.7532 MB / 452.6 MB, free: 31.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.006448, allocations: 373.9 kB / 453 MB, free: 30.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.00706, allocations: 0.5905 MB / 453.6 MB, free: 30.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.007512, allocations: 0.5524 MB / 454.2 MB, free: 29.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.007972, allocations: 468.1 kB / 454.6 MB, free: 29.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.008247, allocations: 351.2 kB / 455 MB, free: 28.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.008404, allocations: 227.3 kB / 455.2 MB, free: 28.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.00845, allocations: 59.94 kB / 455.2 MB, free: 28.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.008729, allocations: 227.6 kB / 455.5 MB, free: 28.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.008777, allocations: 123.5 kB / 455.6 MB, free: 28.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.008865, allocations: 183.6 kB / 455.8 MB, free: 27.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.009364, allocations: 0.8528 MB / 456.6 MB, free: 27.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.009367, allocations: 0 / 456.6 MB, free: 27.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.009367, allocations: 0 / 456.6 MB, free: 27.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.009376, allocations: 0 / 456.6 MB, free: 27.13 MB / 330.7 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.001109/0.01049, allocations: 0.8735 MB / 457.5 MB, free: 26.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01052, allocations: 12.03 kB / 457.5 MB, free: 26.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.01181, allocations: 392.2 kB / 457.9 MB, free: 25.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.01217, allocations: 306.2 kB / 458.2 MB, free: 25.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.01219, allocations: 49.69 kB / 458.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.01225, allocations: 60.38 kB / 458.3 MB, free: 25.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.01286, allocations: 0.6781 MB / 459 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.01288, allocations: 4 kB / 459 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.01291, allocations: 24 kB / 459 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.01292, allocations: 16 kB / 459 MB, free: 24.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.01351, allocations: 0.5712 MB / 459.6 MB, free: 24.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.0151, allocations: 1.743 MB / 461.3 MB, free: 22.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.01577, allocations: 490.7 kB / 461.8 MB, free: 21.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.01596, allocations: 172.8 kB / 462 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.01601, allocations: 19.98 kB / 462 MB, free: 21.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.01602, allocations: 34.56 kB / 462 MB, free: 21.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.503e-06/0.01602, allocations: 4 kB / 462 MB, free: 21.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008646/0.01689, allocations: 0.5959 MB / 462.6 MB, free: 20.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.01691, allocations: 63.34 kB / 462.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.01701, allocations: 207.3 kB / 462.9 MB, free: 20.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.01703, allocations: 37.7 kB / 462.9 MB, free: 20.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.01708, allocations: 260.7 kB / 463.2 MB, free: 20.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.01713, allocations: 154.6 kB / 463.3 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.0172, allocations: 94.12 kB / 463.4 MB, free: 20.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.149e-05/0.01723, allocations: 330.8 kB / 463.7 MB, free: 19.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.0174, allocations: 154.8 kB / 463.9 MB, free: 19.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.0176, allocations: 253.3 kB / 464.1 MB, free: 19.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.018, allocations: 437.7 kB / 464.6 MB, free: 18.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.018, allocations: 0 / 464.6 MB, free: 18.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005497/0.01855, allocations: 0.5255 MB / 465.1 MB, free: 18.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01857, allocations: 10.97 kB / 465.1 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01857, allocations: 0 / 465.1 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.01874, allocations: 65.17 kB / 465.2 MB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.01894, allocations: 95.88 kB / 465.3 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007146/0.01965, allocations: 1.623 MB / 466.9 MB, free: 16.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.0198, allocations: 55.72 kB / 466.9 MB, free: 16.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.01981, allocations: 19.98 kB / 467 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002218/0.02004, allocations: 269.1 kB / 467.2 MB, free: 16.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001788/0.02021, allocations: 252.9 kB / 467.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003515/0.02057, allocations: 423.6 kB / 467.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.02057, allocations: 0 / 467.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004926/0.02106, allocations: 0.5127 MB / 468.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.02107, allocations: 4 kB / 468.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.02107, allocations: 4.406 kB / 468.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-05/0.02116, allocations: 60.83 kB / 468.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.02134, allocations: 99.88 kB / 468.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000584/0.02192, allocations: 1.618 MB / 470.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.02204, allocations: 47.73 kB / 470.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.02206, allocations: 27.92 kB / 470.2 MB, free: 12.84 MB / 330.7 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 7.37e-05/0.02213, allocations: 212.4 kB / 470.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.02216, allocations: 23.86 kB / 470.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.02273, allocations: 0.5016 MB / 471 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.02273, allocations: 4 kB / 471 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02273, allocations: 0 / 471 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02274, allocations: 3.984 kB / 471 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.02353, allocations: 0.9217 MB / 471.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.02353, allocations: 0 / 471.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.0237, allocations: 79.89 kB / 472 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.494e-05/0.02379, allocations: 52.77 kB / 472 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.0238, allocations: 15.98 kB / 472.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005635/0.02437, allocations: 1.625 MB / 473.7 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02437, allocations: 3.938 kB / 473.7 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.02506, allocations: 0.7407 MB / 474.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.02512, allocations: 67.67 kB / 474.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.02514, allocations: 4 kB / 474.5 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.02525, allocations: 19.98 kB / 474.5 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.02531, allocations: 32.44 kB / 474.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.02532, allocations: 16 kB / 474.6 MB, free: 8.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.02538, allocations: 132.4 kB / 474.7 MB, free: 8.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02538, allocations: 4.062 kB / 474.7 MB, free: 8.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004778/0.02586, allocations: 255.2 kB / 474.9 MB, free: 7.961 MB / 330.7 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.0001707/0.02603, allocations: 143 kB / 475.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008168/0.02684, allocations: 0.8371 MB / 475.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02684, allocations: 0 / 475.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.02708, allocations: 321.4 kB / 476.2 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.02734, allocations: 39.12 kB / 476.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.02815, allocations: 0.8485 MB / 477.1 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.02825, allocations: 221.8 kB / 477.3 MB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.02833, allocations: 48.42 kB / 477.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02833, allocations: 0 / 477.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of Templates: time 0.005364/0.0337, allocations: 7.396 MB / 484.8 MB, free: 14.02 MB / 346.7 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.5312498807907104] Failed to read output from testmodel.py, exit status != 0: 0.03867308422923088 0.04702208 0.036057637000000003 Calling exit ...