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.001426/0.001426, 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.001494/0.001494, 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 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 158.6 MB / 186.1 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2945/0.2945, allocations: 36.35 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.673e-06/1.673e-06, allocations: 3.938 kB / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.167e-05, allocations: 5.969 kB / 353 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003538/0.00356, allocations: 2.071 MB / 355.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004771, allocations: 0.5969 MB / 355.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.004906, allocations: 0 / 355.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.005054, allocations: 31.66 kB / 355.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.005332, allocations: 75.34 kB / 355.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.005516, allocations: 63.8 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.005816, allocations: 254.8 kB / 356.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.005961, allocations: 42.92 kB / 356.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.006193, allocations: 143.6 kB / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.006358, allocations: 71.78 kB / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.006398, allocations: 16 kB / 356.4 MB, free: 420 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.006468, allocations: 16 kB / 356.4 MB, free: 404 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.006511, allocations: 47.77 kB / 356.5 MB, free: 356 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.006604, allocations: 71.77 kB / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.006883, allocations: 191.3 kB / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006885, allocations: 0 / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006885, allocations: 0 / 356.7 MB, free: 92 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.006891, allocations: 0 / 356.7 MB, free: 92 kB / 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.001244/0.008135, allocations: 477 kB / 357.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.008175, allocations: 12.03 kB / 357.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.008345, allocations: 36.8 kB / 357.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.008836, allocations: 200.9 kB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.008859, allocations: 8.375 kB / 357.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.008925, allocations: 20.33 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.009413, allocations: 159.8 kB / 357.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.009428, allocations: 192 / 357.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.009456, allocations: 8.375 kB / 357.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.009465, allocations: 3.938 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.009883, allocations: 107.9 kB / 357.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.01118, allocations: 0.4923 MB / 358.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.0116, allocations: 118.6 kB / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.01185, allocations: 68.83 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.01187, allocations: 3.938 kB / 358.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.01191, allocations: 34.56 kB / 358.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01191, allocations: 4 kB / 358.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.00172/0.01364, allocations: 494.2 kB / 358.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.0137, allocations: 59.34 kB / 359 MB, free: 13.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.01411, allocations: 225.8 kB / 359.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.01415, allocations: 29.7 kB / 359.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.01433, allocations: 140.5 kB / 359.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.01442, allocations: 67.44 kB / 359.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01454, allocations: 41.66 kB / 359.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.0148, allocations: 330.8 kB / 359.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.01501, allocations: 51.97 kB / 359.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.01528, allocations: 83.3 kB / 359.9 MB, free: 12.66 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.001821/0.0171, allocations: 338.2 kB / 360.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01711, allocations: 0 / 360.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006454/0.01775, allocations: 205.4 kB / 360.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.01777, allocations: 7.125 kB / 360.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.01778, allocations: 4 kB / 360.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.01781, allocations: 4 kB / 360.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.01825, allocations: 59.84 kB / 360.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.01826, allocations: 3.984 kB / 360.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.01848, allocations: 12 kB / 360.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.0185, allocations: 12.03 kB / 360.6 MB, free: 12.02 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.0001967/0.0187, allocations: 129.8 kB / 360.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.01878, allocations: 23.86 kB / 360.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.01887, allocations: 30.11 kB / 360.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01887, allocations: 0 / 360.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.01888, allocations: 3.938 kB / 360.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.01888, allocations: 3.984 kB / 360.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.01996, allocations: 449.9 kB / 361.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01996, allocations: 0 / 361.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.02034, allocations: 51.97 kB / 361.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.02035, allocations: 7.938 kB / 361.3 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.02037, allocations: 7.984 kB / 361.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02038, allocations: 0 / 361.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.02038, allocations: 3.938 kB / 361.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.02119, allocations: 335.3 kB / 361.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.02131, allocations: 35.81 kB / 361.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.02135, allocations: 4 kB / 361.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.02159, allocations: 12 kB / 361.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.02166, allocations: 11.97 kB / 361.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.02167, allocations: 4 kB / 361.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.02193, allocations: 169.2 kB / 361.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02193, allocations: 0 / 361.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005144/0.02245, allocations: 40 kB / 361.9 MB, free: 10.66 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.0001459/0.02259, allocations: 99.19 kB / 362 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.0231, allocations: 127.9 kB / 362.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0231, allocations: 0 / 362.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.02332, allocations: 70.19 kB / 362.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.02393, allocations: 44.34 kB / 362.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.02537, allocations: 0.4923 MB / 362.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.02557, allocations: 125.9 kB / 362.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.0257, allocations: 29.61 kB / 362.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.02581, allocations: 20.5 kB / 362.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02581, allocations: 0 / 362.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of Templates: time 0.008483/0.03429, allocations: 2.063 MB / 364.9 MB, free: 7.57 MB / 298.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.438880064059049]