Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0008678/0.0008678, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004521/0.005389, 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.0009211/0.0009211, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002198, 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.9031/0.9031, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07834/0.9815, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.09003/0.09003, allocations: 19.75 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01341/0.1034, allocations: 7.56 MB / 271.3 MB, free: 3.48 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 272.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.2e-05, allocations: 2.312 kB / 272.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.1071/0.1071, allocations: 2.347 MB / 274.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.1081, allocations: 0.651 MB / 275.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1082, allocations: 6.531 kB / 275.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.256e-05/0.1082, allocations: 32.02 kB / 275.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1084, allocations: 91.05 kB / 275.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1085, allocations: 58.28 kB / 275.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1088, allocations: 285.6 kB / 276 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1089, allocations: 50.81 kB / 276.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1091, allocations: 206.8 kB / 276.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1093, allocations: 90.64 kB / 276.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.1093, allocations: 17.19 kB / 276.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.52e-05/0.1094, allocations: 23.97 kB / 276.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.1094, allocations: 31.28 kB / 276.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1094, allocations: 66.03 kB / 276.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1096, allocations: 154.8 kB / 276.7 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601e-05/0.1097, allocations: 0 / 276.7 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1097, allocations: 1.188 kB / 276.7 MB, free: 1.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.1097, allocations: 0.6875 kB / 276.7 MB, free: 1.301 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005698/0.1102, allocations: 0.5 MB / 277.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1103, allocations: 10.69 kB / 277.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1104, allocations: 107.4 kB / 277.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1106, allocations: 194 kB / 277.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1106, allocations: 18.19 kB / 277.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1106, allocations: 16.25 kB / 277.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1108, allocations: 150 kB / 277.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1108, allocations: 2.062 kB / 277.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1108, allocations: 8.688 kB / 277.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1108, allocations: 9.125 kB / 277.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.1109, allocations: 48.38 kB / 277.7 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1113, allocations: 411 kB / 278.1 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1114, allocations: 82.73 kB / 278.2 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.1115, allocations: 35.05 kB / 278.2 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1115, allocations: 10.27 kB / 278.2 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.1115, allocations: 33.28 kB / 278.3 MB, free: 316 kB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.1115, allocations: 0 / 278.3 MB, free: 316 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004411/0.1119, allocations: 314.9 kB / 278.6 MB, free: 144 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.112, allocations: 62.14 kB / 278.6 MB, free: 72 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1121, allocations: 221.2 kB / 278.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1121, allocations: 31.36 kB / 278.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1122, allocations: 132.3 kB / 279 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.1122, allocations: 66.03 kB / 279.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1123, allocations: 44.08 kB / 279.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.1123, allocations: 335.1 kB / 279.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.1124, allocations: 18.11 kB / 279.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.1124, allocations: 41.86 kB / 279.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.1125, allocations: 77.69 kB / 279.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1125, allocations: 0.5938 kB / 279.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001259/0.1126, allocations: 113.6 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1126, allocations: 6.469 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1126, allocations: 5.312 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1126, allocations: 1.406 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.113, allocations: 91.05 kB / 279.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000629/0.1136, allocations: 1.24 MB / 281 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.1136, allocations: 11.36 kB / 281 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1137, allocations: 4.031 kB / 281 MB, free: 14.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 6.715e-05/0.1137, allocations: 124.6 kB / 281.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1138, allocations: 15.34 kB / 281.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1139, allocations: 121.6 kB / 281.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1139, allocations: 2.969 kB / 281.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1139, allocations: 5.359 kB / 281.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1139, allocations: 3.203 kB / 281.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.1142, allocations: 302.8 kB / 281.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1142, allocations: 5.5 kB / 281.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1143, allocations: 52.34 kB / 281.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1144, allocations: 26.06 kB / 281.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1144, allocations: 1.219 kB / 281.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1144, allocations: 1.844 kB / 281.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1144, allocations: 1 kB / 281.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1144, allocations: 1.125 kB / 281.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.1146, allocations: 235 kB / 281.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1146, allocations: 4.875 kB / 281.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.1146, allocations: 12.98 kB / 281.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1147, allocations: 15.09 kB / 282 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1147, allocations: 2.016 kB / 282 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.241e-05/0.1147, allocations: 74.59 kB / 282 MB, free: 13.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1147, allocations: 0 / 282 MB, free: 13.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.1149, allocations: 48.16 kB / 282.1 MB, free: 13.61 MB / 282.7 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: 0 () * 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 8.283e-05/0.115, allocations: 76.56 kB / 282.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1152, allocations: 119.5 kB / 282.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.1152, allocations: 3.672 kB / 282.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.1153, allocations: 47.14 kB / 282.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.1155, allocations: 55.48 kB / 282.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.1185, allocations: 0.5075 MB / 282.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.1186, allocations: 83.45 kB / 283 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.1187, allocations: 32.05 kB / 283 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1188, allocations: 84.89 kB / 283.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1188, allocations: 0 / 283.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of Templates: time 0.005044/0.1238, allocations: 2.811 MB / 285.9 MB, free: 12.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4530394412577152]