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.001333/0.001333, allocations: 77.78 kB / 21.27 MB, free: 0.5352 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.001426/0.001426, allocations: 165.9 kB / 24.54 MB, free: 3.832 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.407/1.407, allocations: 177.2 MB / 204.9 MB, free: 9.289 MB / 190.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.1537/0.1537, allocations: 19.71 MB / 281 MB, free: 13.06 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.003142/0.003142, allocations: 79.83 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2697, allocations: 60.45 MB / 478 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003662/0.2733, allocations: 2.106 MB / 480.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2746, allocations: 0.5936 MB / 480.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2748, allocations: 6.906 kB / 480.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2749, allocations: 29.03 kB / 480.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.2752, allocations: 76.69 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2754, allocations: 54.58 kB / 480.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.2757, allocations: 247.7 kB / 481.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2759, allocations: 32.17 kB / 481.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.2762, allocations: 155.9 kB / 481.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2764, allocations: 94.67 kB / 481.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.2764, allocations: 14.38 kB / 481.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.2765, allocations: 17.66 kB / 481.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.2766, allocations: 49.23 kB / 481.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2767, allocations: 79.56 kB / 481.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.277, allocations: 210.3 kB / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.277, allocations: 1.219 kB / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.277, allocations: 0 / 481.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.277, allocations: 0 / 481.8 MB, free: 12.78 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.0009466/0.278, allocations: 469 kB / 482.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.278, allocations: 10 kB / 482.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2781, allocations: 25.64 kB / 482.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.2785, allocations: 208 kB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2785, allocations: 13.78 kB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.2785, allocations: 17.58 kB / 482.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2789, allocations: 158 kB / 482.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2789, allocations: 0 / 482.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2789, allocations: 5.344 kB / 482.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2789, allocations: 3.094 kB / 482.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.2791, allocations: 108 kB / 482.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.28, allocations: 486.8 kB / 483.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.2803, allocations: 129.5 kB / 483.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.2804, allocations: 61.2 kB / 483.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2804, allocations: 3.188 kB / 483.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2805, allocations: 35.94 kB / 483.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2805, allocations: 0 / 483.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0011/0.2816, allocations: 0.4898 MB / 484 MB, free: 11.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2816, allocations: 53.62 kB / 484 MB, free: 11.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.2819, allocations: 229.9 kB / 484.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2819, allocations: 30.83 kB / 484.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.282, allocations: 138.3 kB / 484.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.2821, allocations: 62.94 kB / 484.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.2821, allocations: 43.75 kB / 484.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2823, allocations: 331.8 kB / 484.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2824, allocations: 51.81 kB / 484.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2826, allocations: 79.17 kB / 485 MB, free: 10.18 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.001124/0.2837, allocations: 342.7 kB / 485.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2837, allocations: 1.281 kB / 485.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003632/0.2841, allocations: 190.2 kB / 485.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2841, allocations: 8.812 kB / 485.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2841, allocations: 1.094 kB / 485.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2841, allocations: 2.156 kB / 485.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2844, allocations: 65.27 kB / 485.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.2844, allocations: 5.125 kB / 485.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2845, allocations: 4.625 kB / 485.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2845, allocations: 12.91 kB / 485.6 MB, free: 9.871 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 0.0001413/0.2847, allocations: 138.8 kB / 485.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.2847, allocations: 25.52 kB / 485.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.2848, allocations: 27.62 kB / 485.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2848, allocations: 2.156 kB / 485.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2848, allocations: 4 kB / 485.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2848, allocations: 3.984 kB / 485.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.2855, allocations: 454.1 kB / 486.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2855, allocations: 0 / 486.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.2858, allocations: 55.22 kB / 486.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2858, allocations: 1.312 kB / 486.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2858, allocations: 1.062 kB / 486.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2858, allocations: 1.25 kB / 486.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2858, allocations: 4 kB / 486.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.2863, allocations: 337.4 kB / 486.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.2864, allocations: 31.55 kB / 486.7 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.2864, allocations: 5.078 kB / 486.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.2866, allocations: 12.69 kB / 486.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.2866, allocations: 12.47 kB / 486.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2866, allocations: 7.938 kB / 486.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.2868, allocations: 165.4 kB / 486.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2868, allocations: 4 kB / 486.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.2871, allocations: 42.78 kB / 486.9 MB, free: 8.891 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 9.794e-05/0.2872, allocations: 94.28 kB / 487 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.2875, allocations: 132.5 kB / 487.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2875, allocations: 0.9375 kB / 487.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.2876, allocations: 66.28 kB / 487.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.288, allocations: 43.75 kB / 487.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2891, allocations: 0.5682 MB / 487.8 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2892, allocations: 129.9 kB / 487.9 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.023e-05/0.2893, allocations: 21.62 kB / 487.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.2893, allocations: 28.44 kB / 488 MB, free: 8.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2893, allocations: 0 / 488 MB, free: 8.035 MB / 382.1 MB Notification: Performance of Templates: time 0.005622/0.295, allocations: 2.049 MB / 490 MB, free: 6.012 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.517837535007857] Failed to read output from testmodel.py, exit status != 0: 0.30482654890511185 0.31801068600000004 0.037839838 Calling exit ...