Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.0009107/0.0009107, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000941/0.000941, allocations: 161 kB / 24.56 MB, free: 16 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.828/0.828, allocations: 158.6 MB / 186.4 MB, free: 2.926 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.1651/0.1651, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.555e-05, allocations: 2.312 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002731/0.002747, allocations: 2.184 MB / 356 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000926/0.003673, allocations: 0.6163 MB / 356.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.003792, allocations: 4 kB / 356.6 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.003928, allocations: 31.66 kB / 356.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.004161, allocations: 79.34 kB / 356.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.004323, allocations: 51.86 kB / 356.8 MB, free: 452 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.004567, allocations: 258.8 kB / 357 MB, free: 192 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.004708, allocations: 36.44 kB / 357 MB, free: 156 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.004886, allocations: 139.6 kB / 357.2 MB, free: 16 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.005059, allocations: 79.72 kB / 357.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.005094, allocations: 16 kB / 357.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.005159, allocations: 16 kB / 357.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.0052, allocations: 43.83 kB / 357.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.005283, allocations: 67.77 kB / 357.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.005534, allocations: 155.3 kB / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005536, allocations: 0 / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005537, allocations: 0 / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005541, allocations: 4 kB / 357.6 MB, free: 15.64 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007266/0.006268, allocations: 0.5579 MB / 358.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.006306, allocations: 12.03 kB / 358.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.006413, allocations: 32.8 kB / 358.2 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.006695, allocations: 207.6 kB / 358.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006711, allocations: 12.38 kB / 358.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.006756, allocations: 24.33 kB / 358.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.007007, allocations: 142.2 kB / 358.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.007021, allocations: 4.172 kB / 358.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.007038, allocations: 8.312 kB / 358.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.007049, allocations: 7.938 kB / 358.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.007195, allocations: 59.94 kB / 358.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.007957, allocations: 0.5686 MB / 359.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.008141, allocations: 95 kB / 359.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.008224, allocations: 47.7 kB / 359.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.008238, allocations: 4 kB / 359.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.008268, allocations: 33.39 kB / 359.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.008269, allocations: 0 / 359.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000772/0.009041, allocations: 408.9 kB / 359.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.009074, allocations: 59.34 kB / 359.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.009316, allocations: 276.3 kB / 360.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.009333, allocations: 29.7 kB / 360.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.009441, allocations: 195.2 kB / 360.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.00949, allocations: 63.44 kB / 360.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.009557, allocations: 43.33 kB / 360.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.009718, allocations: 0.5001 MB / 360.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.009788, allocations: 27.98 kB / 360.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.009879, allocations: 62.89 kB / 361 MB, free: 11.95 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.01034, allocations: 186.9 kB / 361.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01034, allocations: 0 / 361.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002414/0.01058, allocations: 153.4 kB / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01059, allocations: 10.97 kB / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.0106, allocations: 0 / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01062, allocations: 0 / 361.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.01083, allocations: 63.84 kB / 361.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.01083, allocations: 4 kB / 361.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.01093, allocations: 4 kB / 361.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01094, allocations: 8 kB / 361.4 MB, free: 11.51 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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.0001045/0.01104, allocations: 172.5 kB / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.01109, allocations: 27.86 kB / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.01114, allocations: 22.12 kB / 361.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01114, allocations: 8.031 kB / 361.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01115, allocations: 7.922 kB / 361.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01115, allocations: 0 / 361.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.0117, allocations: 453.2 kB / 362.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.0117, allocations: 0 / 362.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.01191, allocations: 51.97 kB / 362.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01192, allocations: 3.938 kB / 362.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01193, allocations: 8 kB / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01193, allocations: 0 / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01193, allocations: 0 / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.01227, allocations: 315.6 kB / 362.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.01234, allocations: 31.78 kB / 362.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01236, allocations: 11.94 kB / 362.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.01247, allocations: 4 kB / 362.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.01252, allocations: 15.97 kB / 362.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01253, allocations: 0 / 362.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.01267, allocations: 201.1 kB / 362.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01267, allocations: 4 kB / 362.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.013, allocations: 36 kB / 362.8 MB, free: 10.09 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 (18): * Single equations (assignments): 18 * 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 7.959e-05/0.01308, allocations: 95.25 kB / 362.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.01329, allocations: 91.58 kB / 362.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0133, allocations: 3.938 kB / 363 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.01338, allocations: 57.94 kB / 363 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.01378, allocations: 53.31 kB / 363.1 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.01511, allocations: 0.5055 MB / 363.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.01517, allocations: 79.98 kB / 363.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.572e-05/0.01526, allocations: 17.62 kB / 363.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.01533, allocations: 20.5 kB / 363.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01533, allocations: 0 / 363.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of Templates: time 0.005117/0.02044, allocations: 2.064 MB / 365.7 MB, free: 7.059 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8707965407520533]