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.001646/0.001646, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001493/0.001493, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.148/0.148, allocations: 26.83 MB / 340.7 MB, free: 8 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.002098/0.002098, allocations: 67.83 kB / 477.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2824, allocations: 60.48 MB / 0.5251 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002962/0.2854, allocations: 2.187 MB / 0.5273 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.2864, allocations: 0.6186 MB / 0.5279 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2865, allocations: 6.688 kB / 0.5279 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2866, allocations: 34.14 kB / 0.5279 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.2868, allocations: 89.64 kB / 0.528 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.287, allocations: 62.41 kB / 0.5281 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.2872, allocations: 285.8 kB / 0.5283 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.2874, allocations: 52.3 kB / 0.5284 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.2876, allocations: 122.1 kB / 0.5285 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2877, allocations: 113.5 kB / 0.5286 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2878, allocations: 19.56 kB / 0.5286 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.568e-05/0.2878, allocations: 24.69 kB / 0.5287 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.2879, allocations: 43.8 kB / 0.5287 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.288, allocations: 104.9 kB / 0.5288 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.2882, allocations: 240.5 kB / 0.529 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2882, allocations: 0.6094 kB / 0.529 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2882, allocations: 0 / 0.529 GB, free: 7.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2882, allocations: 1.375 kB / 0.529 GB, free: 7.266 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.0007864/0.289, allocations: 0.4883 MB / 0.5295 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2891, allocations: 13.91 kB / 0.5295 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2892, allocations: 31.75 kB / 0.5295 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.2895, allocations: 205.5 kB / 0.5297 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.2896, allocations: 69.12 kB / 0.5298 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.2896, allocations: 16.81 kB / 0.5298 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.29, allocations: 185.2 kB / 0.53 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.29, allocations: 4.453 kB / 0.53 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.29, allocations: 5.656 kB / 0.53 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.29, allocations: 3.875 kB / 0.53 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.2904, allocations: 128.6 kB / 0.5301 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.2912, allocations: 0.5307 MB / 0.5307 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.2916, allocations: 142.3 kB / 0.5308 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2917, allocations: 84.86 kB / 0.5309 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2918, allocations: 2.344 kB / 0.5309 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.2918, allocations: 32.42 kB / 0.5309 GB, free: 5.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.223e-06/0.2918, allocations: 1.125 kB / 0.5309 GB, free: 5.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001001/0.2928, allocations: 0.5087 MB / 0.5314 GB, free: 5.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2928, allocations: 54.25 kB / 0.5315 GB, free: 5.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.293, allocations: 239.2 kB / 0.5317 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.293, allocations: 31.05 kB / 0.5317 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.2931, allocations: 152.3 kB / 0.5319 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.2931, allocations: 73.97 kB / 0.5319 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.2932, allocations: 43.48 kB / 0.532 GB, free: 5.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.2932, allocations: 336.3 kB / 0.5323 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2934, allocations: 55.53 kB / 0.5323 GB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2935, allocations: 82.05 kB / 0.5324 GB, free: 4.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.2938, allocations: 152.9 kB / 0.5326 GB, free: 4.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2938, allocations: 0 / 0.5326 GB, free: 4.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003442/0.2941, allocations: 203.6 kB / 0.5328 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2941, allocations: 5.5 kB / 0.5328 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2941, allocations: 9.297 kB / 0.5328 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2942, allocations: 2.359 kB / 0.5328 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.2946, allocations: 76.39 kB / 0.5328 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2946, allocations: 1.688 kB / 0.5329 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2947, allocations: 12.22 kB / 0.5329 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2947, allocations: 8.844 kB / 0.5329 GB, free: 4.57 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 8.369e-05/0.2948, allocations: 135 kB / 0.533 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.2949, allocations: 22.33 kB / 0.533 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.2949, allocations: 30.47 kB / 0.533 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2949, allocations: 2.688 kB / 0.5331 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2949, allocations: 4 kB / 0.5331 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2949, allocations: 2.344 kB / 0.5331 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.2956, allocations: 466.2 kB / 0.5335 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2956, allocations: 0 / 0.5335 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.296, allocations: 62.61 kB / 0.5336 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.296, allocations: 1.984 kB / 0.5336 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.296, allocations: 5.25 kB / 0.5336 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.296, allocations: 5.688 kB / 0.5336 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.296, allocations: 0 / 0.5336 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.2965, allocations: 360.8 kB / 0.5339 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.2965, allocations: 29.5 kB / 0.5339 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.2966, allocations: 9.859 kB / 0.534 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2967, allocations: 11.31 kB / 0.534 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2968, allocations: 12.27 kB / 0.534 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.2968, allocations: 3.422 kB / 0.534 GB, free: 3.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.2969, allocations: 181 kB / 0.5342 GB, free: 3.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2969, allocations: 0 / 0.5342 GB, free: 3.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00029/0.2972, allocations: 46.81 kB / 0.5342 GB, free: 3.691 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 6.629e-05/0.2973, allocations: 95.89 kB / 0.5343 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.2976, allocations: 141.3 kB / 0.5344 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2976, allocations: 0 / 0.5344 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2978, allocations: 76.38 kB / 0.5345 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.2981, allocations: 41.08 kB / 0.5345 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.2991, allocations: 0.6526 MB / 0.5352 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2992, allocations: 140.2 kB / 0.5353 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.2993, allocations: 26.08 kB / 0.5353 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.2994, allocations: 19.98 kB / 0.5354 GB, free: 2.965 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2994, allocations: 0 / 0.5354 GB, free: 2.965 MB / 382.1 MB Notification: Performance of Templates: time 0.005526/0.3049, allocations: 2.302 MB / 0.5376 GB, free: 2.57 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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.475824585184455] Failed to read output from testmodel.py, exit status != 0: 0.31278172694146633 0.32579268100000003 0.034462819 Calling exit ...