Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001309/0.001309, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] 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.0009366/0.0009366, allocations: 166.2 kB / 24.99 MB, free: 8.793 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.8666/0.8666, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08184/0.08184, allocations: 19.73 MB / 281.5 MB, free: 9.328 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 357.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.469e-05, allocations: 2.312 kB / 357.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003068/0.003082, allocations: 2.107 MB / 360 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.004059, allocations: 0.5804 MB / 360.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004177, allocations: 3.938 kB / 360.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.004309, allocations: 31.67 kB / 360.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.004529, allocations: 55.55 kB / 360.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.004682, allocations: 55.8 kB / 360.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.00495, allocations: 215 kB / 361 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.005073, allocations: 24.58 kB / 361 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.005312, allocations: 127.6 kB / 361.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.005445, allocations: 59.8 kB / 361.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.005473, allocations: 20 kB / 361.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.005526, allocations: 15.94 kB / 361.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.005561, allocations: 35.83 kB / 361.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.181e-05/0.005633, allocations: 63.77 kB / 361.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.00586, allocations: 119.5 kB / 361.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005862, allocations: 0 / 361.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005862, allocations: 0 / 361.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005867, allocations: 0 / 361.4 MB, free: 3.445 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006935/0.00656, allocations: 0.5152 MB / 361.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.006599, allocations: 16.02 kB / 362 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.006711, allocations: 28.8 kB / 362 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.006974, allocations: 189.2 kB / 362.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006989, allocations: 8.359 kB / 362.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.007027, allocations: 20.33 kB / 362.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.007249, allocations: 130.2 kB / 362.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.007261, allocations: 192 / 362.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.007278, allocations: 12.36 kB / 362.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.007289, allocations: 7.938 kB / 362.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.007415, allocations: 47.91 kB / 362.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.008083, allocations: 0.5218 MB / 362.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.008315, allocations: 87.03 kB / 363 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.008376, allocations: 35.67 kB / 363 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.008385, allocations: 0 / 363 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.00841, allocations: 37.61 kB / 363.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.008411, allocations: 4 kB / 363.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006387/0.00905, allocations: 330 kB / 363.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.009085, allocations: 59.34 kB / 363.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.0093, allocations: 249.8 kB / 363.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.009313, allocations: 25.7 kB / 363.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.009412, allocations: 183 kB / 363.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.009447, allocations: 43.58 kB / 363.9 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.0095, allocations: 39.38 kB / 364 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.009644, allocations: 0.4962 MB / 364.5 MB, free: 144 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.00969, allocations: 16 kB / 364.5 MB, free: 128 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.009756, allocations: 55.03 kB / 364.5 MB, free: 60 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.009886, allocations: 71.05 kB / 364.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.009887, allocations: 0 / 364.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001952/0.01008, allocations: 113.5 kB / 364.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.0101, allocations: 6.5 kB / 364.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.0101, allocations: 4 kB / 364.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01011, allocations: 0 / 364.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01026, allocations: 36.05 kB / 364.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.01026, allocations: 7.938 kB / 364.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.295e-05/0.01035, allocations: 7.953 kB / 364.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01036, allocations: 4 kB / 364.8 MB, free: 15.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.01045, allocations: 168.5 kB / 365 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.01049, allocations: 19.91 kB / 365 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.01053, allocations: 17.47 kB / 365 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.01054, allocations: 4 kB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01054, allocations: 3.938 kB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.01055, allocations: 3.984 kB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.011, allocations: 401.4 kB / 365.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.011, allocations: 0 / 365.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.01114, allocations: 23.98 kB / 365.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.01114, allocations: 4 kB / 365.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01115, allocations: 7.938 kB / 365.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01116, allocations: 0 / 365.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01116, allocations: 0 / 365.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.01142, allocations: 275.7 kB / 365.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.01148, allocations: 31.86 kB / 365.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.0115, allocations: 4 kB / 365.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01161, allocations: 11.98 kB / 365.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.01164, allocations: 7.984 kB / 365.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.01165, allocations: 4 kB / 365.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.01178, allocations: 184.3 kB / 365.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01178, allocations: 0 / 365.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.01212, allocations: 32 kB / 366 MB, free: 14.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.057e-05/0.0122, allocations: 99.17 kB / 366.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.01236, allocations: 71.34 kB / 366.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01236, allocations: 4 kB / 366.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.01243, allocations: 47.67 kB / 366.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.01282, allocations: 32.72 kB / 366.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.01404, allocations: 458.4 kB / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.0141, allocations: 75.83 kB / 366.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.01417, allocations: 17.47 kB / 366.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.01422, allocations: 16.5 kB / 366.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01422, allocations: 4 kB / 366.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Templates: time 0.003154/0.01737, allocations: 1.584 MB / 368.4 MB, free: 12.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.425736493896693]