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.0007742/0.0007742, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001847, allocations: 453.9 kB / 10.45 MB, free: 244 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.001109/0.001109, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002553, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.8897/0.8897, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07705/0.9667, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1067/0.1067, allocations: 19.78 MB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01144/0.1181, allocations: 7.557 MB / 271.5 MB, free: 3.348 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 2.986e-06/2.986e-06, allocations: 4 kB / 272.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.432e-05, allocations: 2.312 kB / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.1222/0.1222, allocations: 2.976 MB / 275.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1236, allocations: 0.8244 MB / 276.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1238, allocations: 10.41 kB / 276.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.1239, allocations: 59.02 kB / 276.7 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.1243, allocations: 148.7 kB / 276.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1245, allocations: 115.4 kB / 276.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.125, allocations: 0.4974 MB / 277.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1252, allocations: 95.14 kB / 277.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.1257, allocations: 353.4 kB / 277.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1259, allocations: 160.8 kB / 278 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.126, allocations: 32.06 kB / 278.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1261, allocations: 36.72 kB / 278.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1262, allocations: 59.94 kB / 278.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1263, allocations: 117 kB / 278.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.1266, allocations: 271.3 kB / 278.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.1267, allocations: 2.453 kB / 278.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1267, allocations: 0 / 278.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1267, allocations: 4.969 kB / 278.5 MB, free: 0.8633 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.0009227/0.1276, allocations: 0.7534 MB / 279.3 MB, free: 436 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1276, allocations: 11.11 kB / 279.3 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.1278, allocations: 135.2 kB / 279.4 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1281, allocations: 256.8 kB / 279.7 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1281, allocations: 23.88 kB / 279.7 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.1281, allocations: 41.28 kB / 279.8 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1284, allocations: 238.8 kB / 280 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1284, allocations: 5.312 kB / 280 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1284, allocations: 18.22 kB / 280 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1285, allocations: 9.359 kB / 280 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1286, allocations: 96.5 kB / 280.1 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009267/0.1295, allocations: 0.7244 MB / 280.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1297, allocations: 146.7 kB / 281 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.1298, allocations: 61.31 kB / 281 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1298, allocations: 6.922 kB / 281 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1298, allocations: 40.97 kB / 281.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.1298, allocations: 1.078 kB / 281.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.000866/0.1307, allocations: 0.5393 MB / 281.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.1307, allocations: 55.19 kB / 281.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1309, allocations: 310.2 kB / 282 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1309, allocations: 32.23 kB / 282 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.131, allocations: 178.7 kB / 282.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.1311, allocations: 132.8 kB / 282.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.1312, allocations: 77.81 kB / 282.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1312, allocations: 351.1 kB / 282.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.1313, allocations: 36.94 kB / 282.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1314, allocations: 82.34 kB / 282.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1315, allocations: 140.3 kB / 283 MB, free: 14.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1315, allocations: 0 / 283 MB, free: 14.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004363/0.132, allocations: 276.3 kB / 283.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.132, allocations: 5.656 kB / 283.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.132, allocations: 6.062 kB / 283.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.1324, allocations: 130.1 kB / 283.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.1327, allocations: 110.3 kB / 283.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.1345, allocations: 2.712 MB / 286.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1347, allocations: 9.312 kB / 286.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1347, allocations: 11.75 kB / 286.2 MB, free: 11.57 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 0.0001022/0.1348, allocations: 124.2 kB / 286.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.1348, allocations: 36.58 kB / 286.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1351, allocations: 195.3 kB / 286.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1351, allocations: 4.859 kB / 286.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1351, allocations: 0 / 286.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1351, allocations: 1.891 kB / 286.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.1356, allocations: 423.1 kB / 287 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1356, allocations: 4.5 kB / 287 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1358, allocations: 96.92 kB / 287.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.1359, allocations: 42.5 kB / 287.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1359, allocations: 1.188 kB / 287.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1359, allocations: 7.219 kB / 287.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1359, allocations: 5.125 kB / 287.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1359, allocations: 0 / 287.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.1362, allocations: 329 kB / 287.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1363, allocations: 9.141 kB / 287.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.1364, allocations: 8.016 kB / 287.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1364, allocations: 22.16 kB / 287.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.1364, allocations: 4.312 kB / 287.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1366, allocations: 133.1 kB / 287.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1366, allocations: 3.938 kB / 287.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.1368, allocations: 90.44 kB / 287.7 MB, free: 10.84 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 0.0001079/0.1369, allocations: 83.05 kB / 287.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1375, allocations: 351.6 kB / 288.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/0.1375, allocations: 6.406 kB / 288.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.1376, allocations: 101.4 kB / 288.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.1381, allocations: 0.5746 MB / 288.9 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.1421, allocations: 0.8195 MB / 289.7 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.771e-05/0.1422, allocations: 114.4 kB / 289.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.1424, allocations: 41.38 kB / 289.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1425, allocations: 122.4 kB / 289.9 MB, free: 9.387 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1425, allocations: 0 / 289.9 MB, free: 9.387 MB / 282.7 MB Notification: Performance of Templates: time 0.01222/0.1548, allocations: 5.451 MB / 295.4 MB, free: 6.512 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.836691048927605]