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.001435/0.001435, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001527/0.001527, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.46/1.46, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1471/0.1471, allocations: 19.74 MB / 280.8 MB, free: 9.301 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.402e-06/1.402e-06, allocations: 0 / 357.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.049e-05, allocations: 2.312 kB / 357.2 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003503/0.003524, allocations: 2.106 MB / 359.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004689, allocations: 0.5843 MB / 359.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004792, allocations: 7.938 kB / 359.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.004919, allocations: 19.73 kB / 359.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.005167, allocations: 95.2 kB / 360 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.005328, allocations: 47.92 kB / 360.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.005662, allocations: 258.8 kB / 360.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.00579, allocations: 36.58 kB / 360.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.006072, allocations: 155.5 kB / 360.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.006236, allocations: 71.78 kB / 360.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.006272, allocations: 16 kB / 360.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.006339, allocations: 19.94 kB / 360.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.006387, allocations: 43.83 kB / 360.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.006486, allocations: 75.77 kB / 360.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.006781, allocations: 191.3 kB / 360.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.006783, allocations: 0 / 360.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.006783, allocations: 0 / 360.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006788, allocations: 0 / 360.9 MB, free: 3.258 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.0009242/0.007712, allocations: 468.9 kB / 361.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.007744, allocations: 12.03 kB / 361.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.007872, allocations: 40.73 kB / 361.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.008227, allocations: 204.8 kB / 361.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.008247, allocations: 12.36 kB / 361.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.008296, allocations: 20.38 kB / 361.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.00863, allocations: 148.4 kB / 361.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.008643, allocations: 192 / 361.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.008664, allocations: 8.375 kB / 361.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.008671, allocations: 7.938 kB / 361.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.008946, allocations: 103.9 kB / 361.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009031/0.009849, allocations: 496.2 kB / 362.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.01014, allocations: 122.5 kB / 362.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.0103, allocations: 64.83 kB / 362.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01031, allocations: 0 / 362.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.01035, allocations: 42.56 kB / 362.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.01035, allocations: 0 / 362.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001174/0.01152, allocations: 484.4 kB / 363.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.01158, allocations: 67.28 kB / 363.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.01186, allocations: 225.8 kB / 363.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.01188, allocations: 25.7 kB / 363.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01202, allocations: 152.3 kB / 363.5 MB, free: 436 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.01209, allocations: 67.44 kB / 363.6 MB, free: 368 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.01216, allocations: 41.64 kB / 363.7 MB, free: 320 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.01237, allocations: 326.8 kB / 364 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.01251, allocations: 51.97 kB / 364 MB, free: 15.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.01267, allocations: 78.53 kB / 364.1 MB, free: 15.85 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.001252/0.01392, allocations: 341.2 kB / 364.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01393, allocations: 4 kB / 364.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004134/0.01434, allocations: 204 kB / 364.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01435, allocations: 4 kB / 364.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01436, allocations: 0 / 364.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.01438, allocations: 4 kB / 364.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.01466, allocations: 63.84 kB / 364.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01466, allocations: 0 / 364.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.0148, allocations: 20.02 kB / 364.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.01482, allocations: 4 kB / 364.7 MB, free: 15.21 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.0001432/0.01496, allocations: 126.5 kB / 364.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.01502, allocations: 27.86 kB / 364.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.01509, allocations: 30.11 kB / 364.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01509, allocations: 0 / 364.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.0151, allocations: 3.938 kB / 364.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0151, allocations: 0 / 364.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008188/0.01592, allocations: 444.6 kB / 365.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01592, allocations: 4 kB / 365.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.01621, allocations: 55.91 kB / 365.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.01622, allocations: 7.938 kB / 365.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01623, allocations: 0 / 365.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01623, allocations: 0 / 365.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01623, allocations: 48 / 365.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.01683, allocations: 347.2 kB / 365.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.01691, allocations: 31.83 kB / 365.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.01695, allocations: 11.98 kB / 365.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.0171, allocations: 4 kB / 365.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.01716, allocations: 19.91 kB / 365.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01717, allocations: 4 kB / 365.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.01735, allocations: 161.2 kB / 366 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01735, allocations: 0 / 366 MB, free: 13.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.01764, allocations: 47.94 kB / 366 MB, free: 13.85 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 0.0001119/0.01775, allocations: 99.22 kB / 366.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.01812, allocations: 135.7 kB / 366.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01813, allocations: 0 / 366.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.01828, allocations: 67.91 kB / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.01867, allocations: 42.33 kB / 366.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.01968, allocations: 0.4893 MB / 366.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.01994, allocations: 133.8 kB / 367 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.934e-05/0.02003, allocations: 25.61 kB / 367 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.0201, allocations: 20.5 kB / 367 MB, free: 12.79 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.0201, allocations: 0 / 367 MB, free: 12.79 MB / 298.7 MB Notification: Performance of Templates: time 0.005833/0.02593, allocations: 2.072 MB / 369.1 MB, free: 10.75 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.308320771087892]