Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.0007127/0.0007127, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008806/0.001593, 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.0006895/0.0006895, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008643/0.001554, 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.9334/0.9334, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07648/1.01, allocations: 53.65 MB / 243.3 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.08429/0.08429, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009886/0.09417, allocations: 7.554 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.701e-05, allocations: 5.828 kB / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.1145/0.1145, allocations: 2.965 MB / 275.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1157, allocations: 0.829 MB / 276.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.1159, allocations: 11.75 kB / 276.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.116, allocations: 52.05 kB / 276.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1162, allocations: 155.4 kB / 276.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1164, allocations: 109.8 kB / 276.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1168, allocations: 0.4994 MB / 277.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.117, allocations: 93.75 kB / 277.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.1173, allocations: 356.3 kB / 277.6 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1176, allocations: 156 kB / 277.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.1176, allocations: 33.44 kB / 277.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.1177, allocations: 36.14 kB / 277.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.1177, allocations: 60.53 kB / 277.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1178, allocations: 115.8 kB / 278 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1181, allocations: 275.5 kB / 278.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.1181, allocations: 0 / 278.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1182, allocations: 2.062 kB / 278.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.1182, allocations: 0 / 278.3 MB, free: 1.004 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008105/0.119, allocations: 0.7455 MB / 279 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.119, allocations: 11.11 kB / 279.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.1191, allocations: 133.8 kB / 279.2 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1194, allocations: 268.3 kB / 279.4 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1194, allocations: 24.78 kB / 279.5 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1195, allocations: 38.52 kB / 279.5 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1197, allocations: 247.1 kB / 279.8 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1197, allocations: 2.219 kB / 279.8 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1197, allocations: 13.7 kB / 279.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1197, allocations: 9.125 kB / 279.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1199, allocations: 99.45 kB / 279.9 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.1208, allocations: 0.7196 MB / 280.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1209, allocations: 150 kB / 280.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.121, allocations: 59.69 kB / 280.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.121, allocations: 6 kB / 280.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.121, allocations: 33.36 kB / 280.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.121, allocations: 1.094 kB / 280.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008065/0.1218, allocations: 0.5374 MB / 281.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1219, allocations: 56.06 kB / 281.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1221, allocations: 314.2 kB / 281.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1221, allocations: 31.05 kB / 281.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.1222, allocations: 179 kB / 281.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.1222, allocations: 128.6 kB / 282.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.1223, allocations: 72.52 kB / 282.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.1224, allocations: 355.9 kB / 282.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.1224, allocations: 35.12 kB / 282.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1225, allocations: 82.34 kB / 282.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1226, allocations: 143.9 kB / 282.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1226, allocations: 1.188 kB / 282.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003889/0.123, allocations: 271.9 kB / 283 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.123, allocations: 5.25 kB / 283 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.123, allocations: 0.9688 kB / 283 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.1234, allocations: 133.6 kB / 283.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.1237, allocations: 113.2 kB / 283.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.1253, allocations: 2.705 MB / 286 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1254, allocations: 13.72 kB / 286 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1254, allocations: 7.031 kB / 286 MB, free: 11.77 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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/0.1255, allocations: 127.8 kB / 286.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.1256, allocations: 37.84 kB / 286.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.1258, allocations: 195.2 kB / 286.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1258, allocations: 3.719 kB / 286.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1258, allocations: 2.156 kB / 286.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1258, allocations: 2.109 kB / 286.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.1262, allocations: 418.3 kB / 286.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1262, allocations: 3.938 kB / 286.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.1265, allocations: 102.6 kB / 286.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.1265, allocations: 42 kB / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1265, allocations: 0.9688 kB / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1265, allocations: 9.047 kB / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1265, allocations: 2.156 kB / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1265, allocations: 0 / 286.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1268, allocations: 332 kB / 287.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1268, allocations: 6.875 kB / 287.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.1269, allocations: 7.047 kB / 287.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1269, allocations: 22.89 kB / 287.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.127, allocations: 8.312 kB / 287.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1271, allocations: 132.8 kB / 287.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 0 / 287.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.1273, allocations: 90.53 kB / 287.5 MB, free: 11.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (34): * Single equations (assignments): 34 * 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 6.688e-05/0.1273, allocations: 82.42 kB / 287.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1278, allocations: 349.9 kB / 287.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.1278, allocations: 9.359 kB / 287.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.1278, allocations: 76.62 kB / 288 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1281, allocations: 112.1 kB / 288.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.1322, allocations: 0.8297 MB / 288.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.1323, allocations: 113.6 kB / 289 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1324, allocations: 40 kB / 289.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1325, allocations: 114 kB / 289.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1325, allocations: 0 / 289.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of Templates: time 0.007075/0.1396, allocations: 5.162 MB / 294.4 MB, free: 7.633 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6199688902124763]