Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001758/0.001758, allocations: 82.56 kB / 21.28 MB, free: 0.5195 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.002119/0.002119, allocations: 158.8 kB / 24.53 MB, free: 3.836 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.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.273 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.154/0.154, allocations: 19.71 MB / 281 MB, free: 13.05 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [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.002078/0.002078, allocations: 71.89 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2678, allocations: 60.44 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003616/0.2714, allocations: 2.196 MB / 480.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2726, allocations: 0.6215 MB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2727, allocations: 2.312 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2729, allocations: 33.78 kB / 480.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.2731, allocations: 84.58 kB / 481 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.2733, allocations: 60.84 kB / 481 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.2736, allocations: 286.8 kB / 481.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2738, allocations: 52.67 kB / 481.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.2741, allocations: 176.1 kB / 481.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.2742, allocations: 109.8 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2743, allocations: 19 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.2743, allocations: 24.66 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.2744, allocations: 46.38 kB / 481.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.2745, allocations: 103.3 kB / 481.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2748, allocations: 228.2 kB / 482.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2748, allocations: 0 / 482.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2748, allocations: 1.312 kB / 482.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2748, allocations: 0 / 482.1 MB, free: 12.58 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009806/0.2758, allocations: 0.5088 MB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2758, allocations: 9.594 kB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2759, allocations: 30.81 kB / 482.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.2763, allocations: 214.7 kB / 482.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.2764, allocations: 67.84 kB / 482.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.2764, allocations: 20.12 kB / 482.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2768, allocations: 176.7 kB / 483.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.2768, allocations: 9.328 kB / 483.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2768, allocations: 8.75 kB / 483.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2769, allocations: 3.844 kB / 483.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.2771, allocations: 126.4 kB / 483.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.2781, allocations: 0.5251 MB / 483.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.2785, allocations: 155.4 kB / 483.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2787, allocations: 70.64 kB / 484 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2787, allocations: 2.25 kB / 484 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2787, allocations: 36.75 kB / 484 MB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.2787, allocations: 0 / 484 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00114/0.2798, allocations: 0.5151 MB / 484.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2799, allocations: 57.84 kB / 484.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.2801, allocations: 235.5 kB / 484.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2802, allocations: 26.95 kB / 484.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2803, allocations: 156.1 kB / 485 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.2804, allocations: 75.25 kB / 485.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.2804, allocations: 40.98 kB / 485.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2806, allocations: 339.3 kB / 485.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2808, allocations: 56.16 kB / 485.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.2809, allocations: 87.02 kB / 485.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.2812, allocations: 141.5 kB / 485.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2812, allocations: 0 / 485.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003888/0.2816, allocations: 204.4 kB / 485.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2816, allocations: 5.625 kB / 485.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2816, allocations: 4.031 kB / 485.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2816, allocations: 2.25 kB / 485.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.2821, allocations: 80.55 kB / 486 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2821, allocations: 1.125 kB / 486 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2822, allocations: 13.45 kB / 486 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2822, allocations: 8.25 kB / 486 MB, free: 9.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001317/0.2824, allocations: 131.4 kB / 486.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.2824, allocations: 29.98 kB / 486.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.2825, allocations: 36.08 kB / 486.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2825, allocations: 1.906 kB / 486.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2825, allocations: 0 / 486.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2825, allocations: 1.125 kB / 486.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.2833, allocations: 467.7 kB / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2833, allocations: 0 / 486.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.2836, allocations: 68.56 kB / 486.8 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2836, allocations: 5.125 kB / 486.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2837, allocations: 1.219 kB / 486.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2837, allocations: 1.312 kB / 486.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2837, allocations: 0 / 486.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.2842, allocations: 361.2 kB / 487.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.2843, allocations: 31.61 kB / 487.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2843, allocations: 2.656 kB / 487.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2845, allocations: 16.77 kB / 487.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.2846, allocations: 19.84 kB / 487.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2846, allocations: 3.406 kB / 487.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.2848, allocations: 177.6 kB / 487.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2848, allocations: 0 / 487.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.285, allocations: 43.25 kB / 487.4 MB, free: 8.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001046/0.2851, allocations: 94.5 kB / 487.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.2855, allocations: 144.3 kB / 487.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2855, allocations: 0 / 487.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.2857, allocations: 71.09 kB / 487.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.286, allocations: 39.75 kB / 487.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2872, allocations: 0.6524 MB / 488.4 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2874, allocations: 142.1 kB / 488.5 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.531e-05/0.2875, allocations: 17.95 kB / 488.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.2875, allocations: 20.5 kB / 488.6 MB, free: 7.418 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2875, allocations: 4 kB / 488.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of Templates: time 0.00569/0.2932, allocations: 2.062 MB / 490.6 MB, free: 5.379 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.472555621992797] Failed to read output from testmodel.py, exit status != 0: 0.3015640079975128 0.31629032999999995 0.038365755 Calling exit ...