Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001023/0.001023, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001712/0.001712, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8175/0.8175, allocations: 158.6 MB / 186.4 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1929/0.1929, allocations: 36.34 MB / 275.1 MB, free: 10.63 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 353.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.493e-05, allocations: 9.688 kB / 353.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002901/0.002926, allocations: 2.087 MB / 355.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.003868, allocations: 0.593 MB / 356.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.003991, allocations: 4 kB / 356.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.004126, allocations: 23.73 kB / 356.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.004347, allocations: 67.42 kB / 356.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.004496, allocations: 47.88 kB / 356.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.004723, allocations: 222.9 kB / 356.8 MB, free: 396 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.004855, allocations: 28.42 kB / 356.8 MB, free: 368 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.005035, allocations: 119.7 kB / 357 MB, free: 248 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.005167, allocations: 63.8 kB / 357 MB, free: 184 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.005196, allocations: 16 kB / 357 MB, free: 168 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.005256, allocations: 12 kB / 357.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.005288, allocations: 39.83 kB / 357.1 MB, free: 116 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.005349, allocations: 51.84 kB / 357.1 MB, free: 64 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.005615, allocations: 127.4 kB / 357.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005618, allocations: 7.875 kB / 357.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005618, allocations: 0 / 357.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005623, allocations: 0 / 357.3 MB, free: 15.93 MB / 298.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.0007078/0.006331, allocations: 0.5113 MB / 357.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.006372, allocations: 12.03 kB / 357.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.006482, allocations: 32.8 kB / 357.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.006743, allocations: 189.2 kB / 358 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.006759, allocations: 8.375 kB / 358 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.0068, allocations: 16.36 kB / 358 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.007025, allocations: 130.2 kB / 358.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.007037, allocations: 4.188 kB / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.007053, allocations: 8.375 kB / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.007064, allocations: 7.938 kB / 358.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.00719, allocations: 51.83 kB / 358.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.007901, allocations: 0.5256 MB / 358.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.008142, allocations: 91 kB / 358.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.008203, allocations: 31.67 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.008216, allocations: 7.938 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.008242, allocations: 37.39 kB / 358.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.008244, allocations: 0 / 358.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006682/0.008912, allocations: 329.4 kB / 359.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.008946, allocations: 59.34 kB / 359.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.009153, allocations: 253.6 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.009167, allocations: 25.7 kB / 359.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.009261, allocations: 175.1 kB / 359.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.009297, allocations: 47.58 kB / 359.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.009353, allocations: 39.31 kB / 359.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.009504, allocations: 0.4962 MB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.009551, allocations: 23.98 kB / 360.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.009615, allocations: 47.05 kB / 360.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.009738, allocations: 80.48 kB / 360.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.00974, allocations: 0 / 360.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001942/0.009934, allocations: 113.5 kB / 360.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.00995, allocations: 8 kB / 360.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.009956, allocations: 0 / 360.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.009975, allocations: 0 / 360.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.01013, allocations: 39.98 kB / 360.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.01014, allocations: 3.938 kB / 360.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.01022, allocations: 8 kB / 360.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01023, allocations: 4 kB / 360.6 MB, free: 12.27 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 0.0001003/0.01033, allocations: 160.6 kB / 360.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.01037, allocations: 19.91 kB / 360.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.01044, allocations: 21.45 kB / 360.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01044, allocations: 4 kB / 360.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01045, allocations: 3.938 kB / 360.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01045, allocations: 4 kB / 360.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.01092, allocations: 401.2 kB / 361.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01092, allocations: 0 / 361.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.01106, allocations: 27.98 kB / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01106, allocations: 0 / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01108, allocations: 7.938 kB / 361.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01108, allocations: 0 / 361.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01108, allocations: 0 / 361.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.01134, allocations: 275.7 kB / 361.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.01139, allocations: 23.83 kB / 361.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01142, allocations: 0 / 361.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.01151, allocations: 16 kB / 361.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.01155, allocations: 11.97 kB / 361.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01156, allocations: 0 / 361.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.01169, allocations: 184.5 kB / 361.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01169, allocations: 0 / 361.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003125/0.012, allocations: 32 kB / 361.8 MB, free: 11.03 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.679e-05/0.01209, allocations: 95.19 kB / 361.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.01224, allocations: 64.16 kB / 362 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01225, allocations: 128 / 362 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.01231, allocations: 48.64 kB / 362 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.0127, allocations: 42.45 kB / 362.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.01393, allocations: 461.4 kB / 362.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.01399, allocations: 71.83 kB / 362.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.112e-05/0.01405, allocations: 17.47 kB / 362.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.0141, allocations: 16.5 kB / 362.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0141, allocations: 4 kB / 362.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004494/0.01859, allocations: 1.581 MB / 364.2 MB, free: 8.598 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8424407332204282]