Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0008295/0.0008295, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001853, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008454/0.0008454, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009348/0.00178, allocations: 479.5 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.9452/0.9452, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.09337/0.09337, allocations: 19.79 MB / 264 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01269/0.1061, allocations: 7.553 MB / 271.5 MB, free: 3.34 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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 272.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.778e-05, allocations: 5.828 kB / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.1296/0.1296, allocations: 2.252 MB / 275.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.1305, allocations: 0.6183 MB / 275.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.1306, allocations: 8.375 kB / 275.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.1307, allocations: 25.45 kB / 275.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1308, allocations: 80.67 kB / 275.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.1309, allocations: 54.77 kB / 275.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1312, allocations: 253.2 kB / 276.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1313, allocations: 45.7 kB / 276.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.1315, allocations: 176.6 kB / 276.3 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1317, allocations: 79.73 kB / 276.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1317, allocations: 15.62 kB / 276.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.1318, allocations: 21.81 kB / 276.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.1318, allocations: 33.59 kB / 276.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.1318, allocations: 55.03 kB / 276.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.132, allocations: 132 kB / 276.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.132, allocations: 0 / 276.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.132, allocations: 4.469 kB / 276.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.132, allocations: 4.969 kB / 276.6 MB, free: 1.305 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.0005465/0.1326, allocations: 484.9 kB / 277.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1326, allocations: 13.22 kB / 277.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1327, allocations: 102.7 kB / 277.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1329, allocations: 184.6 kB / 277.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1329, allocations: 13.88 kB / 277.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1329, allocations: 15.75 kB / 277.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1331, allocations: 136.4 kB / 277.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1331, allocations: 2.125 kB / 277.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1331, allocations: 6.047 kB / 277.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1331, allocations: 7.469 kB / 277.6 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.1332, allocations: 53.36 kB / 277.6 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1336, allocations: 376.4 kB / 278 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1337, allocations: 75.05 kB / 278.1 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.1337, allocations: 42.34 kB / 278.1 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1337, allocations: 2.812 kB / 278.1 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.1338, allocations: 37.28 kB / 278.2 MB, free: 332 kB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.1338, allocations: 0 / 278.2 MB, free: 332 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004932/0.1343, allocations: 331.9 kB / 278.5 MB, free: 160 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.1343, allocations: 58.41 kB / 278.5 MB, free: 92 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1344, allocations: 212.5 kB / 278.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1344, allocations: 31.17 kB / 278.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1345, allocations: 121.3 kB / 278.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1345, allocations: 69.02 kB / 279 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1346, allocations: 48.55 kB / 279 MB, free: 15.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.1347, allocations: 332 kB / 279.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.1347, allocations: 16.81 kB / 279.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.1347, allocations: 51.8 kB / 279.4 MB, free: 15.44 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.000256/0.135, allocations: 146.5 kB / 279.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.135, allocations: 0 / 279.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001219/0.1351, allocations: 117.7 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1351, allocations: 8.031 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1351, allocations: 1.125 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1351, allocations: 1.156 kB / 279.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.1354, allocations: 84.45 kB / 279.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1354, allocations: 5.219 kB / 279.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.1354, allocations: 5.422 kB / 279.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1354, allocations: 9.031 kB / 279.8 MB, free: 15.37 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 6.677e-05/0.1355, allocations: 123.3 kB / 279.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1355, allocations: 20.22 kB / 279.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.1356, allocations: 26.25 kB / 279.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1356, allocations: 5.406 kB / 279.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1356, allocations: 3.938 kB / 280 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1356, allocations: 2.594 kB / 280 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.1359, allocations: 301.4 kB / 280.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1359, allocations: 4.062 kB / 280.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.1361, allocations: 71.72 kB / 280.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1361, allocations: 28.88 kB / 280.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1361, allocations: 1.344 kB / 280.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1361, allocations: 11.67 kB / 280.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1361, allocations: 1.375 kB / 280.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1361, allocations: 0 / 280.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1363, allocations: 223.2 kB / 280.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1363, allocations: 5.703 kB / 280.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.1364, allocations: 8.219 kB / 280.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1364, allocations: 10.44 kB / 280.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1364, allocations: 2.594 kB / 280.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.303e-05/0.1365, allocations: 69.98 kB / 280.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1365, allocations: 0 / 280.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.1366, allocations: 43.97 kB / 280.7 MB, free: 14.88 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.582e-05/0.1367, allocations: 85.14 kB / 280.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.1368, allocations: 75.77 kB / 280.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.1368, allocations: 4.391 kB / 280.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/0.1369, allocations: 60.59 kB / 280.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1372, allocations: 360 kB / 281.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.1397, allocations: 452.8 kB / 281.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.146e-05/0.1397, allocations: 79.23 kB / 281.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.1398, allocations: 25.81 kB / 281.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1399, allocations: 84.89 kB / 281.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1399, allocations: 1.312 kB / 281.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of Templates: time 0.004615/0.1445, allocations: 2.599 MB / 284.5 MB, free: 13.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6075812485069036]