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.001489/0.001489, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001676/0.001676, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9163/0.9163, allocations: 177.1 MB / 205 MB, free: 5.273 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.1145/0.1145, allocations: 19.74 MB / 281.2 MB, free: 9.102 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.824e-06/1.824e-06, allocations: 0 / 357.9 MB, free: 6.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.46e-05, allocations: 6.25 kB / 357.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003523/0.003547, allocations: 2.22 MB / 360.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004622, allocations: 0.6077 MB / 360.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004724, allocations: 7.938 kB / 360.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.004842, allocations: 27.67 kB / 360.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.005041, allocations: 79.33 kB / 360.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.005175, allocations: 47.92 kB / 360.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.005399, allocations: 266.7 kB / 361.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.005522, allocations: 32.58 kB / 361.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.005726, allocations: 143.6 kB / 361.4 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.005842, allocations: 79.72 kB / 361.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.005871, allocations: 16 kB / 361.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.005931, allocations: 23.92 kB / 361.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.00597, allocations: 43.83 kB / 361.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.006056, allocations: 67.78 kB / 361.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.006322, allocations: 151.3 kB / 361.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006324, allocations: 4 kB / 361.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006325, allocations: 0 / 361.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00633, allocations: 0 / 361.7 MB, free: 2.793 MB / 282.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.000794/0.007124, allocations: 0.5424 MB / 362.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.007163, allocations: 12.03 kB / 362.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.007285, allocations: 36.75 kB / 362.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.007579, allocations: 211.6 kB / 362.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.007598, allocations: 16.36 kB / 362.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.007642, allocations: 16.38 kB / 362.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.00792, allocations: 146.2 kB / 362.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.007934, allocations: 4.125 kB / 362.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.007951, allocations: 4.375 kB / 362.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.007965, allocations: 7.938 kB / 362.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.008116, allocations: 51.95 kB / 362.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.008913, allocations: 0.5724 MB / 363.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.009112, allocations: 99.03 kB / 363.4 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.009201, allocations: 39.67 kB / 363.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.009214, allocations: 4 kB / 363.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.00924, allocations: 37.39 kB / 363.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.009241, allocations: 3.938 kB / 363.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008156/0.01006, allocations: 403.7 kB / 363.9 MB, free: 440 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.01009, allocations: 59.34 kB / 364 MB, free: 368 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.01033, allocations: 272.3 kB / 364.3 MB, free: 80 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01035, allocations: 29.7 kB / 364.3 MB, free: 44 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.01047, allocations: 191.1 kB / 364.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.01052, allocations: 63.44 kB / 364.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.01059, allocations: 43.36 kB / 364.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.01074, allocations: 0.504 MB / 365.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.01081, allocations: 23.98 kB / 365.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.0109, allocations: 61.28 kB / 365.2 MB, free: 15.13 MB / 298.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.0004973/0.0114, allocations: 195.4 kB / 365.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.0114, allocations: 0 / 365.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002652/0.01167, allocations: 158.3 kB / 365.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01168, allocations: 5.406 kB / 365.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01169, allocations: 0 / 365.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01171, allocations: 4 kB / 365.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.01194, allocations: 59.84 kB / 365.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01194, allocations: 0 / 365.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01204, allocations: 11.98 kB / 365.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01205, allocations: 8.031 kB / 365.6 MB, free: 14.68 MB / 298.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 0.0001044/0.01216, allocations: 164.5 kB / 365.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.01221, allocations: 27.86 kB / 365.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.01226, allocations: 30.11 kB / 365.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01227, allocations: 0 / 365.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01227, allocations: 3.938 kB / 365.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01227, allocations: 0 / 365.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.01285, allocations: 461.2 kB / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01285, allocations: 0 / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.01308, allocations: 43.98 kB / 366.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.01308, allocations: 7.938 kB / 366.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.0131, allocations: 3.984 kB / 366.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.0131, allocations: 0 / 366.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.0131, allocations: 3.984 kB / 366.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.01346, allocations: 323.5 kB / 366.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.01353, allocations: 31.77 kB / 366.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.01355, allocations: 7.984 kB / 366.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01368, allocations: 11.95 kB / 366.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.01373, allocations: 7.984 kB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.01374, allocations: 8 kB / 366.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.01389, allocations: 197.1 kB / 366.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01389, allocations: 0 / 366.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.01422, allocations: 40 kB / 366.9 MB, free: 13.26 MB / 298.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.624e-05/0.01431, allocations: 99.17 kB / 367 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01454, allocations: 100.5 kB / 367.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01454, allocations: 4 kB / 367.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.01463, allocations: 47.61 kB / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.01503, allocations: 48.98 kB / 367.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.01634, allocations: 0.4975 MB / 367.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.31e-05/0.0164, allocations: 79.97 kB / 367.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.01648, allocations: 17.64 kB / 367.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.01656, allocations: 20.5 kB / 367.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01656, allocations: 4 kB / 367.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Templates: time 0.005208/0.02177, allocations: 2.083 MB / 369.9 MB, free: 10.23 MB / 298.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.83359142486006]