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.0007354/0.0007354, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009747/0.00171, 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.0008667/0.0008667, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001932, 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.9425/0.9425, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09741/1.04, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.09844/0.09844, allocations: 19.79 MB / 264 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01459/0.113, allocations: 7.553 MB / 271.5 MB, free: 3.363 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.242e-06/1.242e-06, allocations: 0 / 272.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.174e-05, allocations: 6.312 kB / 272.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.1484/0.1485, allocations: 2.251 MB / 275.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1495, allocations: 0.6216 MB / 275.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1497, allocations: 9.844 kB / 275.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1498, allocations: 25.88 kB / 275.7 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.15, allocations: 77.83 kB / 275.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.1501, allocations: 58.09 kB / 275.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1504, allocations: 254.5 kB / 276.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1505, allocations: 36.69 kB / 276.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.1508, allocations: 187 kB / 276.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.151, allocations: 74.2 kB / 276.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.151, allocations: 16.38 kB / 276.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.1511, allocations: 17.94 kB / 276.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.1511, allocations: 32.88 kB / 276.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.1511, allocations: 60.19 kB / 276.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1514, allocations: 132.6 kB / 276.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.1514, allocations: 1.781 kB / 276.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1514, allocations: 1.781 kB / 276.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1514, allocations: 0 / 276.6 MB, free: 1.406 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.0005874/0.152, allocations: 490.4 kB / 277.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.152, allocations: 12.39 kB / 277.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1521, allocations: 106.5 kB / 277.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1523, allocations: 181.5 kB / 277.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1524, allocations: 12.88 kB / 277.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1524, allocations: 14.11 kB / 277.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1526, allocations: 146 kB / 277.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1526, allocations: 2.656 kB / 277.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1526, allocations: 6.125 kB / 277.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1526, allocations: 7.094 kB / 277.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.1527, allocations: 44.53 kB / 277.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.1531, allocations: 370 kB / 278 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1532, allocations: 84.73 kB / 278.1 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.1533, allocations: 34.52 kB / 278.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1533, allocations: 3.094 kB / 278.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.1533, allocations: 37.45 kB / 278.2 MB, free: 432 kB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.1533, allocations: 0.75 kB / 278.2 MB, free: 432 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005191/0.1538, allocations: 335.5 kB / 278.5 MB, free: 256 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.1538, allocations: 57.62 kB / 278.5 MB, free: 188 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.154, allocations: 212.2 kB / 278.7 MB, free: 72 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.154, allocations: 31.36 kB / 278.8 MB, free: 40 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.1541, allocations: 119 kB / 278.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.1541, allocations: 68.05 kB / 279 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.1542, allocations: 47.58 kB / 279 MB, free: 15.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.1542, allocations: 337.5 kB / 279.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.1543, allocations: 15.98 kB / 279.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.1543, allocations: 49.66 kB / 279.4 MB, free: 15.54 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.0002784/0.1546, allocations: 151.1 kB / 279.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1546, allocations: 1.469 kB / 279.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001326/0.1547, allocations: 112.5 kB / 279.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1547, allocations: 7.828 kB / 279.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1548, allocations: 3.906 kB / 279.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1548, allocations: 1.062 kB / 279.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.155, allocations: 83.94 kB / 279.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.155, allocations: 6 kB / 279.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.155, allocations: 8.578 kB / 279.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.155, allocations: 4.125 kB / 279.8 MB, free: 15.46 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.995e-05/0.1551, allocations: 126.1 kB / 279.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.1551, allocations: 20.22 kB / 279.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.1552, allocations: 29.25 kB / 279.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1552, allocations: 2.375 kB / 279.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1552, allocations: 4.453 kB / 280 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1552, allocations: 1.078 kB / 280 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1555, allocations: 298.8 kB / 280.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1555, allocations: 6.812 kB / 280.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.1557, allocations: 68.7 kB / 280.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.1558, allocations: 28.67 kB / 280.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1558, allocations: 1.953 kB / 280.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1558, allocations: 4.469 kB / 280.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1558, allocations: 1.094 kB / 280.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1558, allocations: 0 / 280.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.156, allocations: 231.9 kB / 280.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.156, allocations: 4.812 kB / 280.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.156, allocations: 4.688 kB / 280.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1561, allocations: 14.27 kB / 280.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1561, allocations: 2.25 kB / 280.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.1562, allocations: 75.59 kB / 280.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1562, allocations: 1.156 kB / 280.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.1563, allocations: 38.94 kB / 280.7 MB, free: 14.98 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 8.771e-05/0.1564, allocations: 77.03 kB / 280.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1566, allocations: 81.86 kB / 280.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.1566, allocations: 5.094 kB / 280.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.1566, allocations: 54.05 kB / 280.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.157, allocations: 366 kB / 281.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.1595, allocations: 451.9 kB / 281.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.1595, allocations: 80.27 kB / 281.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.1596, allocations: 26.77 kB / 281.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1597, allocations: 87.14 kB / 281.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1597, allocations: 4 kB / 281.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of Templates: time 0.005037/0.1648, allocations: 2.593 MB / 284.5 MB, free: 13.88 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.6513679111376405]