Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009473/0.0009473, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001736/0.001736, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.8173/0.8173, allocations: 158.6 MB / 186.4 MB, free: 2.891 MB / 170.7 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.1765/0.1765, allocations: 36.33 MB / 275.1 MB, free: 10.64 MB / 266.7 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.366e-05, allocations: 2.312 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002111/0.002125, allocations: 2.647 MB / 356.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.003104, allocations: 0.7331 MB / 357.2 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.003237, allocations: 7.938 kB / 357.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.003381, allocations: 51.45 kB / 357.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.00363, allocations: 126.9 kB / 357.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.003797, allocations: 91.8 kB / 357.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.004131, allocations: 413.8 kB / 357.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.004279, allocations: 61.56 kB / 357.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.004498, allocations: 231.3 kB / 358.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.004644, allocations: 119.6 kB / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.004676, allocations: 28 kB / 358.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.004738, allocations: 31.98 kB / 358.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.00478, allocations: 71.67 kB / 358.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.004861, allocations: 107.7 kB / 358.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.005099, allocations: 231 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005101, allocations: 0 / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005102, allocations: 3.938 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.005106, allocations: 0 / 358.7 MB, free: 14.48 MB / 298.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.0006748/0.005781, allocations: 0.6942 MB / 359.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.005818, allocations: 8.031 kB / 359.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.005925, allocations: 64.66 kB / 359.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.006187, allocations: 256.5 kB / 359.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.006204, allocations: 16.88 kB / 359.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.006244, allocations: 40.31 kB / 359.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.006519, allocations: 221.3 kB / 360 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.00653, allocations: 4.188 kB / 360 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.006546, allocations: 8.375 kB / 360 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.006557, allocations: 11.94 kB / 360 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.00672, allocations: 102.8 kB / 360.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.007463, allocations: 0.8315 MB / 361 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.007635, allocations: 139.2 kB / 361.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.007714, allocations: 67.59 kB / 361.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.007733, allocations: 4 kB / 361.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.007754, allocations: 41.83 kB / 361.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.007755, allocations: 0 / 361.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007102/0.008466, allocations: 0.5361 MB / 361.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.008489, allocations: 55.41 kB / 361.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.008702, allocations: 334.3 kB / 362.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.008717, allocations: 33.7 kB / 362.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.008817, allocations: 231.5 kB / 362.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.008868, allocations: 103.1 kB / 362.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.008925, allocations: 59.31 kB / 362.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.009046, allocations: 0.5195 MB / 363.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.009108, allocations: 43.83 kB / 363.1 MB, free: 9.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.009185, allocations: 79.11 kB / 363.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.009328, allocations: 136.7 kB / 363.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.009329, allocations: 0 / 363.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003199/0.009649, allocations: 258 kB / 363.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.009661, allocations: 4 kB / 363.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009666, allocations: 0 / 363.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.009901, allocations: 67.69 kB / 363.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.01011, allocations: 75.89 kB / 363.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.01172, allocations: 3.727 MB / 367.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.01181, allocations: 15.92 kB / 367.4 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.01182, allocations: 12 kB / 367.5 MB, free: 5.199 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 9.453e-05/0.01192, allocations: 172.6 kB / 367.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.01196, allocations: 47.7 kB / 367.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.01216, allocations: 198.6 kB / 367.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01216, allocations: 4 kB / 367.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.01217, allocations: 0 / 367.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01217, allocations: 0 / 367.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.01265, allocations: 0.5528 MB / 368.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01265, allocations: 0 / 368.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.01282, allocations: 59.97 kB / 368.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.01283, allocations: 0 / 368.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01284, allocations: 12 kB / 368.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01284, allocations: 0 / 368.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01284, allocations: 3.938 kB / 368.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.01313, allocations: 408.4 kB / 368.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.01319, allocations: 43.73 kB / 368.9 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.01321, allocations: 8 kB / 368.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.0133, allocations: 8.188 kB / 369 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.01334, allocations: 23.97 kB / 369 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01335, allocations: 7.984 kB / 369 MB, free: 3.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.01348, allocations: 231 kB / 369.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01348, allocations: 4 kB / 369.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.0137, allocations: 76 kB / 369.3 MB, free: 3.281 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.702e-05/0.01377, allocations: 99.19 kB / 369.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.01422, allocations: 345.4 kB / 369.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01422, allocations: 8 kB / 369.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.01431, allocations: 83.98 kB / 369.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01459, allocations: 72.92 kB / 369.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01577, allocations: 0.7991 MB / 370.7 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.01582, allocations: 96.94 kB / 370.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.0159, allocations: 30.95 kB / 370.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.01596, allocations: 40.48 kB / 370.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01596, allocations: 0 / 370.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of Templates: time 0.00522/0.02118, allocations: 3.644 MB / 374.5 MB, free: 14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9435344482772052]