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.001605/0.001605, allocations: 75.52 kB / 21.28 MB, free: 384 kB / 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.001466/0.001466, allocations: 163.4 kB / 24.53 MB, free: 3.59 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.371/1.371, allocations: 177.2 MB / 204.9 MB, free: 9.238 MB / 190.1 MB " [Timeout remaining time 179] 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.1363/0.1363, allocations: 19.7 MB / 281 MB, free: 13.01 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.002098/0.002098, allocations: 75.88 kB / 417.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2739, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003773/0.2777, allocations: 2.106 MB / 480.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.279, allocations: 0.5899 MB / 480.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2791, allocations: 7.844 kB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2792, allocations: 32.75 kB / 480.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.2795, allocations: 71.3 kB / 480.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2796, allocations: 52.3 kB / 480.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.2799, allocations: 248 kB / 481.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2801, allocations: 35.47 kB / 481.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2803, allocations: 152.3 kB / 481.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2805, allocations: 94.22 kB / 481.4 MB, free: 13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2805, allocations: 15.44 kB / 481.4 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.2806, allocations: 20.69 kB / 481.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.2806, allocations: 45.66 kB / 481.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.2807, allocations: 79 kB / 481.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.281, allocations: 207.4 kB / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.281, allocations: 0 / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.281, allocations: 0 / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.281, allocations: 0 / 481.8 MB, free: 12.77 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.0008819/0.2819, allocations: 477.1 kB / 482.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2819, allocations: 9.688 kB / 482.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.792e-05/0.282, allocations: 26.36 kB / 482.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.2824, allocations: 202.9 kB / 482.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2824, allocations: 15.22 kB / 482.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2825, allocations: 17.02 kB / 482.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.2828, allocations: 161.8 kB / 482.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2828, allocations: 3.984 kB / 482.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2828, allocations: 5.406 kB / 482.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2828, allocations: 4.062 kB / 482.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.2831, allocations: 98.22 kB / 482.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.2839, allocations: 491.4 kB / 483.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2842, allocations: 117.5 kB / 483.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.2843, allocations: 66.61 kB / 483.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2843, allocations: 5.656 kB / 483.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2844, allocations: 33 kB / 483.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2844, allocations: 0 / 483.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001072/0.2854, allocations: 0.4965 MB / 484 MB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.2855, allocations: 57.75 kB / 484 MB, free: 10.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.2857, allocations: 222.7 kB / 484.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2858, allocations: 26.89 kB / 484.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2859, allocations: 141.9 kB / 484.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.2859, allocations: 70.66 kB / 484.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.286, allocations: 39.98 kB / 484.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2862, allocations: 332.6 kB / 484.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2863, allocations: 51.12 kB / 484.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2864, allocations: 79.11 kB / 485 MB, free: 10.16 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.001128/0.2876, allocations: 347.8 kB / 485.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2876, allocations: 0 / 485.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003448/0.2879, allocations: 186.2 kB / 485.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2879, allocations: 17.2 kB / 485.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2879, allocations: 1.188 kB / 485.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.288, allocations: 1.75 kB / 485.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2882, allocations: 60.97 kB / 485.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2882, allocations: 1.344 kB / 485.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.2884, allocations: 13.45 kB / 485.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2884, allocations: 9.094 kB / 485.6 MB, free: 9.848 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.0001422/0.2885, allocations: 142.5 kB / 485.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.2886, allocations: 24.61 kB / 485.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.2886, allocations: 28.33 kB / 485.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2886, allocations: 1.109 kB / 485.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2886, allocations: 8.953 kB / 485.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2886, allocations: 0 / 485.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.2893, allocations: 449.5 kB / 486.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2894, allocations: 1.219 kB / 486.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.2896, allocations: 50.53 kB / 486.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2896, allocations: 1.156 kB / 486.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2896, allocations: 1.312 kB / 486.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2896, allocations: 1.188 kB / 486.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2896, allocations: 0 / 486.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.2902, allocations: 344.8 kB / 486.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.2903, allocations: 31.55 kB / 486.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.2903, allocations: 1.625 kB / 486.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2904, allocations: 15.83 kB / 486.7 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.2905, allocations: 7.766 kB / 486.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2905, allocations: 3.438 kB / 486.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.2907, allocations: 171.2 kB / 486.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2907, allocations: 0 / 486.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.291, allocations: 43.53 kB / 486.9 MB, free: 8.875 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 0.0001088/0.2911, allocations: 97.16 kB / 487 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.2914, allocations: 133.2 kB / 487.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2914, allocations: 0 / 487.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2915, allocations: 63.73 kB / 487.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.2919, allocations: 42.34 kB / 487.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2931, allocations: 0.604 MB / 487.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2932, allocations: 133.8 kB / 488 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.2933, allocations: 20.5 kB / 488 MB, free: 8.012 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2933, allocations: 3.938 kB / 488 MB, free: 8.008 MB / 382.1 MB Notification: Performance of Templates: time 0.004722/0.298, allocations: 2.473 MB / 490.5 MB, free: 5.535 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.779537232127041] Failed to read output from testmodel.py, exit status != 0: 0.307092173025012 0.321403038 0.03727977799999994 Calling exit ...