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.001529/0.001529, allocations: 77.97 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001666/0.001666, allocations: 168.6 kB / 24.82 MB, free: 9.32 MB / 18.57 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.9735/0.9735, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.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.09109/0.09109, allocations: 19.74 MB / 281.5 MB, free: 9.113 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.694e-06/1.694e-06, allocations: 0 / 358.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.403e-05, allocations: 2.312 kB / 358.4 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.00228/0.002294, allocations: 2.204 MB / 360.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.003108, allocations: 0.6036 MB / 361.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.003203, allocations: 7.938 kB / 361.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003315, allocations: 23.67 kB / 361.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.003493, allocations: 83.33 kB / 361.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.003616, allocations: 51.92 kB / 361.4 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.004157, allocations: 258.7 kB / 361.6 MB, free: 4.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.00426, allocations: 32.58 kB / 361.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.004448, allocations: 151.6 kB / 361.8 MB, free: 3.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.004545, allocations: 75.72 kB / 361.9 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.004567, allocations: 12 kB / 361.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.004614, allocations: 27.94 kB / 361.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.004638, allocations: 39.83 kB / 362 MB, free: 3.688 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.004686, allocations: 71.77 kB / 362 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004848, allocations: 147.3 kB / 362.2 MB, free: 3.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004851, allocations: 8 kB / 362.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004852, allocations: 0 / 362.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.004855, allocations: 0 / 362.2 MB, free: 3.465 MB / 330.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.0004748/0.005329, allocations: 0.554 MB / 362.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.005363, allocations: 8.031 kB / 362.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.005441, allocations: 36.8 kB / 362.8 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005601, allocations: 203.6 kB / 363 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005612, allocations: 8.375 kB / 363 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.005635, allocations: 20.36 kB / 363 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.005778, allocations: 138.2 kB / 363.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.005789, allocations: 8.078 kB / 363.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.005798, allocations: 8.375 kB / 363.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005805, allocations: 7.938 kB / 363.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.005868, allocations: 47.95 kB / 363.2 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.006324, allocations: 0.534 MB / 363.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.006425, allocations: 86.98 kB / 363.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.006464, allocations: 39.7 kB / 363.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.006473, allocations: 4 kB / 363.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.006492, allocations: 45.33 kB / 363.9 MB, free: 1.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.006493, allocations: 0 / 363.9 MB, free: 1.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004258/0.006919, allocations: 356.5 kB / 364.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.006941, allocations: 51.41 kB / 364.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007073, allocations: 276.2 kB / 364.6 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.007085, allocations: 29.7 kB / 364.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.007151, allocations: 183.1 kB / 364.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.007183, allocations: 67.41 kB / 364.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.007478, allocations: 51.34 kB / 364.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.00758, allocations: 0.5001 MB / 365.4 MB, free: 4 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.007616, allocations: 23.98 kB / 365.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.007659, allocations: 61.86 kB / 365.5 MB, free: 15.91 MB / 346.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 (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.00789, allocations: 166.8 kB / 365.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007891, allocations: 0 / 365.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000125/0.008016, allocations: 137.5 kB / 365.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.008026, allocations: 8 kB / 365.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.008029, allocations: 0 / 365.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.008036, allocations: 0 / 365.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.008151, allocations: 59.94 kB / 365.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008156, allocations: 7.938 kB / 365.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.008208, allocations: 11.95 kB / 365.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.008214, allocations: 4 kB / 365.9 MB, free: 15.51 MB / 346.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 8.014e-05/0.008294, allocations: 172.5 kB / 366.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.008322, allocations: 23.94 kB / 366.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.008355, allocations: 22.12 kB / 366.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008359, allocations: 4 kB / 366.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.008361, allocations: 4 kB / 366.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.008368, allocations: 7.922 kB / 366.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.008714, allocations: 412.4 kB / 366.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008716, allocations: 4 kB / 366.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.00884, allocations: 47.97 kB / 366.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.008842, allocations: 0 / 366.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008851, allocations: 4 kB / 366.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.008852, allocations: 3.938 kB / 366.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008854, allocations: 0 / 366.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.009062, allocations: 307.5 kB / 366.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.009102, allocations: 35.84 kB / 366.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.009119, allocations: 3.938 kB / 366.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.00918, allocations: 11.98 kB / 366.9 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.009221, allocations: 11.98 kB / 366.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.009226, allocations: 0 / 366.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.009303, allocations: 189.1 kB / 367.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009303, allocations: 0 / 367.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.009477, allocations: 40 kB / 367.2 MB, free: 14.17 MB / 346.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.088e-05/0.009548, allocations: 99.19 kB / 367.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.009677, allocations: 98.89 kB / 367.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.009679, allocations: 0 / 367.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.009727, allocations: 54.09 kB / 367.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.009955, allocations: 44.45 kB / 367.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.01079, allocations: 0.4907 MB / 367.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.01083, allocations: 75.98 kB / 368 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.0109, allocations: 29.62 kB / 368 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.01099, allocations: 98.19 kB / 368.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01099, allocations: 0 / 368.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of Templates: time 0.003594/0.01459, allocations: 2.214 MB / 370.4 MB, free: 10.95 MB / 346.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.745544097851962]