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.001589/0.001589, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001499/0.001499, allocations: 216.7 kB / 23.74 MB, free: 4.656 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 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.167/0.167, allocations: 26.81 MB / 340.7 MB, free: 8.188 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.91 kB / 477.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2774, allocations: 60.49 MB / 0.5252 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002816/0.2802, allocations: 2.224 MB / 0.5274 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.2811, allocations: 0.6292 MB / 0.528 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2812, allocations: 2.719 kB / 0.528 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.2814, allocations: 31.84 kB / 0.528 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2816, allocations: 79.66 kB / 0.5281 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.2817, allocations: 54.55 kB / 0.5281 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.2819, allocations: 244.9 kB / 0.5284 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.282, allocations: 48.67 kB / 0.5284 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2822, allocations: 101.7 kB / 0.5285 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.2824, allocations: 104.4 kB / 0.5286 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.2824, allocations: 15.09 kB / 0.5286 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.2824, allocations: 17.84 kB / 0.5286 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.2825, allocations: 41.08 kB / 0.5287 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.034e-05/0.2826, allocations: 103 kB / 0.5288 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.2828, allocations: 211.8 kB / 0.529 GB, free: 7.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2828, allocations: 0 / 0.529 GB, free: 7.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.2828, allocations: 0 / 0.529 GB, free: 7.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2828, allocations: 5.094 kB / 0.529 GB, free: 7.227 MB / 382.1 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.0007072/0.2835, allocations: 476.5 kB / 0.5294 GB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.2835, allocations: 8.438 kB / 0.5294 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.2836, allocations: 26.11 kB / 0.5295 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.2839, allocations: 196.7 kB / 0.5297 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2839, allocations: 9.906 kB / 0.5297 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.284, allocations: 19.72 kB / 0.5297 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.2842, allocations: 155.4 kB / 0.5298 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2842, allocations: 5.922 kB / 0.5298 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2842, allocations: 5.188 kB / 0.5298 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2843, allocations: 3.5 kB / 0.5299 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.2845, allocations: 102.2 kB / 0.53 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.2852, allocations: 0.5396 MB / 0.5305 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2855, allocations: 122.3 kB / 0.5306 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2857, allocations: 61.95 kB / 0.5307 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2857, allocations: 5.656 kB / 0.5307 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2857, allocations: 36.92 kB / 0.5307 GB, free: 5.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2857, allocations: 4 kB / 0.5307 GB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001011/0.2867, allocations: 494.1 kB / 0.5312 GB, free: 5.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.2867, allocations: 57.91 kB / 0.5312 GB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2869, allocations: 224.4 kB / 0.5314 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2869, allocations: 30.8 kB / 0.5315 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.287, allocations: 141 kB / 0.5316 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.287, allocations: 68.89 kB / 0.5317 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.2871, allocations: 38.23 kB / 0.5317 GB, free: 5.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.2871, allocations: 329.8 kB / 0.532 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2873, allocations: 55.72 kB / 0.5321 GB, free: 4.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2874, allocations: 78.34 kB / 0.5321 GB, free: 4.84 MB / 382.1 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.001061/0.2884, allocations: 349.4 kB / 0.5325 GB, free: 4.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2884, allocations: 0 / 0.5325 GB, free: 4.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003094/0.2887, allocations: 197.1 kB / 0.5327 GB, free: 4.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2888, allocations: 14.41 kB / 0.5327 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2888, allocations: 0.8438 kB / 0.5327 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2888, allocations: 5.375 kB / 0.5327 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.289, allocations: 58.73 kB / 0.5327 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.289, allocations: 6.156 kB / 0.5327 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2892, allocations: 6.969 kB / 0.5328 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2892, allocations: 8.531 kB / 0.5328 GB, free: 4.598 MB / 382.1 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 8.294e-05/0.2893, allocations: 132.8 kB / 0.5329 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.2893, allocations: 24.83 kB / 0.5329 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.2893, allocations: 25.62 kB / 0.5329 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2894, allocations: 2.328 kB / 0.5329 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2894, allocations: 1.188 kB / 0.5329 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2894, allocations: 0.7031 kB / 0.5329 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.29, allocations: 0.4984 MB / 0.5334 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.29, allocations: 0.7031 kB / 0.5334 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.2902, allocations: 53.66 kB / 0.5335 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2902, allocations: 1.984 kB / 0.5335 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2903, allocations: 9.375 kB / 0.5335 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2903, allocations: 2.031 kB / 0.5335 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2903, allocations: 0 / 0.5335 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.2907, allocations: 335 kB / 0.5338 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.2907, allocations: 32.75 kB / 0.5338 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.2908, allocations: 5.953 kB / 0.5339 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2909, allocations: 5.766 kB / 0.5339 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.291, allocations: 14.59 kB / 0.5339 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.291, allocations: 3.781 kB / 0.5339 GB, free: 3.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2911, allocations: 172 kB / 0.534 GB, free: 3.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2911, allocations: 0 / 0.534 GB, free: 3.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.2914, allocations: 42.44 kB / 0.5341 GB, free: 3.695 MB / 382.1 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 6.783e-05/0.2914, allocations: 96.39 kB / 0.5342 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.2918, allocations: 125.9 kB / 0.5343 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2918, allocations: 0 / 0.5343 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2919, allocations: 70.05 kB / 0.5344 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2923, allocations: 37.97 kB / 0.5344 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.2931, allocations: 0.5839 MB / 0.535 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2933, allocations: 0.7396 MB / 0.5357 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.876e-05/0.2933, allocations: 22.62 kB / 0.5357 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.2934, allocations: 18.91 kB / 0.5357 GB, free: 2.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2934, allocations: 0 / 0.5357 GB, free: 2.41 MB / 382.1 MB Notification: Performance of Templates: time 0.005606/0.299, allocations: 2.136 MB / 0.5378 GB, free: 2.176 MB / 382.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.749852837994695] Failed to read output from testmodel.py, exit status != 0: 0.3070070743560791 0.32023576800000003 0.034349057 Calling exit ...