Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001868/0.001868, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001852/0.001852, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1515/0.1515, allocations: 19.73 MB / 280.8 MB, free: 9.285 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.263e-05, allocations: 2.312 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003701/0.003724, allocations: 2.189 MB / 359.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.00492, allocations: 0.596 MB / 360 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.005025, allocations: 7.938 kB / 360 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.005158, allocations: 23.72 kB / 360 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.005396, allocations: 83.22 kB / 360.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.005558, allocations: 55.92 kB / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.005914, allocations: 262.8 kB / 360.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.006041, allocations: 36.56 kB / 360.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.006333, allocations: 151.5 kB / 360.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.006496, allocations: 67.78 kB / 360.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.006536, allocations: 16 kB / 360.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.006604, allocations: 20 kB / 360.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.006663, allocations: 39.78 kB / 360.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.006766, allocations: 71.77 kB / 360.8 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.007079, allocations: 199.3 kB / 361 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.007081, allocations: 0 / 361 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.007082, allocations: 0 / 361 MB, free: 3.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.007086, allocations: 0 / 361 MB, free: 3.145 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001012/0.008098, allocations: 0.5731 MB / 361.6 MB, free: 2.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.008132, allocations: 8.031 kB / 361.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.008253, allocations: 44.75 kB / 361.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.00859, allocations: 203.6 kB / 361.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.00861, allocations: 12.36 kB / 361.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.008651, allocations: 20.38 kB / 361.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.008998, allocations: 157.5 kB / 362 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.009011, allocations: 192 / 362 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.009028, allocations: 4.375 kB / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.009037, allocations: 7.938 kB / 362 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.009297, allocations: 95.88 kB / 362.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.01028, allocations: 0.6076 MB / 362.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.01062, allocations: 127 kB / 362.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.01076, allocations: 67.66 kB / 362.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.01078, allocations: 0 / 362.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.01082, allocations: 37.39 kB / 362.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.01082, allocations: 0 / 362.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001111/0.01193, allocations: 481.4 kB / 363.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.01198, allocations: 63.28 kB / 363.5 MB, free: 484 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.01232, allocations: 312.3 kB / 363.8 MB, free: 156 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.01235, allocations: 33.7 kB / 363.8 MB, free: 116 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.01252, allocations: 191.1 kB / 364 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.0126, allocations: 67.44 kB / 364.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.01268, allocations: 47.38 kB / 364.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004056/0.01309, allocations: 0.5118 MB / 364.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.01321, allocations: 51.91 kB / 364.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.01337, allocations: 87.03 kB / 364.8 MB, free: 15.13 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.001176/0.01454, allocations: 345.7 kB / 365.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01455, allocations: 0 / 365.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003738/0.01492, allocations: 188 kB / 365.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01493, allocations: 8 kB / 365.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01494, allocations: 0 / 365.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.01495, allocations: 4 kB / 365.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.01522, allocations: 63.84 kB / 365.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01523, allocations: 4.031 kB / 365.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01535, allocations: 7.984 kB / 365.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.01536, allocations: 8 kB / 365.4 MB, free: 14.5 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.0001634/0.01553, allocations: 172.6 kB / 365.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.01559, allocations: 27.86 kB / 365.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.01567, allocations: 30.11 kB / 365.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01567, allocations: 0 / 365.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.01568, allocations: 7.938 kB / 365.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01568, allocations: 0 / 365.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.0165, allocations: 0.5117 MB / 366.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0165, allocations: 0 / 366.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.01678, allocations: 47.91 kB / 366.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01678, allocations: 7.938 kB / 366.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.0168, allocations: 4 kB / 366.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0168, allocations: 0 / 366.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0168, allocations: 0 / 366.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.01738, allocations: 384.5 kB / 366.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.01747, allocations: 35.78 kB / 366.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.0175, allocations: 8 kB / 366.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.01764, allocations: 3.984 kB / 366.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.0177, allocations: 15.92 kB / 366.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.01771, allocations: 4 kB / 366.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.01792, allocations: 217.1 kB / 366.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01792, allocations: 0 / 366.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.0182, allocations: 44 kB / 366.9 MB, free: 12.92 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 0.00012/0.01832, allocations: 91.23 kB / 367 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.01868, allocations: 151.4 kB / 367.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01868, allocations: 0 / 367.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01884, allocations: 77.16 kB / 367.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.01922, allocations: 44.41 kB / 367.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.02026, allocations: 0.5026 MB / 367.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.0204, allocations: 125.9 kB / 367.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.238e-05/0.02049, allocations: 29.62 kB / 367.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.02056, allocations: 20.5 kB / 367.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02056, allocations: 0 / 367.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of Templates: time 0.006348/0.02691, allocations: 2.078 MB / 370 MB, free: 9.773 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.581374695990235]