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.001048/0.001048, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002541, 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.001048/0.001048, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002551, 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.976/0.976, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07848/1.055, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.1004/0.1004, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01205/0.1125, allocations: 7.56 MB / 271.3 MB, free: 3.469 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.362e-06/1.362e-06, allocations: 0 / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.106e-06/9.468e-06, 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.104/0.1041, allocations: 2.692 MB / 275.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1051, allocations: 0.7547 MB / 276 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1052, allocations: 8.094 kB / 276 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1053, allocations: 51.45 kB / 276.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1055, allocations: 131.1 kB / 276.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1057, allocations: 83.81 kB / 276.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.106, allocations: 411 kB / 276.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1061, allocations: 58.05 kB / 276.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1065, allocations: 284.8 kB / 277 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1066, allocations: 129.6 kB / 277.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.1067, allocations: 24.97 kB / 277.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1067, allocations: 28.28 kB / 277.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.1068, allocations: 50.31 kB / 277.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.1068, allocations: 90.84 kB / 277.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1071, allocations: 218.9 kB / 277.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.1071, allocations: 0 / 277.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1071, allocations: 1.188 kB / 277.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1071, allocations: 0 / 277.5 MB, free: 1.152 MB / 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.000648/0.1077, allocations: 0.6418 MB / 278.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.1078, allocations: 10.31 kB / 278.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1079, allocations: 122.2 kB / 278.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1081, allocations: 225.4 kB / 278.5 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1081, allocations: 21.84 kB / 278.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1081, allocations: 29.73 kB / 278.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1083, allocations: 199.9 kB / 278.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1083, allocations: 1.828 kB / 278.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1084, allocations: 12.97 kB / 278.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1084, allocations: 10.06 kB / 278.8 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1085, allocations: 79.95 kB / 278.9 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.109, allocations: 0.5531 MB / 279.4 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1091, allocations: 111.6 kB / 279.5 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1092, allocations: 53.48 kB / 279.6 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1092, allocations: 8.438 kB / 279.6 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1092, allocations: 39.31 kB / 279.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.152e-06/0.1092, allocations: 0 / 279.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.000589/0.1098, allocations: 418.5 kB / 280.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1098, allocations: 61.7 kB / 280.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.11, allocations: 267.1 kB / 280.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.11, allocations: 34.02 kB / 280.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1101, allocations: 152.1 kB / 280.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.1101, allocations: 102 kB / 280.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.1102, allocations: 63.06 kB / 280.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.1103, allocations: 348.4 kB / 281.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.1103, allocations: 25.38 kB / 281.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.1104, allocations: 71.88 kB / 281.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1105, allocations: 108 kB / 281.3 MB, free: 15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1105, allocations: 1.219 kB / 281.3 MB, free: 15 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000233/0.1107, allocations: 185.4 kB / 281.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1107, allocations: 7.734 kB / 281.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1107, allocations: 3.219 kB / 281.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.1109, allocations: 58.69 kB / 281.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1112, allocations: 95.53 kB / 281.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.1125, allocations: 2.52 MB / 284.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.1125, allocations: 10.83 kB / 284.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1125, allocations: 6.578 kB / 284.1 MB, free: 12.53 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 7.569e-05/0.1126, allocations: 128.2 kB / 284.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1127, allocations: 27.72 kB / 284.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1128, allocations: 170.6 kB / 284.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1128, allocations: 2.562 kB / 284.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.1128, allocations: 0.75 kB / 284.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1128, allocations: 6.625 kB / 284.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.1132, allocations: 362.8 kB / 284.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1132, allocations: 1.406 kB / 284.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.1134, allocations: 82.64 kB / 284.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.1135, allocations: 39.94 kB / 284.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1135, allocations: 6.031 kB / 284.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1135, allocations: 9.594 kB / 285 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1135, allocations: 2.844 kB / 285 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1135, allocations: 0 / 285 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1137, allocations: 285.7 kB / 285.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1138, allocations: 10.75 kB / 285.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.1138, allocations: 5.219 kB / 285.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1139, allocations: 20.28 kB / 285.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1139, allocations: 10.8 kB / 285.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.988e-05/0.114, allocations: 105.9 kB / 285.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.114, allocations: 0 / 285.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000211/0.1142, allocations: 74.38 kB / 285.5 MB, free: 11.84 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.977e-05/0.1143, allocations: 85.22 kB / 285.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.1147, allocations: 281 kB / 285.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.1147, allocations: 8.703 kB / 285.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.1148, allocations: 73.22 kB / 285.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.115, allocations: 86.77 kB / 286 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.1189, allocations: 0.6531 MB / 286.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.295e-05/0.1189, allocations: 99.19 kB / 286.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.119, allocations: 38.05 kB / 286.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.1192, allocations: 108.1 kB / 286.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1192, allocations: 0 / 286.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of Templates: time 0.006196/0.1254, allocations: 4.049 MB / 290.9 MB, free: 9.852 MB / 282.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.6423567878082395]