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.001853/0.001853, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002201/0.002201, allocations: 211 kB / 24.48 MB, free: 3.938 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1486/0.1486, allocations: 26.84 MB / 341.5 MB, free: 8.051 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.002055/0.002055, allocations: 75.88 kB / 478 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2808, allocations: 60.48 MB / 0.5259 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002985/0.2838, allocations: 2.097 MB / 0.5279 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.2846, allocations: 0.589 MB / 0.5285 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2847, allocations: 6.094 kB / 0.5285 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.2849, allocations: 28.91 kB / 0.5285 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2851, allocations: 80.89 kB / 0.5286 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.2852, allocations: 52.34 kB / 0.5287 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.2854, allocations: 245.7 kB / 0.5289 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2856, allocations: 49.52 kB / 0.5289 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.2857, allocations: 104.7 kB / 0.529 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2859, allocations: 88.69 kB / 0.5291 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.2859, allocations: 15.22 kB / 0.5291 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.286, allocations: 21.53 kB / 0.5292 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.286, allocations: 49.67 kB / 0.5292 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.2861, allocations: 78.88 kB / 0.5293 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.2863, allocations: 205.9 kB / 0.5295 GB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2863, allocations: 0 / 0.5295 GB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2863, allocations: 0 / 0.5295 GB, free: 7.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2863, allocations: 0 / 0.5295 GB, free: 7.387 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.0007152/0.287, allocations: 476.6 kB / 0.5299 GB, free: 7.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2871, allocations: 9.656 kB / 0.5299 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.2872, allocations: 26.36 kB / 0.53 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.2874, allocations: 197.5 kB / 0.5302 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2874, allocations: 10.47 kB / 0.5302 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.2875, allocations: 27.25 kB / 0.5302 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2878, allocations: 152 kB / 0.5303 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2878, allocations: 1.156 kB / 0.5303 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2878, allocations: 9.188 kB / 0.5303 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2878, allocations: 3.25 kB / 0.5304 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2881, allocations: 97.89 kB / 0.5304 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.2888, allocations: 489.6 kB / 0.5309 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.2891, allocations: 121 kB / 0.531 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2892, allocations: 63.12 kB / 0.5311 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2893, allocations: 13.8 kB / 0.5311 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2893, allocations: 37.58 kB / 0.5311 GB, free: 6.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2893, allocations: 0 / 0.5311 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009702/0.2902, allocations: 491.8 kB / 0.5316 GB, free: 5.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.2903, allocations: 53.34 kB / 0.5317 GB, free: 5.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2905, allocations: 224.1 kB / 0.5319 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2905, allocations: 35.78 kB / 0.5319 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.2906, allocations: 136.9 kB / 0.532 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.2906, allocations: 69.61 kB / 0.5321 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.2907, allocations: 41.98 kB / 0.5321 GB, free: 5.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.2907, allocations: 335 kB / 0.5325 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.2908, allocations: 47.2 kB / 0.5325 GB, free: 5.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.2909, allocations: 82.39 kB / 0.5326 GB, free: 5.039 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.001011/0.292, allocations: 344.1 kB / 0.5329 GB, free: 4.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.292, allocations: 0 / 0.5329 GB, free: 4.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000299/0.2923, allocations: 188.8 kB / 0.5331 GB, free: 4.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2923, allocations: 10.56 kB / 0.5331 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2923, allocations: 1.562 kB / 0.5331 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2923, allocations: 5.406 kB / 0.5331 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.2925, allocations: 57.23 kB / 0.5332 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2925, allocations: 6.875 kB / 0.5332 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2927, allocations: 14.58 kB / 0.5332 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2927, allocations: 9.797 kB / 0.5332 GB, free: 4.805 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.178e-05/0.2927, allocations: 135.5 kB / 0.5333 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2928, allocations: 29.02 kB / 0.5333 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.2928, allocations: 26.77 kB / 0.5334 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2928, allocations: 1.406 kB / 0.5334 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2928, allocations: 1.375 kB / 0.5334 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2929, allocations: 1.266 kB / 0.5334 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.2934, allocations: 461.6 kB / 0.5338 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2934, allocations: 0 / 0.5338 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2937, allocations: 51.83 kB / 0.5339 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2937, allocations: 0 / 0.5339 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2937, allocations: 1.984 kB / 0.5339 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2937, allocations: 1.375 kB / 0.5339 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2937, allocations: 3.938 kB / 0.5339 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.2941, allocations: 340.1 kB / 0.5342 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/0.2942, allocations: 33.23 kB / 0.5342 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.2942, allocations: 5.406 kB / 0.5342 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2944, allocations: 6.281 kB / 0.5342 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2944, allocations: 13.53 kB / 0.5343 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2944, allocations: 4.016 kB / 0.5343 GB, free: 4.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.2945, allocations: 164.6 kB / 0.5344 GB, free: 3.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 0 / 0.5344 GB, free: 3.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.2948, allocations: 39.5 kB / 0.5345 GB, free: 3.945 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.998e-05/0.2949, allocations: 103.6 kB / 0.5346 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.2952, allocations: 133.4 kB / 0.5347 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2952, allocations: 1.438 kB / 0.5347 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.2953, allocations: 70.22 kB / 0.5347 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2956, allocations: 38.69 kB / 0.5348 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.2965, allocations: 0.6007 MB / 0.5354 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2966, allocations: 131.2 kB / 0.5355 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.2967, allocations: 23.31 kB / 0.5355 GB, free: 3.242 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2967, allocations: 0 / 0.5355 GB, free: 3.242 MB / 382.1 MB Notification: Performance of Templates: time 0.004335/0.301, allocations: 2.47 MB / 0.5379 GB, free: 2.809 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: 6.974611905054189] Failed to read output from testmodel.py, exit status != 0: 0.30895463190972805 0.321780355 0.032479637 Calling exit ...