Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.0007118/0.0007118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009484/0.00166, 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.0007047/0.0007047, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009098/0.001615, 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.8867/0.8867, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0719/0.9586, allocations: 53.65 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.08274/0.08274, allocations: 19.74 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01044/0.09319, allocations: 7.56 MB / 271.3 MB, free: 3.473 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.261e-05, allocations: 2.312 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.1118/0.1118, allocations: 2.255 MB / 274.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.1127, allocations: 0.6161 MB / 275.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.1128, allocations: 2.25 kB / 275.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.729e-05/0.1129, allocations: 30.73 kB / 275.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.113, allocations: 80.94 kB / 275.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.1132, allocations: 57.23 kB / 275.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1134, allocations: 251.7 kB / 275.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1135, allocations: 39.91 kB / 275.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.1137, allocations: 186 kB / 276.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1138, allocations: 77.95 kB / 276.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1139, allocations: 17.31 kB / 276.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.1139, allocations: 18.16 kB / 276.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.114, allocations: 31.69 kB / 276.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.114, allocations: 55.75 kB / 276.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1142, allocations: 134.8 kB / 276.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.1142, allocations: 0 / 276.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1142, allocations: 0.9062 kB / 276.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1142, allocations: 3.938 kB / 276.4 MB, free: 1.355 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005302/0.1147, allocations: 481.7 kB / 276.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.1148, allocations: 11.2 kB / 276.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.1149, allocations: 104.9 kB / 277 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.115, allocations: 186.5 kB / 277.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.115, allocations: 9.219 kB / 277.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1151, allocations: 18.66 kB / 277.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1152, allocations: 137.7 kB / 277.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1152, allocations: 1.75 kB / 277.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1152, allocations: 6.906 kB / 277.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1152, allocations: 8.719 kB / 277.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.1153, allocations: 40.58 kB / 277.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.1157, allocations: 381.6 kB / 277.8 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.1158, allocations: 72.41 kB / 277.8 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.1158, allocations: 35 kB / 277.9 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.1158, allocations: 4.438 kB / 277.9 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.1159, allocations: 36.03 kB / 277.9 MB, free: 396 kB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1159, allocations: 0 / 277.9 MB, free: 396 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004668/0.1163, allocations: 339.9 kB / 278.2 MB, free: 216 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.1163, allocations: 57.5 kB / 278.3 MB, free: 148 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1165, allocations: 216.8 kB / 278.5 MB, free: 32 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1165, allocations: 25.7 kB / 278.5 MB, free: 0 / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1165, allocations: 118.2 kB / 278.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1166, allocations: 71 kB / 278.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1166, allocations: 44.44 kB / 278.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.1167, allocations: 338.8 kB / 279.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.1167, allocations: 16.48 kB / 279.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.1168, allocations: 44.94 kB / 279.1 MB, free: 15.5 MB / 282.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom ((-generator.omega_e_nom) / (-6.283185307179586) = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.117, allocations: 147.8 kB / 279.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.117, allocations: 1.312 kB / 279.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001242/0.1171, allocations: 114.2 kB / 279.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1171, allocations: 6.984 kB / 279.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1171, allocations: 3.875 kB / 279.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.1172, allocations: 1.031 kB / 279.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1174, allocations: 82.2 kB / 279.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1174, allocations: 5.969 kB / 279.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.1174, allocations: 8.188 kB / 279.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1174, allocations: 7.406 kB / 279.5 MB, free: 15.43 MB / 282.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 7.375e-05/0.1175, allocations: 128.7 kB / 279.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.1175, allocations: 15.89 kB / 279.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.1176, allocations: 26.69 kB / 279.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1176, allocations: 6.094 kB / 279.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1176, allocations: 6.656 kB / 279.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1176, allocations: 0.75 kB / 279.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1179, allocations: 302.2 kB / 280 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1179, allocations: 0 / 280 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.1181, allocations: 70.75 kB / 280.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.1181, allocations: 28.91 kB / 280.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1181, allocations: 2.25 kB / 280.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1181, allocations: 2.719 kB / 280.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1181, allocations: 0.9688 kB / 280.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1181, allocations: 4.031 kB / 280.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.1183, allocations: 228 kB / 280.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1184, allocations: 6.781 kB / 280.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.1184, allocations: 2.922 kB / 280.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1184, allocations: 14.61 kB / 280.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1185, allocations: 6.562 kB / 280.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.485e-05/0.1185, allocations: 74.94 kB / 280.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1185, allocations: 0 / 280.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.1187, allocations: 39.81 kB / 280.5 MB, free: 14.94 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (18): * Single equations (assignments): 18 * 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 7.785e-05/0.1188, allocations: 86.34 kB / 280.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1189, allocations: 78.42 kB / 280.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.1189, allocations: 7.281 kB / 280.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.1189, allocations: 43.03 kB / 280.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1191, allocations: 59.41 kB / 280.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.1217, allocations: 458 kB / 281.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.153e-05/0.1218, allocations: 80.17 kB / 281.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.148e-05/0.1219, allocations: 24.73 kB / 281.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.74e-05/0.122, allocations: 81.56 kB / 281.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.122, allocations: 0 / 281.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.004743/0.1267, allocations: 2.478 MB / 283.8 MB, free: 14.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5020217476412654]