Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.0008669/0.0008669, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002061, 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.0009185/0.0009185, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003818/0.004736, 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.9205/0.9205, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07311/0.9936, 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.0891/0.0891, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01138/0.1005, allocations: 7.557 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 272.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/1.098e-05, allocations: 2.312 kB / 272.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.1143/0.1143, allocations: 3.132 MB / 275.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1158, allocations: 0.8558 MB / 276.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.116, allocations: 10.53 kB / 276.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1161, allocations: 60.77 kB / 276.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.1165, allocations: 161.3 kB / 276.8 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1167, allocations: 124.9 kB / 276.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1171, allocations: 0.5383 MB / 277.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1173, allocations: 106.5 kB / 277.5 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.1178, allocations: 388.3 kB / 277.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.118, allocations: 163 kB / 278.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.118, allocations: 34.81 kB / 278.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1181, allocations: 44.94 kB / 278.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1182, allocations: 66.69 kB / 278.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1183, allocations: 123.3 kB / 278.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.1187, allocations: 292.3 kB / 278.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.1187, allocations: 0 / 278.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1187, allocations: 1.156 kB / 278.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.1187, allocations: 0.625 kB / 278.6 MB, free: 0.9219 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0009728/0.1197, allocations: 0.7978 MB / 279.4 MB, free: 464 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1197, allocations: 9.562 kB / 279.4 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1198, allocations: 141.2 kB / 279.6 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1202, allocations: 266.8 kB / 279.8 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1202, allocations: 26.69 kB / 279.9 MB, free: 136 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.1202, allocations: 40.55 kB / 279.9 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.1206, allocations: 256.9 kB / 280.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1206, allocations: 4.375 kB / 280.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1206, allocations: 10.84 kB / 280.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1206, allocations: 12.16 kB / 280.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1208, allocations: 102.6 kB / 280.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1219, allocations: 0.7567 MB / 281 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1222, allocations: 154.7 kB / 281.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.1222, allocations: 66.8 kB / 281.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1223, allocations: 8.438 kB / 281.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1223, allocations: 41.67 kB / 281.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.1223, allocations: 0 / 281.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001148/0.1234, allocations: 0.5904 MB / 281.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1235, allocations: 55.88 kB / 282 MB, free: 15.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1237, allocations: 326.3 kB / 282.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1238, allocations: 34.77 kB / 282.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1239, allocations: 187.4 kB / 282.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.124, allocations: 132.5 kB / 282.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.1241, allocations: 76.83 kB / 282.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1242, allocations: 361.2 kB / 283 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.1242, allocations: 38.28 kB / 283.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.1243, allocations: 88.45 kB / 283.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1245, allocations: 152.5 kB / 283.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1245, allocations: 0 / 283.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002641/0.1248, allocations: 202.8 kB / 283.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1248, allocations: 10.77 kB / 283.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1248, allocations: 2.281 kB / 283.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1248, allocations: 4.281 kB / 283.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/0.1255, allocations: 210.5 kB / 283.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/0.1263, allocations: 1.241 MB / 285 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1264, allocations: 13.56 kB / 285 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1264, allocations: 11.42 kB / 285 MB, free: 12.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * 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 0.0001006/0.1265, allocations: 131.2 kB / 285.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.1266, allocations: 34.34 kB / 285.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1268, allocations: 195.2 kB / 285.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1268, allocations: 4.062 kB / 285.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1268, allocations: 2.875 kB / 285.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1269, allocations: 7.297 kB / 285.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.1274, allocations: 443.5 kB / 285.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1274, allocations: 1.375 kB / 285.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.1278, allocations: 109.2 kB / 285.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.1279, allocations: 38.41 kB / 285.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1279, allocations: 4.969 kB / 286 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1279, allocations: 7.516 kB / 286 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1279, allocations: 1.562 kB / 286 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1279, allocations: 0 / 286 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.1282, allocations: 335.1 kB / 286.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.1283, allocations: 10.53 kB / 286.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1284, allocations: 11.58 kB / 286.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1285, allocations: 23.33 kB / 286.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1285, allocations: 10.38 kB / 286.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1286, allocations: 131.4 kB / 286.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1286, allocations: 0 / 286.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.1289, allocations: 87.28 kB / 286.6 MB, free: 12.01 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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 9.097e-05/0.129, allocations: 81.48 kB / 286.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.1293, allocations: 193.2 kB / 286.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.1293, allocations: 15.94 kB / 286.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1295, allocations: 88.56 kB / 286.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1299, allocations: 119.1 kB / 287 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.1345, allocations: 0.8662 MB / 287.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.1346, allocations: 116.3 kB / 288 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.1347, allocations: 46.83 kB / 288.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.1349, allocations: 122.5 kB / 288.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1349, allocations: 0 / 288.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Templates: time 0.007356/0.1423, allocations: 5.156 MB / 293.3 MB, free: 8.723 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.603222591802478]