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.0009819/0.0009819, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002271, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001055/0.001055, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002295, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8693/0.8693, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07223/0.9415, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.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.08633/0.08633, allocations: 19.76 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01093/0.09727, allocations: 7.56 MB / 271.3 MB, free: 3.465 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_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.373e-06/1.373e-06, allocations: 0 / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.291e-05, allocations: 2.312 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.1058/0.1058, allocations: 2.693 MB / 275.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1068, allocations: 0.7506 MB / 276 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.107, allocations: 11 kB / 276 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.306e-05/0.1071, allocations: 49.28 kB / 276.1 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1073, allocations: 129.7 kB / 276.2 MB, free: 436 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.1074, allocations: 80.81 kB / 276.3 MB, free: 432 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1077, allocations: 414.6 kB / 276.7 MB, free: 312 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1079, allocations: 62.34 kB / 276.7 MB, free: 304 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.1082, allocations: 288.1 kB / 277 MB, free: 264 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1084, allocations: 120.3 kB / 277.1 MB, free: 248 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.1084, allocations: 24.75 kB / 277.2 MB, free: 248 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.1085, allocations: 28.61 kB / 277.2 MB, free: 248 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.1085, allocations: 49.72 kB / 277.2 MB, free: 232 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1086, allocations: 90.78 kB / 277.3 MB, free: 220 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1089, allocations: 220.7 kB / 277.5 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.715e-05/0.1089, allocations: 1.688 kB / 277.5 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1089, allocations: 0.6562 kB / 277.5 MB, free: 172 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.1089, allocations: 0 / 277.5 MB, free: 172 kB / 266.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.0007468/0.1097, allocations: 0.6377 MB / 278.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1097, allocations: 10.19 kB / 278.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1098, allocations: 123.8 kB / 278.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1101, allocations: 227.5 kB / 278.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1101, allocations: 19.41 kB / 278.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.1101, allocations: 35.89 kB / 278.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1104, allocations: 199.8 kB / 278.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1104, allocations: 2.469 kB / 278.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1104, allocations: 10.23 kB / 278.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1104, allocations: 10.22 kB / 278.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1105, allocations: 81.48 kB / 278.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.1111, allocations: 0.5456 MB / 279.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1113, allocations: 113.4 kB / 279.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.1113, allocations: 55.78 kB / 279.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1113, allocations: 7.906 kB / 279.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1114, allocations: 33.59 kB / 279.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.103e-06/0.1114, allocations: 0.5625 kB / 279.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006115/0.112, allocations: 421.5 kB / 280 MB, free: 14.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.112, allocations: 62.8 kB / 280.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1122, allocations: 272.3 kB / 280.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1122, allocations: 31.11 kB / 280.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.1122, allocations: 151.5 kB / 280.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.1123, allocations: 105 kB / 280.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1123, allocations: 54.72 kB / 280.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.1124, allocations: 349.2 kB / 281.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.1125, allocations: 27.8 kB / 281.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.1125, allocations: 77.2 kB / 281.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1126, allocations: 110.5 kB / 281.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1126, allocations: 0 / 281.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002455/0.1129, allocations: 186.8 kB / 281.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1129, allocations: 8.125 kB / 281.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1129, allocations: 1.766 kB / 281.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1131, allocations: 59.95 kB / 281.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.1134, allocations: 91.8 kB / 281.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.1146, allocations: 2.516 MB / 284.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1147, allocations: 14.91 kB / 284.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1147, allocations: 3.938 kB / 284.1 MB, free: 11.57 MB / 282.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.428e-05/0.1148, allocations: 128 kB / 284.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1148, allocations: 26.97 kB / 284.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.115, allocations: 167 kB / 284.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.115, allocations: 2.906 kB / 284.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.115, allocations: 0 / 284.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.115, allocations: 7.141 kB / 284.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.1154, allocations: 367.8 kB / 284.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1154, allocations: 0.5156 kB / 284.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.1156, allocations: 80.36 kB / 284.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1156, allocations: 41.03 kB / 284.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1157, allocations: 4.969 kB / 284.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1157, allocations: 10.84 kB / 285 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1157, allocations: 1.156 kB / 285 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1157, allocations: 0 / 285 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.1159, allocations: 287.1 kB / 285.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.1159, allocations: 10.19 kB / 285.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.116, allocations: 8.781 kB / 285.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.116, allocations: 22.8 kB / 285.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.116, allocations: 5.219 kB / 285.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.1161, allocations: 102.5 kB / 285.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1161, allocations: 0 / 285.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002/0.1163, allocations: 77.41 kB / 285.5 MB, free: 11.01 MB / 282.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 8.432e-05/0.1164, allocations: 81.23 kB / 285.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.1168, allocations: 285.8 kB / 285.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.1168, allocations: 7.688 kB / 285.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.1168, allocations: 68.33 kB / 285.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1171, allocations: 92.94 kB / 286 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.1209, allocations: 0.6587 MB / 286.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.1209, allocations: 99.86 kB / 286.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.121, allocations: 39.98 kB / 286.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1212, allocations: 105.4 kB / 286.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1212, allocations: 0 / 286.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Templates: time 0.006511/0.1277, allocations: 4.051 MB / 290.9 MB, free: 9.25 MB / 282.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.427506061270833]