Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.0009413/0.0009413, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.000933/0.000933, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9038/0.9038, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 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.107/0.107, allocations: 19.74 MB / 281.2 MB, free: 9.27 MB / 266.7 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 357.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.313e-05, allocations: 2.312 kB / 357.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003584/0.003597, allocations: 2.678 MB / 360.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004706, allocations: 0.7244 MB / 361.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.004814, allocations: 7.938 kB / 361.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.004924, allocations: 51.45 kB / 361.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.005129, allocations: 123 kB / 361.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.005261, allocations: 87.81 kB / 361.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.00554, allocations: 414 kB / 362 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.005656, allocations: 57.69 kB / 362.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.005873, allocations: 239.3 kB / 362.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.006006, allocations: 123.5 kB / 362.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.006036, allocations: 24 kB / 362.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.006087, allocations: 28 kB / 362.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.006124, allocations: 67.67 kB / 362.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.006202, allocations: 119.6 kB / 362.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.006415, allocations: 235 kB / 362.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.006416, allocations: 3.938 kB / 362.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006417, allocations: 0 / 362.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.00642, allocations: 0 / 362.9 MB, free: 1.66 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000643/0.007063, allocations: 0.6981 MB / 363.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.007091, allocations: 8.031 kB / 363.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.365e-05/0.007185, allocations: 60.7 kB / 363.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.007424, allocations: 256.4 kB / 363.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007443, allocations: 20.88 kB / 363.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.007482, allocations: 32.36 kB / 364 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.007718, allocations: 213.4 kB / 364.2 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.007728, allocations: 4.188 kB / 364.2 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.007742, allocations: 8.375 kB / 364.2 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.007752, allocations: 11.94 kB / 364.2 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.007907, allocations: 102.8 kB / 364.3 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.0086, allocations: 0.8275 MB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.008765, allocations: 139.1 kB / 365.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.008846, allocations: 82.97 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.008865, allocations: 4 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.008882, allocations: 33.39 kB / 365.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.222e-06/0.008883, allocations: 0 / 365.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006709/0.009554, allocations: 0.5302 MB / 365.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.009578, allocations: 59.39 kB / 366 MB, free: 14.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.00979, allocations: 338.3 kB / 366.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.009805, allocations: 33.7 kB / 366.3 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.009897, allocations: 227.5 kB / 366.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.009947, allocations: 107 kB / 366.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.01, allocations: 59.36 kB / 366.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01012, allocations: 0.5117 MB / 367.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.01017, allocations: 39.97 kB / 367.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.01026, allocations: 88.5 kB / 367.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.01041, allocations: 136.6 kB / 367.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01041, allocations: 0 / 367.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003141/0.01072, allocations: 254.9 kB / 367.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.01073, allocations: 7.938 kB / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01074, allocations: 4 kB / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.01095, allocations: 63.62 kB / 367.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.01115, allocations: 72.02 kB / 367.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.01285, allocations: 3.731 MB / 371.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.01293, allocations: 11.95 kB / 371.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01294, allocations: 8 kB / 371.6 MB, free: 8.391 MB / 298.7 MB 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.01303, allocations: 172.5 kB / 371.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.01307, allocations: 43.75 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.01326, allocations: 194.9 kB / 372 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01327, allocations: 8.031 kB / 372 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.01327, allocations: 0 / 372 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01327, allocations: 0 / 372 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.01373, allocations: 0.5566 MB / 372.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01374, allocations: 3.984 kB / 372.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.01391, allocations: 67.84 kB / 372.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01391, allocations: 3.984 kB / 372.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01392, allocations: 8 kB / 372.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01392, allocations: 0 / 372.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01392, allocations: 0 / 372.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.0142, allocations: 404.6 kB / 373.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.01426, allocations: 43.78 kB / 373.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01428, allocations: 4 kB / 373.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.01437, allocations: 4.188 kB / 373.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.01441, allocations: 27.89 kB / 373.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01442, allocations: 12 kB / 373.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01454, allocations: 235 kB / 373.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01454, allocations: 0 / 373.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.01475, allocations: 68 kB / 373.5 MB, free: 6.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.434e-05/0.01481, allocations: 103.2 kB / 373.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.01523, allocations: 377.3 kB / 373.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01523, allocations: 0 / 373.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.01531, allocations: 84.03 kB / 374 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01558, allocations: 66.36 kB / 374.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.01689, allocations: 0.7753 MB / 374.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.01695, allocations: 96.94 kB / 374.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.01702, allocations: 42.94 kB / 375 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.01708, allocations: 24.5 kB / 375 MB, free: 4.84 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01708, allocations: 0 / 375 MB, free: 4.84 MB / 298.7 MB Notification: Performance of Templates: time 0.004942/0.02202, allocations: 3.656 MB / 378.7 MB, free: 1.227 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8800601037219167]