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.0009739/0.0009739, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001542/0.001542, allocations: 165.9 kB / 24.99 MB, free: 9.273 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.9567/0.9567, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.1104/0.1104, allocations: 19.74 MB / 281.5 MB, free: 9.348 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.653e-06/1.653e-06, allocations: 3.938 kB / 357.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.559e-05, allocations: 6.25 kB / 357.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003579/0.003605, allocations: 2.219 MB / 360.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004717, allocations: 0.5999 MB / 360.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.004845, allocations: 0 / 360.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.004987, allocations: 31.66 kB / 360.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.005239, allocations: 83.33 kB / 360.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.005648, allocations: 51.88 kB / 360.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.005958, allocations: 258.8 kB / 361.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.006103, allocations: 36.58 kB / 361.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.006388, allocations: 147.5 kB / 361.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.006541, allocations: 79.72 kB / 361.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.006574, allocations: 16 kB / 361.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.006634, allocations: 19.94 kB / 361.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.006676, allocations: 47.77 kB / 361.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.006756, allocations: 71.83 kB / 361.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.007013, allocations: 147.3 kB / 361.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007016, allocations: 0 / 361.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007017, allocations: 0 / 361.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.007022, allocations: 0 / 361.7 MB, free: 3.137 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.0007852/0.007807, allocations: 0.5424 MB / 362.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.007848, allocations: 16.03 kB / 362.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.007974, allocations: 36.75 kB / 362.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.008265, allocations: 207.6 kB / 362.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.008285, allocations: 12.36 kB / 362.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.008325, allocations: 20.38 kB / 362.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.008587, allocations: 150.2 kB / 362.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.0086, allocations: 192 / 362.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.008619, allocations: 8.375 kB / 362.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.008632, allocations: 7.938 kB / 362.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.008779, allocations: 55.89 kB / 362.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.009566, allocations: 0.5724 MB / 363.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.009762, allocations: 91.09 kB / 363.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.00985, allocations: 43.67 kB / 363.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.009863, allocations: 4 kB / 363.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.009888, allocations: 37.33 kB / 363.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.00989, allocations: 0 / 363.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008168/0.01071, allocations: 405.3 kB / 363.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.01074, allocations: 63.34 kB / 364 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.01099, allocations: 268.3 kB / 364.2 MB, free: 428 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.011, allocations: 29.7 kB / 364.3 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01111, allocations: 191.1 kB / 364.5 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.01116, allocations: 63.44 kB / 364.5 MB, free: 132 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.01123, allocations: 43.36 kB / 364.6 MB, free: 80 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.0114, allocations: 0.4962 MB / 365.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.01147, allocations: 31.97 kB / 365.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.01156, allocations: 57.28 kB / 365.1 MB, free: 15.47 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.0004977/0.01205, allocations: 197.2 kB / 365.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01206, allocations: 0 / 365.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002634/0.01232, allocations: 149.4 kB / 365.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01233, allocations: 8 kB / 365.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01234, allocations: 0 / 365.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01235, allocations: 0 / 365.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.01258, allocations: 63.84 kB / 365.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01258, allocations: 4 kB / 365.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01268, allocations: 16.02 kB / 365.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.0127, allocations: 4 kB / 365.6 MB, free: 15.03 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.000104/0.0128, allocations: 164.5 kB / 365.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.01285, allocations: 27.86 kB / 365.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.0129, allocations: 26.11 kB / 365.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01291, allocations: 4 kB / 365.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01291, allocations: 3.938 kB / 365.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.01292, allocations: 0 / 365.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.01348, allocations: 455.5 kB / 366.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.01349, allocations: 7.984 kB / 366.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.01371, allocations: 47.98 kB / 366.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01371, allocations: 3.938 kB / 366.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.01373, allocations: 4 kB / 366.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01373, allocations: 3.984 kB / 366.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01373, allocations: 0 / 366.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.01408, allocations: 316.3 kB / 366.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.01415, allocations: 27.83 kB / 366.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01418, allocations: 8 kB / 366.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.0143, allocations: 19.94 kB / 366.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.01435, allocations: 11.98 kB / 366.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.01435, allocations: 0 / 366.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.01449, allocations: 201.1 kB / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01449, allocations: 0 / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.01481, allocations: 36 kB / 366.9 MB, free: 13.61 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 9.278e-05/0.01491, allocations: 107.1 kB / 367 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.01514, allocations: 99.47 kB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01514, allocations: 0 / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.01523, allocations: 57.55 kB / 367.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.01562, allocations: 44.28 kB / 367.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.01691, allocations: 0.4948 MB / 367.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.781e-05/0.01698, allocations: 83.97 kB / 367.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.01707, allocations: 17.64 kB / 367.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.01713, allocations: 20.5 kB / 367.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01714, allocations: 0 / 367.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Templates: time 0.00559/0.02272, allocations: 2.074 MB / 369.9 MB, free: 10.58 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.6960805379785597]