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.0007569/0.0007569, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.003119/0.003119, allocations: 156.5 kB / 24.7 MB, free: 8.902 MB / 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 0.8055/0.8055, allocations: 158.6 MB / 186.5 MB, free: 3.055 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.1734/0.1734, allocations: 36.35 MB / 275.1 MB, free: 10.91 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.623e-06/1.623e-06, allocations: 0 / 415.6 MB, free: 5.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.016e-05, allocations: 2.281 kB / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002054/0.002074, allocations: 2.068 MB / 417.7 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.002808, allocations: 0.6045 MB / 418.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.002903, allocations: 7.938 kB / 418.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.00301, allocations: 27.66 kB / 418.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.003182, allocations: 75.34 kB / 418.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.003302, allocations: 55.86 kB / 418.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.003504, allocations: 258.7 kB / 418.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003622, allocations: 36.56 kB / 418.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.003763, allocations: 143.6 kB / 418.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.003869, allocations: 75.72 kB / 418.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.003895, allocations: 16 kB / 418.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.003945, allocations: 16 kB / 419 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.003976, allocations: 47.77 kB / 419 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.004026, allocations: 71.83 kB / 419.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.004225, allocations: 191.3 kB / 419.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004227, allocations: 0 / 419.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004228, allocations: 0 / 419.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004231, allocations: 0 / 419.3 MB, free: 1.895 MB / 346.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.0005691/0.004801, allocations: 484.9 kB / 419.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.004833, allocations: 8.031 kB / 419.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.004903, allocations: 28.75 kB / 419.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.00512, allocations: 196.9 kB / 420 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.005133, allocations: 12.38 kB / 420 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.005163, allocations: 20.36 kB / 420 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.00535, allocations: 147.9 kB / 420.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.00536, allocations: 192 / 420.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.005374, allocations: 12.36 kB / 420.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005379, allocations: 7.875 kB / 420.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.005524, allocations: 99.88 kB / 420.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.006054, allocations: 0.4884 MB / 420.7 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.006409, allocations: 130.5 kB / 420.9 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.006487, allocations: 68.77 kB / 420.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.006498, allocations: 0 / 420.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.006515, allocations: 34.56 kB / 421 MB, free: 56 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.006516, allocations: 0 / 421 MB, free: 56 kB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006861/0.007202, allocations: 484.8 kB / 421.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.007232, allocations: 63.33 kB / 421.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.007379, allocations: 225.8 kB / 421.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.007391, allocations: 25.7 kB / 421.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.007456, allocations: 144.4 kB / 421.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.007492, allocations: 71.42 kB / 422 MB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.007535, allocations: 37.7 kB / 422 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.007613, allocations: 334.8 kB / 422.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.007681, allocations: 47.97 kB / 422.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.007765, allocations: 90.2 kB / 422.5 MB, free: 14.47 MB / 362.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.0006421/0.008407, allocations: 346.2 kB / 422.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008408, allocations: 0 / 422.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001964/0.008604, allocations: 189.4 kB / 423 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.008616, allocations: 4 kB / 423 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.00862, allocations: 0 / 423 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.008631, allocations: 11.97 kB / 423 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.00876, allocations: 59.89 kB / 423.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.008764, allocations: 0 / 423.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.008825, allocations: 15.95 kB / 423.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.008832, allocations: 8 kB / 423.1 MB, free: 13.84 MB / 362.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.07e-05/0.008913, allocations: 137.7 kB / 423.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.008935, allocations: 15.91 kB / 423.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.008969, allocations: 30.12 kB / 423.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.008971, allocations: 4 kB / 423.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.008975, allocations: 3.938 kB / 423.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008979, allocations: 7.922 kB / 423.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.009372, allocations: 445.9 kB / 423.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009374, allocations: 0 / 423.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.009505, allocations: 47.97 kB / 423.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.009508, allocations: 7.938 kB / 423.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.009517, allocations: 4 kB / 423.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.009519, allocations: 7.984 kB / 423.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.009521, allocations: 7.875 kB / 423.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.009819, allocations: 334.2 kB / 424.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.009861, allocations: 31.78 kB / 424.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.009879, allocations: 4 kB / 424.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.009945, allocations: 4 kB / 424.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.00998, allocations: 15.97 kB / 424.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.009986, allocations: 4 kB / 424.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.74e-05/0.01008, allocations: 169.2 kB / 424.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 424.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.01025, allocations: 44 kB / 424.4 MB, free: 12.48 MB / 362.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 6.699e-05/0.01032, allocations: 95.19 kB / 424.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.01052, allocations: 123.9 kB / 424.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.01052, allocations: 0 / 424.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.01059, allocations: 67.91 kB / 424.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01083, allocations: 45.5 kB / 424.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.01143, allocations: 0.5081 MB / 425.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.01151, allocations: 133.9 kB / 425.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.01156, allocations: 24.48 kB / 425.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01156, allocations: 0 / 425.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Templates: time 0.002819/0.01438, allocations: 2.483 MB / 427.8 MB, free: 8.941 MB / 362.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.207136677578092] Failed to read output from testmodel.py, exit status != 0: 0.019105284474790096 0.026196499 0.020356249 Calling exit ...