Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001352/0.001352, allocations: 71.22 kB / 21.24 MB, free: 0.5547 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.00141/0.00141, allocations: 158.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 158.6 MB / 186.3 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2671/0.2671, allocations: 36.35 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002321/0.002321, allocations: 79.88 kB / 415.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2918, allocations: 62.38 MB / 477.6 MB, free: 43.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002445/0.2942, allocations: 2.076 MB / 479.7 MB, free: 42.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.295, allocations: 0.6062 MB / 480.3 MB, free: 42.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.2951, allocations: 7.031 kB / 480.3 MB, free: 42.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2952, allocations: 26.48 kB / 480.3 MB, free: 42.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.2954, allocations: 77.77 kB / 480.4 MB, free: 42.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.2955, allocations: 43.2 kB / 480.5 MB, free: 42.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2958, allocations: 257.8 kB / 480.7 MB, free: 42.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2959, allocations: 38.52 kB / 480.8 MB, free: 42.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.296, allocations: 106.6 kB / 480.9 MB, free: 42.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2961, allocations: 91.56 kB / 480.9 MB, free: 42.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2962, allocations: 15.53 kB / 481 MB, free: 42.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.2962, allocations: 16.06 kB / 481 MB, free: 42.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.2962, allocations: 42.72 kB / 481 MB, free: 42.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.2963, allocations: 89.55 kB / 481.1 MB, free: 41.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.2965, allocations: 201.2 kB / 481.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2965, allocations: 0 / 481.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2965, allocations: 0 / 481.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2965, allocations: 3.375 kB / 481.3 MB, free: 41.9 MB / 446.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.0006773/0.2972, allocations: 476.9 kB / 481.8 MB, free: 41.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.2972, allocations: 6.875 kB / 481.8 MB, free: 41.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/0.2973, allocations: 25.11 kB / 481.8 MB, free: 41.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2976, allocations: 200 kB / 482 MB, free: 41.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2976, allocations: 14.16 kB / 482 MB, free: 41.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.2976, allocations: 20.92 kB / 482 MB, free: 41.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2978, allocations: 159.5 kB / 482.2 MB, free: 41.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2978, allocations: 7.766 kB / 482.2 MB, free: 41.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2979, allocations: 7.188 kB / 482.2 MB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2979, allocations: 3.062 kB / 482.2 MB, free: 41.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.2981, allocations: 97.78 kB / 482.3 MB, free: 41.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.2987, allocations: 493.4 kB / 482.8 MB, free: 40.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.2989, allocations: 125 kB / 482.9 MB, free: 40.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.299, allocations: 63.14 kB / 483 MB, free: 40.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.299, allocations: 3.125 kB / 483 MB, free: 40.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.2991, allocations: 40.83 kB / 483 MB, free: 40.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2991, allocations: 0 / 483 MB, free: 40.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008531/0.2999, allocations: 493.4 kB / 483.5 MB, free: 40.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.2999, allocations: 55.41 kB / 483.5 MB, free: 40.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3001, allocations: 230.7 kB / 483.8 MB, free: 40.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3001, allocations: 25.7 kB / 483.8 MB, free: 40.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.3002, allocations: 144 kB / 483.9 MB, free: 40.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.3002, allocations: 72.28 kB / 484 MB, free: 39.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3002, allocations: 37.53 kB / 484 MB, free: 39.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.3003, allocations: 335.6 kB / 484.4 MB, free: 39.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3004, allocations: 47.81 kB / 484.4 MB, free: 39.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3005, allocations: 82.42 kB / 484.5 MB, free: 39.56 MB / 446.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.0009971/0.3015, allocations: 344.7 kB / 484.8 MB, free: 39.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3015, allocations: 0 / 484.8 MB, free: 39.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002861/0.3018, allocations: 188.1 kB / 485 MB, free: 39.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3018, allocations: 10 kB / 485 MB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3018, allocations: 0 / 485 MB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3018, allocations: 7.094 kB / 485 MB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.3021, allocations: 58.77 kB / 485.1 MB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3021, allocations: 2.781 kB / 485.1 MB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3022, allocations: 10.3 kB / 485.1 MB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3022, allocations: 6.188 kB / 485.1 MB, free: 39.34 MB / 446.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.076e-05/0.3023, allocations: 134.8 kB / 485.2 MB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.3023, allocations: 33.2 kB / 485.3 MB, free: 39.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.3024, allocations: 27.77 kB / 485.3 MB, free: 39.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3024, allocations: 4 kB / 485.3 MB, free: 39.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3024, allocations: 0 / 485.3 MB, free: 39.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3024, allocations: 6.375 kB / 485.3 MB, free: 39.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3029, allocations: 450.2 kB / 485.8 MB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3029, allocations: 3.438 kB / 485.8 MB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.3032, allocations: 48.33 kB / 485.8 MB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3032, allocations: 0 / 485.8 MB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3032, allocations: 6.656 kB / 485.8 MB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3032, allocations: 4 kB / 485.8 MB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3032, allocations: 0 / 485.8 MB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.3036, allocations: 340.5 kB / 486.2 MB, free: 38.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.3036, allocations: 27.69 kB / 486.2 MB, free: 38.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3037, allocations: 4 kB / 486.2 MB, free: 38.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3038, allocations: 13.72 kB / 486.2 MB, free: 38.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.3039, allocations: 9.906 kB / 486.2 MB, free: 38.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3039, allocations: 3.312 kB / 486.2 MB, free: 38.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.304, allocations: 172.4 kB / 486.4 MB, free: 38.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.304, allocations: 0 / 486.4 MB, free: 38.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3042, allocations: 39.47 kB / 486.4 MB, free: 38.48 MB / 446.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 7.136e-05/0.3043, allocations: 93.16 kB / 486.5 MB, free: 38.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3046, allocations: 131.7 kB / 486.6 MB, free: 38.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3046, allocations: 3.938 kB / 486.6 MB, free: 38.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.3047, allocations: 62.55 kB / 486.7 MB, free: 38.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.305, allocations: 40.94 kB / 486.7 MB, free: 38.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/0.3058, allocations: 0.5737 MB / 487.3 MB, free: 37.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.3059, allocations: 130.4 kB / 487.4 MB, free: 37.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.306, allocations: 24.88 kB / 487.5 MB, free: 37.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.306, allocations: 17.97 kB / 487.5 MB, free: 37.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.306, allocations: 0 / 487.5 MB, free: 37.84 MB / 446.1 MB Notification: Performance of Templates: time 0.004621/0.3106, allocations: 2.048 MB / 489.5 MB, free: 37.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.575364156975411] Failed to read output from testmodel.py, exit status != 0: 0.31849415705073625 0.32759260500000004 0.028868456 Calling exit ...